// Generated by the protocol buffer compiler. DO NOT EDIT! // source: com/google/protobuf/test_bad_identifiers.proto package com.google.protobuf; public final class TestBadIdentifiersProto { private TestBadIdentifiersProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registry.add(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldCount); registry.add(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldList); } public interface TestMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.TestMessage) com.google.protobuf.MessageOrBuilder { /** * <code>optional string cached_size = 1;</code> */ boolean hasCachedSize_(); /** * <code>optional string cached_size = 1;</code> */ java.lang.String getCachedSize_(); /** * <code>optional string cached_size = 1;</code> */ com.google.protobuf.ByteString getCachedSize_Bytes(); /** * <code>optional string serialized_size = 2;</code> */ boolean hasSerializedSize_(); /** * <code>optional string serialized_size = 2;</code> */ java.lang.String getSerializedSize_(); /** * <code>optional string serialized_size = 2;</code> */ com.google.protobuf.ByteString getSerializedSize_Bytes(); /** * <code>optional string class = 3;</code> */ boolean hasClass_(); /** * <code>optional string class = 3;</code> */ java.lang.String getClass_(); /** * <code>optional string class = 3;</code> */ com.google.protobuf.ByteString getClass_Bytes(); } /** * Protobuf type {@code io_protocol_tests.TestMessage} */ public static final class TestMessage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.TestMessage) TestMessageOrBuilder { // Use TestMessage.newBuilder() to construct. private TestMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestMessage defaultInstance; public static TestMessage getDefaultInstance() { return defaultInstance; } public TestMessage getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; cachedSize__ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; serializedSize__ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; class__ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestMessage.class, com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder.class); } public static com.google.protobuf.Parser<TestMessage> PARSER = new com.google.protobuf.AbstractParser<TestMessage>() { public TestMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestMessage(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<TestMessage> getParserForType() { return PARSER; } private int bitField0_; public static final int CACHED_SIZE_FIELD_NUMBER = 1; private java.lang.Object cachedSize__; /** * <code>optional string cached_size = 1;</code> */ public boolean hasCachedSize_() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string cached_size = 1;</code> */ public java.lang.String getCachedSize_() { java.lang.Object ref = cachedSize__; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { cachedSize__ = s; } return s; } } /** * <code>optional string cached_size = 1;</code> */ public com.google.protobuf.ByteString getCachedSize_Bytes() { java.lang.Object ref = cachedSize__; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cachedSize__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIALIZED_SIZE_FIELD_NUMBER = 2; private java.lang.Object serializedSize__; /** * <code>optional string serialized_size = 2;</code> */ public boolean hasSerializedSize_() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string serialized_size = 2;</code> */ public java.lang.String getSerializedSize_() { java.lang.Object ref = serializedSize__; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { serializedSize__ = s; } return s; } } /** * <code>optional string serialized_size = 2;</code> */ public com.google.protobuf.ByteString getSerializedSize_Bytes() { java.lang.Object ref = serializedSize__; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializedSize__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLASS_FIELD_NUMBER = 3; private java.lang.Object class__; /** * <code>optional string class = 3;</code> */ public boolean hasClass_() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string class = 3;</code> */ public java.lang.String getClass_() { java.lang.Object ref = class__; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { class__ = s; } return s; } } /** * <code>optional string class = 3;</code> */ public com.google.protobuf.ByteString getClass_Bytes() { java.lang.Object ref = class__; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); class__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { cachedSize__ = ""; serializedSize__ = ""; class__ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getCachedSize_Bytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getSerializedSize_Bytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getClass_Bytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getCachedSize_Bytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getSerializedSize_Bytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getClass_Bytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.TestMessage)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.TestMessage other = (com.google.protobuf.TestBadIdentifiersProto.TestMessage) obj; boolean result = true; result = result && (hasCachedSize_() == other.hasCachedSize_()); if (hasCachedSize_()) { result = result && getCachedSize_() .equals(other.getCachedSize_()); } result = result && (hasSerializedSize_() == other.hasSerializedSize_()); if (hasSerializedSize_()) { result = result && getSerializedSize_() .equals(other.getSerializedSize_()); } result = result && (hasClass_() == other.hasClass_()); if (hasClass_()) { result = result && getClass_() .equals(other.getClass_()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasCachedSize_()) { hash = (37 * hash) + CACHED_SIZE_FIELD_NUMBER; hash = (53 * hash) + getCachedSize_().hashCode(); } if (hasSerializedSize_()) { hash = (37 * hash) + SERIALIZED_SIZE_FIELD_NUMBER; hash = (53 * hash) + getSerializedSize_().hashCode(); } if (hasClass_()) { hash = (37 * hash) + CLASS_FIELD_NUMBER; hash = (53 * hash) + getClass_().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.TestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.TestMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.TestMessage) com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestMessage.class, com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.TestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); cachedSize__ = ""; bitField0_ = (bitField0_ & ~0x00000001); serializedSize__ = ""; bitField0_ = (bitField0_ & ~0x00000002); class__ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestMessage_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.TestMessage getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.TestMessage build() { com.google.protobuf.TestBadIdentifiersProto.TestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.TestMessage buildPartial() { com.google.protobuf.TestBadIdentifiersProto.TestMessage result = new com.google.protobuf.TestBadIdentifiersProto.TestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.cachedSize__ = cachedSize__; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.serializedSize__ = serializedSize__; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.class__ = class__; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.TestMessage) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.TestMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.TestMessage other) { if (other == com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance()) return this; if (other.hasCachedSize_()) { bitField0_ |= 0x00000001; cachedSize__ = other.cachedSize__; onChanged(); } if (other.hasSerializedSize_()) { bitField0_ |= 0x00000002; serializedSize__ = other.serializedSize__; onChanged(); } if (other.hasClass_()) { bitField0_ |= 0x00000004; class__ = other.class__; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.TestMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.TestMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object cachedSize__ = ""; /** * <code>optional string cached_size = 1;</code> */ public boolean hasCachedSize_() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string cached_size = 1;</code> */ public java.lang.String getCachedSize_() { java.lang.Object ref = cachedSize__; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { cachedSize__ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string cached_size = 1;</code> */ public com.google.protobuf.ByteString getCachedSize_Bytes() { java.lang.Object ref = cachedSize__; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cachedSize__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string cached_size = 1;</code> */ public Builder setCachedSize_( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cachedSize__ = value; onChanged(); return this; } /** * <code>optional string cached_size = 1;</code> */ public Builder clearCachedSize_() { bitField0_ = (bitField0_ & ~0x00000001); cachedSize__ = getDefaultInstance().getCachedSize_(); onChanged(); return this; } /** * <code>optional string cached_size = 1;</code> */ public Builder setCachedSize_Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; cachedSize__ = value; onChanged(); return this; } private java.lang.Object serializedSize__ = ""; /** * <code>optional string serialized_size = 2;</code> */ public boolean hasSerializedSize_() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string serialized_size = 2;</code> */ public java.lang.String getSerializedSize_() { java.lang.Object ref = serializedSize__; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { serializedSize__ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string serialized_size = 2;</code> */ public com.google.protobuf.ByteString getSerializedSize_Bytes() { java.lang.Object ref = serializedSize__; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializedSize__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string serialized_size = 2;</code> */ public Builder setSerializedSize_( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serializedSize__ = value; onChanged(); return this; } /** * <code>optional string serialized_size = 2;</code> */ public Builder clearSerializedSize_() { bitField0_ = (bitField0_ & ~0x00000002); serializedSize__ = getDefaultInstance().getSerializedSize_(); onChanged(); return this; } /** * <code>optional string serialized_size = 2;</code> */ public Builder setSerializedSize_Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serializedSize__ = value; onChanged(); return this; } private java.lang.Object class__ = ""; /** * <code>optional string class = 3;</code> */ public boolean hasClass_() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string class = 3;</code> */ public java.lang.String getClass_() { java.lang.Object ref = class__; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { class__ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string class = 3;</code> */ public com.google.protobuf.ByteString getClass_Bytes() { java.lang.Object ref = class__; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); class__ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string class = 3;</code> */ public Builder setClass_( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; class__ = value; onChanged(); return this; } /** * <code>optional string class = 3;</code> */ public Builder clearClass_() { bitField0_ = (bitField0_ & ~0x00000004); class__ = getDefaultInstance().getClass_(); onChanged(); return this; } /** * <code>optional string class = 3;</code> */ public Builder setClass_Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; class__ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.TestMessage) } static { defaultInstance = new TestMessage(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.TestMessage) } public interface DescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Descriptor) com.google.protobuf.MessageOrBuilder { /** * <code>optional string descriptor = 1;</code> */ boolean hasDescriptor(); /** * <code>optional string descriptor = 1;</code> */ java.lang.String getDescriptor(); /** * <code>optional string descriptor = 1;</code> */ com.google.protobuf.ByteString getDescriptorBytes(); /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ boolean hasNestedDescriptor(); /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor getNestedDescriptor(); /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder getNestedDescriptorOrBuilder(); } /** * Protobuf type {@code io_protocol_tests.Descriptor} */ public static final class Descriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Descriptor) DescriptorOrBuilder { // Use Descriptor.newBuilder() to construct. private Descriptor(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Descriptor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Descriptor defaultInstance; public static Descriptor getDefaultInstance() { return defaultInstance; } public Descriptor getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Descriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; descriptor_ = bs; break; } case 18: { com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = nestedDescriptor_.toBuilder(); } nestedDescriptor_ = input.readMessage(com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nestedDescriptor_); nestedDescriptor_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Descriptor.class, com.google.protobuf.TestBadIdentifiersProto.Descriptor.Builder.class); } public static com.google.protobuf.Parser<Descriptor> PARSER = new com.google.protobuf.AbstractParser<Descriptor>() { public Descriptor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Descriptor(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Descriptor> getParserForType() { return PARSER; } /** * Protobuf enum {@code io_protocol_tests.Descriptor.NestedEnum} */ public enum NestedEnum implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FOO = 1;</code> */ FOO(0, 1), ; /** * <code>FOO = 1;</code> */ public static final int FOO_VALUE = 1; public final int getNumber() { return value; } public static NestedEnum valueOf(int value) { switch (value) { case 1: return FOO; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<NestedEnum> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<NestedEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<NestedEnum>() { public NestedEnum findValueByNumber(int number) { return NestedEnum.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.Descriptor.getDefaultInstance().getDescriptorForType().getEnumTypes().get(0); } private static final NestedEnum[] VALUES = values(); public static NestedEnum valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private NestedEnum(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:io_protocol_tests.Descriptor.NestedEnum) } public interface NestedDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Descriptor.NestedDescriptor) com.google.protobuf.MessageOrBuilder { /** * <code>optional string descriptor = 1;</code> */ boolean hasDescriptor(); /** * <code>optional string descriptor = 1;</code> */ java.lang.String getDescriptor(); /** * <code>optional string descriptor = 1;</code> */ com.google.protobuf.ByteString getDescriptorBytes(); } /** * Protobuf type {@code io_protocol_tests.Descriptor.NestedDescriptor} */ public static final class NestedDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Descriptor.NestedDescriptor) NestedDescriptorOrBuilder { // Use NestedDescriptor.newBuilder() to construct. private NestedDescriptor(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private NestedDescriptor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final NestedDescriptor defaultInstance; public static NestedDescriptor getDefaultInstance() { return defaultInstance; } public NestedDescriptor getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NestedDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; descriptor_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_NestedDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.class, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder.class); } public static com.google.protobuf.Parser<NestedDescriptor> PARSER = new com.google.protobuf.AbstractParser<NestedDescriptor>() { public NestedDescriptor parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NestedDescriptor(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<NestedDescriptor> getParserForType() { return PARSER; } private int bitField0_; public static final int DESCRIPTOR_FIELD_NUMBER = 1; private java.lang.Object descriptor_; /** * <code>optional string descriptor = 1;</code> */ public boolean hasDescriptor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string descriptor = 1;</code> */ public java.lang.String getDescriptor() { java.lang.Object ref = descriptor_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { descriptor_ = s; } return s; } } /** * <code>optional string descriptor = 1;</code> */ public com.google.protobuf.ByteString getDescriptorBytes() { java.lang.Object ref = descriptor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); descriptor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { descriptor_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getDescriptorBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getDescriptorBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor other = (com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor) obj; boolean result = true; result = result && (hasDescriptor() == other.hasDescriptor()); if (hasDescriptor()) { result = result && getDescriptor() .equals(other.getDescriptor()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDescriptor()) { hash = (37 * hash) + DESCRIPTOR_FIELD_NUMBER; hash = (53 * hash) + getDescriptor().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Descriptor.NestedDescriptor} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Descriptor.NestedDescriptor) com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder { protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_NestedDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.class, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); descriptor_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_NestedDescriptor_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor build() { com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor result = new com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.descriptor_ = descriptor_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance()) return this; if (other.hasDescriptor()) { bitField0_ |= 0x00000001; descriptor_ = other.descriptor_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object descriptor_ = ""; /** * <code>optional string descriptor = 1;</code> */ public boolean hasDescriptor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string descriptor = 1;</code> */ public java.lang.String getDescriptor() { java.lang.Object ref = descriptor_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { descriptor_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string descriptor = 1;</code> */ public com.google.protobuf.ByteString getDescriptorBytes() { java.lang.Object ref = descriptor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); descriptor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string descriptor = 1;</code> */ public Builder setDescriptor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; descriptor_ = value; onChanged(); return this; } /** * <code>optional string descriptor = 1;</code> */ public Builder clearDescriptor() { bitField0_ = (bitField0_ & ~0x00000001); descriptor_ = getDefaultInstance().getDescriptor(); onChanged(); return this; } /** * <code>optional string descriptor = 1;</code> */ public Builder setDescriptorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; descriptor_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Descriptor.NestedDescriptor) } static { defaultInstance = new NestedDescriptor(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Descriptor.NestedDescriptor) } private int bitField0_; public static final int DESCRIPTOR_FIELD_NUMBER = 1; private java.lang.Object descriptor_; /** * <code>optional string descriptor = 1;</code> */ public boolean hasDescriptor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string descriptor = 1;</code> */ public java.lang.String getDescriptor() { java.lang.Object ref = descriptor_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { descriptor_ = s; } return s; } } /** * <code>optional string descriptor = 1;</code> */ public com.google.protobuf.ByteString getDescriptorBytes() { java.lang.Object ref = descriptor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); descriptor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NESTED_DESCRIPTOR_FIELD_NUMBER = 2; private com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor nestedDescriptor_; /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public boolean hasNestedDescriptor() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor getNestedDescriptor() { return nestedDescriptor_; } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder getNestedDescriptorOrBuilder() { return nestedDescriptor_; } private void initFields() { descriptor_ = ""; nestedDescriptor_ = com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getDescriptorBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, nestedDescriptor_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getDescriptorBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, nestedDescriptor_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Descriptor)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Descriptor other = (com.google.protobuf.TestBadIdentifiersProto.Descriptor) obj; boolean result = true; result = result && (hasDescriptor() == other.hasDescriptor()); if (hasDescriptor()) { result = result && getDescriptor() .equals(other.getDescriptor()); } result = result && (hasNestedDescriptor() == other.hasNestedDescriptor()); if (hasNestedDescriptor()) { result = result && getNestedDescriptor() .equals(other.getNestedDescriptor()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDescriptor()) { hash = (37 * hash) + DESCRIPTOR_FIELD_NUMBER; hash = (53 * hash) + getDescriptor().hashCode(); } if (hasNestedDescriptor()) { hash = (37 * hash) + NESTED_DESCRIPTOR_FIELD_NUMBER; hash = (53 * hash) + getNestedDescriptor().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Descriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Descriptor prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Descriptor} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Descriptor) com.google.protobuf.TestBadIdentifiersProto.DescriptorOrBuilder { protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Descriptor.class, com.google.protobuf.TestBadIdentifiersProto.Descriptor.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Descriptor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getNestedDescriptorFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); descriptor_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (nestedDescriptorBuilder_ == null) { nestedDescriptor_ = com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance(); } else { nestedDescriptorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Descriptor_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Descriptor getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Descriptor.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Descriptor build() { com.google.protobuf.TestBadIdentifiersProto.Descriptor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Descriptor buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Descriptor result = new com.google.protobuf.TestBadIdentifiersProto.Descriptor(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.descriptor_ = descriptor_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (nestedDescriptorBuilder_ == null) { result.nestedDescriptor_ = nestedDescriptor_; } else { result.nestedDescriptor_ = nestedDescriptorBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Descriptor) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Descriptor)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Descriptor other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Descriptor.getDefaultInstance()) return this; if (other.hasDescriptor()) { bitField0_ |= 0x00000001; descriptor_ = other.descriptor_; onChanged(); } if (other.hasNestedDescriptor()) { mergeNestedDescriptor(other.getNestedDescriptor()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Descriptor parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Descriptor) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object descriptor_ = ""; /** * <code>optional string descriptor = 1;</code> */ public boolean hasDescriptor() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string descriptor = 1;</code> */ public java.lang.String getDescriptor() { java.lang.Object ref = descriptor_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { descriptor_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string descriptor = 1;</code> */ public com.google.protobuf.ByteString getDescriptorBytes() { java.lang.Object ref = descriptor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); descriptor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string descriptor = 1;</code> */ public Builder setDescriptor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; descriptor_ = value; onChanged(); return this; } /** * <code>optional string descriptor = 1;</code> */ public Builder clearDescriptor() { bitField0_ = (bitField0_ & ~0x00000001); descriptor_ = getDefaultInstance().getDescriptor(); onChanged(); return this; } /** * <code>optional string descriptor = 1;</code> */ public Builder setDescriptorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; descriptor_ = value; onChanged(); return this; } private com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor nestedDescriptor_ = com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder> nestedDescriptorBuilder_; /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public boolean hasNestedDescriptor() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor getNestedDescriptor() { if (nestedDescriptorBuilder_ == null) { return nestedDescriptor_; } else { return nestedDescriptorBuilder_.getMessage(); } } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public Builder setNestedDescriptor(com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor value) { if (nestedDescriptorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nestedDescriptor_ = value; onChanged(); } else { nestedDescriptorBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public Builder setNestedDescriptor( com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder builderForValue) { if (nestedDescriptorBuilder_ == null) { nestedDescriptor_ = builderForValue.build(); onChanged(); } else { nestedDescriptorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public Builder mergeNestedDescriptor(com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor value) { if (nestedDescriptorBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && nestedDescriptor_ != com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance()) { nestedDescriptor_ = com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.newBuilder(nestedDescriptor_).mergeFrom(value).buildPartial(); } else { nestedDescriptor_ = value; } onChanged(); } else { nestedDescriptorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public Builder clearNestedDescriptor() { if (nestedDescriptorBuilder_ == null) { nestedDescriptor_ = com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.getDefaultInstance(); onChanged(); } else { nestedDescriptorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder getNestedDescriptorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNestedDescriptorFieldBuilder().getBuilder(); } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder getNestedDescriptorOrBuilder() { if (nestedDescriptorBuilder_ != null) { return nestedDescriptorBuilder_.getMessageOrBuilder(); } else { return nestedDescriptor_; } } /** * <code>optional .io_protocol_tests.Descriptor.NestedDescriptor nested_descriptor = 2;</code> */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder> getNestedDescriptorFieldBuilder() { if (nestedDescriptorBuilder_ == null) { nestedDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptor.Builder, com.google.protobuf.TestBadIdentifiersProto.Descriptor.NestedDescriptorOrBuilder>( getNestedDescriptor(), getParentForChildren(), isClean()); nestedDescriptor_ = null; } return nestedDescriptorBuilder_; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Descriptor) } static { defaultInstance = new Descriptor(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Descriptor) } public interface ParserOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Parser) com.google.protobuf.MessageOrBuilder { /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ boolean hasParser(); /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum getParser(); } /** * Protobuf type {@code io_protocol_tests.Parser} */ public static final class Parser extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Parser) ParserOrBuilder { // Use Parser.newBuilder() to construct. private Parser(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Parser(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Parser defaultInstance; public static Parser getDefaultInstance() { return defaultInstance; } public Parser getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Parser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum value = com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; parser_ = value; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Parser_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Parser_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Parser.class, com.google.protobuf.TestBadIdentifiersProto.Parser.Builder.class); } public static com.google.protobuf.Parser<Parser> PARSER = new com.google.protobuf.AbstractParser<Parser>() { public Parser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Parser(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Parser> getParserForType() { return PARSER; } /** * Protobuf enum {@code io_protocol_tests.Parser.ParserEnum} */ public enum ParserEnum implements com.google.protobuf.ProtocolMessageEnum { /** * <code>PARSER = 1;</code> */ PARSER(0, 1), ; /** * <code>PARSER = 1;</code> */ public static final int PARSER_VALUE = 1; public final int getNumber() { return value; } public static ParserEnum valueOf(int value) { switch (value) { case 1: return PARSER; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<ParserEnum> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<ParserEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<ParserEnum>() { public ParserEnum findValueByNumber(int number) { return ParserEnum.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.Parser.getDescriptor().getEnumTypes().get(0); } private static final ParserEnum[] VALUES = values(); public static ParserEnum valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private ParserEnum(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:io_protocol_tests.Parser.ParserEnum) } private int bitField0_; public static final int PARSER_FIELD_NUMBER = 1; private com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum parser_; /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public boolean hasParser() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum getParser() { return parser_; } private void initFields() { parser_ = com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum.PARSER; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, parser_.getNumber()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, parser_.getNumber()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Parser)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Parser other = (com.google.protobuf.TestBadIdentifiersProto.Parser) obj; boolean result = true; result = result && (hasParser() == other.hasParser()); if (hasParser()) { result = result && (getParser() == other.getParser()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasParser()) { hash = (37 * hash) + PARSER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( getParser()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Parser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Parser prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Parser} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Parser) com.google.protobuf.TestBadIdentifiersProto.ParserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Parser_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Parser_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Parser.class, com.google.protobuf.TestBadIdentifiersProto.Parser.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Parser.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); parser_ = com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum.PARSER; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Parser_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Parser getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Parser.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Parser build() { com.google.protobuf.TestBadIdentifiersProto.Parser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Parser buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Parser result = new com.google.protobuf.TestBadIdentifiersProto.Parser(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.parser_ = parser_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Parser) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Parser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Parser other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Parser.getDefaultInstance()) return this; if (other.hasParser()) { setParser(other.getParser()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Parser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Parser) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum parser_ = com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum.PARSER; /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public boolean hasParser() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum getParser() { return parser_; } /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public Builder setParser(com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; parser_ = value; onChanged(); return this; } /** * <code>optional .io_protocol_tests.Parser.ParserEnum parser = 1;</code> */ public Builder clearParser() { bitField0_ = (bitField0_ & ~0x00000001); parser_ = com.google.protobuf.TestBadIdentifiersProto.Parser.ParserEnum.PARSER; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Parser) } static { defaultInstance = new Parser(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Parser) } public interface DeprecatedOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Deprecated) com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated boolean hasField1(); /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated int getField1(); /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated boolean hasField2(); /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum getField2(); /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated boolean hasField3(); /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated com.google.protobuf.TestBadIdentifiersProto.TestMessage getField3(); /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder getField3OrBuilder(); } /** * Protobuf type {@code io_protocol_tests.Deprecated} */ public static final class Deprecated extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Deprecated) DeprecatedOrBuilder { // Use Deprecated.newBuilder() to construct. private Deprecated(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Deprecated(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Deprecated defaultInstance; public static Deprecated getDefaultInstance() { return defaultInstance; } public Deprecated getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Deprecated( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; field1_ = input.readInt32(); break; } case 16: { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; field2_ = value; } break; } case 26: { com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = field3_.toBuilder(); } field3_ = input.readMessage(com.google.protobuf.TestBadIdentifiersProto.TestMessage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(field3_); field3_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Deprecated_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Deprecated_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Deprecated.class, com.google.protobuf.TestBadIdentifiersProto.Deprecated.Builder.class); } public static com.google.protobuf.Parser<Deprecated> PARSER = new com.google.protobuf.AbstractParser<Deprecated>() { public Deprecated parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Deprecated(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Deprecated> getParserForType() { return PARSER; } /** * Protobuf enum {@code io_protocol_tests.Deprecated.TestEnum} */ public enum TestEnum implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FOO = 1;</code> */ FOO(0, 1), /** * <code>BAR = 2 [deprecated = true];</code> * * <pre> * Test if @Deprecated annotation conflicts with Deprecated message name. * </pre> */ @java.lang.Deprecated BAR(1, 2), ; /** * <code>FOO = 1;</code> */ public static final int FOO_VALUE = 1; /** * <code>BAR = 2 [deprecated = true];</code> * * <pre> * Test if @Deprecated annotation conflicts with Deprecated message name. * </pre> */ public static final int BAR_VALUE = 2; public final int getNumber() { return value; } public static TestEnum valueOf(int value) { switch (value) { case 1: return FOO; case 2: return BAR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<TestEnum> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<TestEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<TestEnum>() { public TestEnum findValueByNumber(int number) { return TestEnum.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.Deprecated.getDescriptor().getEnumTypes().get(0); } private static final TestEnum[] VALUES = values(); public static TestEnum valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private TestEnum(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:io_protocol_tests.Deprecated.TestEnum) } private int bitField0_; public static final int FIELD1_FIELD_NUMBER = 1; private int field1_; /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public int getField1() { return field1_; } public static final int FIELD2_FIELD_NUMBER = 2; private com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum field2_; /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField2() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum getField2() { return field2_; } public static final int FIELD3_FIELD_NUMBER = 3; private com.google.protobuf.TestBadIdentifiersProto.TestMessage field3_; /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField3() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.TestMessage getField3() { return field3_; } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder getField3OrBuilder() { return field3_; } private void initFields() { field1_ = 0; field2_ = com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum.FOO; field3_ = com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, field1_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, field2_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, field3_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, field1_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, field2_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, field3_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Deprecated)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Deprecated other = (com.google.protobuf.TestBadIdentifiersProto.Deprecated) obj; boolean result = true; result = result && (hasField1() == other.hasField1()); if (hasField1()) { result = result && (getField1() == other.getField1()); } result = result && (hasField2() == other.hasField2()); if (hasField2()) { result = result && (getField2() == other.getField2()); } result = result && (hasField3() == other.hasField3()); if (hasField3()) { result = result && getField3() .equals(other.getField3()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasField1()) { hash = (37 * hash) + FIELD1_FIELD_NUMBER; hash = (53 * hash) + getField1(); } if (hasField2()) { hash = (37 * hash) + FIELD2_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( getField2()); } if (hasField3()) { hash = (37 * hash) + FIELD3_FIELD_NUMBER; hash = (53 * hash) + getField3().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Deprecated parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Deprecated prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Deprecated} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Deprecated) com.google.protobuf.TestBadIdentifiersProto.DeprecatedOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Deprecated_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Deprecated_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Deprecated.class, com.google.protobuf.TestBadIdentifiersProto.Deprecated.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Deprecated.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getField3FieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); field1_ = 0; bitField0_ = (bitField0_ & ~0x00000001); field2_ = com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum.FOO; bitField0_ = (bitField0_ & ~0x00000002); if (field3Builder_ == null) { field3_ = com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); } else { field3Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Deprecated_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Deprecated getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Deprecated.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Deprecated build() { com.google.protobuf.TestBadIdentifiersProto.Deprecated result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Deprecated buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Deprecated result = new com.google.protobuf.TestBadIdentifiersProto.Deprecated(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.field1_ = field1_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.field2_ = field2_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (field3Builder_ == null) { result.field3_ = field3_; } else { result.field3_ = field3Builder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Deprecated) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Deprecated)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Deprecated other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Deprecated.getDefaultInstance()) return this; if (other.hasField1()) { setField1(other.getField1()); } if (other.hasField2()) { setField2(other.getField2()); } if (other.hasField3()) { mergeField3(other.getField3()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Deprecated parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Deprecated) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int field1_ ; /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField1() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public int getField1() { return field1_; } /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public Builder setField1(int value) { bitField0_ |= 0x00000001; field1_ = value; onChanged(); return this; } /** * <code>optional int32 field1 = 1 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearField1() { bitField0_ = (bitField0_ & ~0x00000001); field1_ = 0; onChanged(); return this; } private com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum field2_ = com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum.FOO; /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField2() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum getField2() { return field2_; } /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public Builder setField2(com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; field2_ = value; onChanged(); return this; } /** * <code>optional .io_protocol_tests.Deprecated.TestEnum field2 = 2 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearField2() { bitField0_ = (bitField0_ & ~0x00000002); field2_ = com.google.protobuf.TestBadIdentifiersProto.Deprecated.TestEnum.FOO; onChanged(); return this; } private com.google.protobuf.TestBadIdentifiersProto.TestMessage field3_ = com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder> field3Builder_; /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public boolean hasField3() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.TestMessage getField3() { if (field3Builder_ == null) { return field3_; } else { return field3Builder_.getMessage(); } } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public Builder setField3(com.google.protobuf.TestBadIdentifiersProto.TestMessage value) { if (field3Builder_ == null) { if (value == null) { throw new NullPointerException(); } field3_ = value; onChanged(); } else { field3Builder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public Builder setField3( com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder builderForValue) { if (field3Builder_ == null) { field3_ = builderForValue.build(); onChanged(); } else { field3Builder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public Builder mergeField3(com.google.protobuf.TestBadIdentifiersProto.TestMessage value) { if (field3Builder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && field3_ != com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance()) { field3_ = com.google.protobuf.TestBadIdentifiersProto.TestMessage.newBuilder(field3_).mergeFrom(value).buildPartial(); } else { field3_ = value; } onChanged(); } else { field3Builder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearField3() { if (field3Builder_ == null) { field3_ = com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); onChanged(); } else { field3Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder getField3Builder() { bitField0_ |= 0x00000004; onChanged(); return getField3FieldBuilder().getBuilder(); } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ @java.lang.Deprecated public com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder getField3OrBuilder() { if (field3Builder_ != null) { return field3Builder_.getMessageOrBuilder(); } else { return field3_; } } /** * <code>optional .io_protocol_tests.TestMessage field3 = 3 [deprecated = true];</code> */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder> getField3FieldBuilder() { if (field3Builder_ == null) { field3Builder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestMessageOrBuilder>( getField3(), getParentForChildren(), isClean()); field3_ = null; } return field3Builder_; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Deprecated) } static { defaultInstance = new Deprecated(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Deprecated) } public interface OverrideOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Override) com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 override = 1;</code> */ boolean hasOverride(); /** * <code>optional int32 override = 1;</code> */ int getOverride(); } /** * Protobuf type {@code io_protocol_tests.Override} */ public static final class Override extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Override) OverrideOrBuilder { // Use Override.newBuilder() to construct. private Override(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Override(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Override defaultInstance; public static Override getDefaultInstance() { return defaultInstance; } public Override getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Override( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; override_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Override_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Override_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Override.class, com.google.protobuf.TestBadIdentifiersProto.Override.Builder.class); } public static com.google.protobuf.Parser<Override> PARSER = new com.google.protobuf.AbstractParser<Override>() { public Override parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Override(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Override> getParserForType() { return PARSER; } private int bitField0_; public static final int OVERRIDE_FIELD_NUMBER = 1; private int override_; /** * <code>optional int32 override = 1;</code> */ public boolean hasOverride() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 override = 1;</code> */ public int getOverride() { return override_; } private void initFields() { override_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, override_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, override_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Override)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Override other = (com.google.protobuf.TestBadIdentifiersProto.Override) obj; boolean result = true; result = result && (hasOverride() == other.hasOverride()); if (hasOverride()) { result = result && (getOverride() == other.getOverride()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasOverride()) { hash = (37 * hash) + OVERRIDE_FIELD_NUMBER; hash = (53 * hash) + getOverride(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Override parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Override prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Override} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Override) com.google.protobuf.TestBadIdentifiersProto.OverrideOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Override_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Override_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Override.class, com.google.protobuf.TestBadIdentifiersProto.Override.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Override.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); override_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Override_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Override getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Override.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Override build() { com.google.protobuf.TestBadIdentifiersProto.Override result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Override buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Override result = new com.google.protobuf.TestBadIdentifiersProto.Override(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.override_ = override_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Override) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Override)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Override other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Override.getDefaultInstance()) return this; if (other.hasOverride()) { setOverride(other.getOverride()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Override parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Override) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int override_ ; /** * <code>optional int32 override = 1;</code> */ public boolean hasOverride() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 override = 1;</code> */ public int getOverride() { return override_; } /** * <code>optional int32 override = 1;</code> */ public Builder setOverride(int value) { bitField0_ |= 0x00000001; override_ = value; onChanged(); return this; } /** * <code>optional int32 override = 1;</code> */ public Builder clearOverride() { bitField0_ = (bitField0_ & ~0x00000001); override_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Override) } static { defaultInstance = new Override(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Override) } public interface ObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Object) com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 object = 1;</code> */ boolean hasObject(); /** * <code>optional int32 object = 1;</code> */ int getObject(); /** * <code>optional string string_object = 2;</code> */ boolean hasStringObject(); /** * <code>optional string string_object = 2;</code> */ java.lang.String getStringObject(); /** * <code>optional string string_object = 2;</code> */ com.google.protobuf.ByteString getStringObjectBytes(); } /** * Protobuf type {@code io_protocol_tests.Object} */ public static final class Object extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Object) ObjectOrBuilder { // Use Object.newBuilder() to construct. private Object(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Object(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Object defaultInstance; public static Object getDefaultInstance() { return defaultInstance; } public Object getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Object( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; object_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; stringObject_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Object_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Object_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Object.class, com.google.protobuf.TestBadIdentifiersProto.Object.Builder.class); } public static com.google.protobuf.Parser<Object> PARSER = new com.google.protobuf.AbstractParser<Object>() { public Object parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Object(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Object> getParserForType() { return PARSER; } private int bitField0_; public static final int OBJECT_FIELD_NUMBER = 1; private int object_; /** * <code>optional int32 object = 1;</code> */ public boolean hasObject() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 object = 1;</code> */ public int getObject() { return object_; } public static final int STRING_OBJECT_FIELD_NUMBER = 2; private java.lang.Object stringObject_; /** * <code>optional string string_object = 2;</code> */ public boolean hasStringObject() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string string_object = 2;</code> */ public java.lang.String getStringObject() { java.lang.Object ref = stringObject_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringObject_ = s; } return s; } } /** * <code>optional string string_object = 2;</code> */ public com.google.protobuf.ByteString getStringObjectBytes() { java.lang.Object ref = stringObject_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringObject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { object_ = 0; stringObject_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, object_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStringObjectBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, object_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStringObjectBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Object)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Object other = (com.google.protobuf.TestBadIdentifiersProto.Object) obj; boolean result = true; result = result && (hasObject() == other.hasObject()); if (hasObject()) { result = result && (getObject() == other.getObject()); } result = result && (hasStringObject() == other.hasStringObject()); if (hasStringObject()) { result = result && getStringObject() .equals(other.getStringObject()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasObject()) { hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject(); } if (hasStringObject()) { hash = (37 * hash) + STRING_OBJECT_FIELD_NUMBER; hash = (53 * hash) + getStringObject().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Object parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Object prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Object} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Object) com.google.protobuf.TestBadIdentifiersProto.ObjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Object_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Object_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Object.class, com.google.protobuf.TestBadIdentifiersProto.Object.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Object.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); object_ = 0; bitField0_ = (bitField0_ & ~0x00000001); stringObject_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Object_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Object getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Object.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Object build() { com.google.protobuf.TestBadIdentifiersProto.Object result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Object buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Object result = new com.google.protobuf.TestBadIdentifiersProto.Object(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.object_ = object_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.stringObject_ = stringObject_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Object) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Object)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Object other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Object.getDefaultInstance()) return this; if (other.hasObject()) { setObject(other.getObject()); } if (other.hasStringObject()) { bitField0_ |= 0x00000002; stringObject_ = other.stringObject_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Object parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Object) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int object_ ; /** * <code>optional int32 object = 1;</code> */ public boolean hasObject() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 object = 1;</code> */ public int getObject() { return object_; } /** * <code>optional int32 object = 1;</code> */ public Builder setObject(int value) { bitField0_ |= 0x00000001; object_ = value; onChanged(); return this; } /** * <code>optional int32 object = 1;</code> */ public Builder clearObject() { bitField0_ = (bitField0_ & ~0x00000001); object_ = 0; onChanged(); return this; } private java.lang.Object stringObject_ = ""; /** * <code>optional string string_object = 2;</code> */ public boolean hasStringObject() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string string_object = 2;</code> */ public java.lang.String getStringObject() { java.lang.Object ref = stringObject_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringObject_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string string_object = 2;</code> */ public com.google.protobuf.ByteString getStringObjectBytes() { java.lang.Object ref = stringObject_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringObject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string string_object = 2;</code> */ public Builder setStringObject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stringObject_ = value; onChanged(); return this; } /** * <code>optional string string_object = 2;</code> */ public Builder clearStringObject() { bitField0_ = (bitField0_ & ~0x00000002); stringObject_ = getDefaultInstance().getStringObject(); onChanged(); return this; } /** * <code>optional string string_object = 2;</code> */ public Builder setStringObjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stringObject_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Object) } static { defaultInstance = new Object(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Object) } public interface StringOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.String) com.google.protobuf.MessageOrBuilder { /** * <code>optional string string = 1;</code> */ boolean hasString(); /** * <code>optional string string = 1;</code> */ java.lang.String getString(); /** * <code>optional string string = 1;</code> */ com.google.protobuf.ByteString getStringBytes(); } /** * Protobuf type {@code io_protocol_tests.String} */ public static final class String extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.String) StringOrBuilder { // Use String.newBuilder() to construct. private String(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private String(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final String defaultInstance; public static String getDefaultInstance() { return defaultInstance; } public String getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private String( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; string_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_String_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_String_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.String.class, com.google.protobuf.TestBadIdentifiersProto.String.Builder.class); } public static com.google.protobuf.Parser<String> PARSER = new com.google.protobuf.AbstractParser<String>() { public String parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new String(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<String> getParserForType() { return PARSER; } private int bitField0_; public static final int STRING_FIELD_NUMBER = 1; private java.lang.Object string_; /** * <code>optional string string = 1;</code> */ public boolean hasString() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string string = 1;</code> */ public java.lang.String getString() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { string_ = s; } return s; } } /** * <code>optional string string = 1;</code> */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { string_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStringBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStringBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.String)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.String other = (com.google.protobuf.TestBadIdentifiersProto.String) obj; boolean result = true; result = result && (hasString() == other.hasString()); if (hasString()) { result = result && getString() .equals(other.getString()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasString()) { hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.String parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.String parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.String parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.String prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.String} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.String) com.google.protobuf.TestBadIdentifiersProto.StringOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_String_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_String_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.String.class, com.google.protobuf.TestBadIdentifiersProto.String.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.String.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); string_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_String_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.String getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.String.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.String build() { com.google.protobuf.TestBadIdentifiersProto.String result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.String buildPartial() { com.google.protobuf.TestBadIdentifiersProto.String result = new com.google.protobuf.TestBadIdentifiersProto.String(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.string_ = string_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.String) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.String)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.String other) { if (other == com.google.protobuf.TestBadIdentifiersProto.String.getDefaultInstance()) return this; if (other.hasString()) { bitField0_ |= 0x00000001; string_ = other.string_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.String parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.String) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object string_ = ""; /** * <code>optional string string = 1;</code> */ public boolean hasString() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional string string = 1;</code> */ public java.lang.String getString() { java.lang.Object ref = string_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { string_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string string = 1;</code> */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = string_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); string_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string string = 1;</code> */ public Builder setString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; string_ = value; onChanged(); return this; } /** * <code>optional string string = 1;</code> */ public Builder clearString() { bitField0_ = (bitField0_ & ~0x00000001); string_ = getDefaultInstance().getString(); onChanged(); return this; } /** * <code>optional string string = 1;</code> */ public Builder setStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; string_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.String) } static { defaultInstance = new String(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.String) } public interface IntegerOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Integer) com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 integer = 1;</code> */ boolean hasInteger(); /** * <code>optional int32 integer = 1;</code> */ int getInteger(); } /** * Protobuf type {@code io_protocol_tests.Integer} */ public static final class Integer extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Integer) IntegerOrBuilder { // Use Integer.newBuilder() to construct. private Integer(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Integer(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Integer defaultInstance; public static Integer getDefaultInstance() { return defaultInstance; } public Integer getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Integer( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; integer_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Integer_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Integer_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Integer.class, com.google.protobuf.TestBadIdentifiersProto.Integer.Builder.class); } public static com.google.protobuf.Parser<Integer> PARSER = new com.google.protobuf.AbstractParser<Integer>() { public Integer parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Integer(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Integer> getParserForType() { return PARSER; } private int bitField0_; public static final int INTEGER_FIELD_NUMBER = 1; private int integer_; /** * <code>optional int32 integer = 1;</code> */ public boolean hasInteger() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 integer = 1;</code> */ public int getInteger() { return integer_; } private void initFields() { integer_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, integer_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, integer_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Integer)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Integer other = (com.google.protobuf.TestBadIdentifiersProto.Integer) obj; boolean result = true; result = result && (hasInteger() == other.hasInteger()); if (hasInteger()) { result = result && (getInteger() == other.getInteger()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasInteger()) { hash = (37 * hash) + INTEGER_FIELD_NUMBER; hash = (53 * hash) + getInteger(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Integer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Integer prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Integer} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Integer) com.google.protobuf.TestBadIdentifiersProto.IntegerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Integer_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Integer_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Integer.class, com.google.protobuf.TestBadIdentifiersProto.Integer.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Integer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); integer_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Integer_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Integer getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Integer.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Integer build() { com.google.protobuf.TestBadIdentifiersProto.Integer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Integer buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Integer result = new com.google.protobuf.TestBadIdentifiersProto.Integer(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.integer_ = integer_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Integer) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Integer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Integer other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Integer.getDefaultInstance()) return this; if (other.hasInteger()) { setInteger(other.getInteger()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Integer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Integer) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int integer_ ; /** * <code>optional int32 integer = 1;</code> */ public boolean hasInteger() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 integer = 1;</code> */ public int getInteger() { return integer_; } /** * <code>optional int32 integer = 1;</code> */ public Builder setInteger(int value) { bitField0_ |= 0x00000001; integer_ = value; onChanged(); return this; } /** * <code>optional int32 integer = 1;</code> */ public Builder clearInteger() { bitField0_ = (bitField0_ & ~0x00000001); integer_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Integer) } static { defaultInstance = new Integer(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Integer) } public interface LongOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Long) com.google.protobuf.MessageOrBuilder { /** * <code>optional int32 long = 1;</code> */ boolean hasLong(); /** * <code>optional int32 long = 1;</code> */ int getLong(); } /** * Protobuf type {@code io_protocol_tests.Long} */ public static final class Long extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Long) LongOrBuilder { // Use Long.newBuilder() to construct. private Long(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Long(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Long defaultInstance; public static Long getDefaultInstance() { return defaultInstance; } public Long getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Long( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; long_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Long_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Long_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Long.class, com.google.protobuf.TestBadIdentifiersProto.Long.Builder.class); } public static com.google.protobuf.Parser<Long> PARSER = new com.google.protobuf.AbstractParser<Long>() { public Long parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Long(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Long> getParserForType() { return PARSER; } private int bitField0_; public static final int LONG_FIELD_NUMBER = 1; private int long_; /** * <code>optional int32 long = 1;</code> */ public boolean hasLong() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 long = 1;</code> */ public int getLong() { return long_; } private void initFields() { long_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, long_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, long_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Long)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Long other = (com.google.protobuf.TestBadIdentifiersProto.Long) obj; boolean result = true; result = result && (hasLong() == other.hasLong()); if (hasLong()) { result = result && (getLong() == other.getLong()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLong()) { hash = (37 * hash) + LONG_FIELD_NUMBER; hash = (53 * hash) + getLong(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Long parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Long prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Long} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Long) com.google.protobuf.TestBadIdentifiersProto.LongOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Long_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Long_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Long.class, com.google.protobuf.TestBadIdentifiersProto.Long.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Long.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); long_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Long_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Long getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Long.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Long build() { com.google.protobuf.TestBadIdentifiersProto.Long result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Long buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Long result = new com.google.protobuf.TestBadIdentifiersProto.Long(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.long_ = long_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Long) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Long)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Long other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Long.getDefaultInstance()) return this; if (other.hasLong()) { setLong(other.getLong()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Long parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Long) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int long_ ; /** * <code>optional int32 long = 1;</code> */ public boolean hasLong() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 long = 1;</code> */ public int getLong() { return long_; } /** * <code>optional int32 long = 1;</code> */ public Builder setLong(int value) { bitField0_ |= 0x00000001; long_ = value; onChanged(); return this; } /** * <code>optional int32 long = 1;</code> */ public Builder clearLong() { bitField0_ = (bitField0_ & ~0x00000001); long_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Long) } static { defaultInstance = new Long(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Long) } public interface FloatOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Float) com.google.protobuf.MessageOrBuilder { /** * <code>optional float float = 1;</code> */ boolean hasFloat(); /** * <code>optional float float = 1;</code> */ float getFloat(); } /** * Protobuf type {@code io_protocol_tests.Float} */ public static final class Float extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Float) FloatOrBuilder { // Use Float.newBuilder() to construct. private Float(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Float(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Float defaultInstance; public static Float getDefaultInstance() { return defaultInstance; } public Float getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Float( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 13: { bitField0_ |= 0x00000001; float_ = input.readFloat(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Float_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Float_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Float.class, com.google.protobuf.TestBadIdentifiersProto.Float.Builder.class); } public static com.google.protobuf.Parser<Float> PARSER = new com.google.protobuf.AbstractParser<Float>() { public Float parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Float(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Float> getParserForType() { return PARSER; } private int bitField0_; public static final int FLOAT_FIELD_NUMBER = 1; private float float_; /** * <code>optional float float = 1;</code> */ public boolean hasFloat() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional float float = 1;</code> */ public float getFloat() { return float_; } private void initFields() { float_ = 0F; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeFloat(1, float_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(1, float_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Float)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Float other = (com.google.protobuf.TestBadIdentifiersProto.Float) obj; boolean result = true; result = result && (hasFloat() == other.hasFloat()); if (hasFloat()) { result = result && ( java.lang.Float.floatToIntBits(getFloat()) == java.lang.Float.floatToIntBits( other.getFloat())); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFloat()) { hash = (37 * hash) + FLOAT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFloat()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Float parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Float prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Float} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Float) com.google.protobuf.TestBadIdentifiersProto.FloatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Float_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Float_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Float.class, com.google.protobuf.TestBadIdentifiersProto.Float.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Float.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); float_ = 0F; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Float_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Float getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Float.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Float build() { com.google.protobuf.TestBadIdentifiersProto.Float result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Float buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Float result = new com.google.protobuf.TestBadIdentifiersProto.Float(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.float_ = float_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Float) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Float)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Float other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Float.getDefaultInstance()) return this; if (other.hasFloat()) { setFloat(other.getFloat()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Float parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Float) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private float float_ ; /** * <code>optional float float = 1;</code> */ public boolean hasFloat() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional float float = 1;</code> */ public float getFloat() { return float_; } /** * <code>optional float float = 1;</code> */ public Builder setFloat(float value) { bitField0_ |= 0x00000001; float_ = value; onChanged(); return this; } /** * <code>optional float float = 1;</code> */ public Builder clearFloat() { bitField0_ = (bitField0_ & ~0x00000001); float_ = 0F; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Float) } static { defaultInstance = new Float(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Float) } public interface DoubleOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.Double) com.google.protobuf.MessageOrBuilder { /** * <code>optional double double = 1;</code> */ boolean hasDouble(); /** * <code>optional double double = 1;</code> */ double getDouble(); } /** * Protobuf type {@code io_protocol_tests.Double} */ public static final class Double extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.Double) DoubleOrBuilder { // Use Double.newBuilder() to construct. private Double(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Double(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Double defaultInstance; public static Double getDefaultInstance() { return defaultInstance; } public Double getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Double( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 9: { bitField0_ |= 0x00000001; double_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Double_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Double_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Double.class, com.google.protobuf.TestBadIdentifiersProto.Double.Builder.class); } public static com.google.protobuf.Parser<Double> PARSER = new com.google.protobuf.AbstractParser<Double>() { public Double parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Double(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<Double> getParserForType() { return PARSER; } private int bitField0_; public static final int DOUBLE_FIELD_NUMBER = 1; private double double_; /** * <code>optional double double = 1;</code> */ public boolean hasDouble() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional double double = 1;</code> */ public double getDouble() { return double_; } private void initFields() { double_ = 0D; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, double_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, double_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.Double)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.Double other = (com.google.protobuf.TestBadIdentifiersProto.Double) obj; boolean result = true; result = result && (hasDouble() == other.hasDouble()); if (hasDouble()) { result = result && ( java.lang.Double.doubleToLongBits(getDouble()) == java.lang.Double.doubleToLongBits( other.getDouble())); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDouble()) { hash = (37 * hash) + DOUBLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDouble())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.Double parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.Double prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.Double} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.Double) com.google.protobuf.TestBadIdentifiersProto.DoubleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Double_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Double_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.Double.class, com.google.protobuf.TestBadIdentifiersProto.Double.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.Double.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); double_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_Double_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.Double getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.Double.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.Double build() { com.google.protobuf.TestBadIdentifiersProto.Double result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.Double buildPartial() { com.google.protobuf.TestBadIdentifiersProto.Double result = new com.google.protobuf.TestBadIdentifiersProto.Double(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.double_ = double_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.Double) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.Double)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.Double other) { if (other == com.google.protobuf.TestBadIdentifiersProto.Double.getDefaultInstance()) return this; if (other.hasDouble()) { setDouble(other.getDouble()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.Double parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.Double) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double double_ ; /** * <code>optional double double = 1;</code> */ public boolean hasDouble() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional double double = 1;</code> */ public double getDouble() { return double_; } /** * <code>optional double double = 1;</code> */ public Builder setDouble(double value) { bitField0_ |= 0x00000001; double_ = value; onChanged(); return this; } /** * <code>optional double double = 1;</code> */ public Builder clearDouble() { bitField0_ = (bitField0_ & ~0x00000001); double_ = 0D; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.Double) } static { defaultInstance = new Double(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.Double) } public interface TestConflictingFieldNamesOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.TestConflictingFieldNames) com.google.protobuf.GeneratedMessage. ExtendableMessageOrBuilder<TestConflictingFieldNames> { /** * <code>repeated int32 int32_field = 1;</code> */ java.util.List<java.lang.Integer> getInt32Field1List(); /** * <code>repeated int32 int32_field = 1;</code> */ int getInt32Field1Count(); /** * <code>repeated int32 int32_field = 1;</code> */ int getInt32Field1(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField2List(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ int getEnumField2Count(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField2(int index); /** * <code>repeated string string_field = 3;</code> */ com.google.protobuf.ProtocolStringList getStringField3List(); /** * <code>repeated string string_field = 3;</code> */ int getStringField3Count(); /** * <code>repeated string string_field = 3;</code> */ java.lang.String getStringField3(int index); /** * <code>repeated string string_field = 3;</code> */ com.google.protobuf.ByteString getStringField3Bytes(int index); /** * <code>repeated bytes bytes_field = 4;</code> */ java.util.List<com.google.protobuf.ByteString> getBytesField4List(); /** * <code>repeated bytes bytes_field = 4;</code> */ int getBytesField4Count(); /** * <code>repeated bytes bytes_field = 4;</code> */ com.google.protobuf.ByteString getBytesField4(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField5List(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField5(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ int getMessageField5Count(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField5OrBuilderList(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField5OrBuilder( int index); /** * <code>optional int32 int32_field_count = 11;</code> */ boolean hasInt32FieldCount11(); /** * <code>optional int32 int32_field_count = 11;</code> */ int getInt32FieldCount11(); /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ boolean hasEnumFieldCount12(); /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumFieldCount12(); /** * <code>optional string string_field_count = 13;</code> */ boolean hasStringFieldCount13(); /** * <code>optional string string_field_count = 13;</code> */ java.lang.String getStringFieldCount13(); /** * <code>optional string string_field_count = 13;</code> */ com.google.protobuf.ByteString getStringFieldCount13Bytes(); /** * <code>optional bytes bytes_field_count = 14;</code> */ boolean hasBytesFieldCount14(); /** * <code>optional bytes bytes_field_count = 14;</code> */ com.google.protobuf.ByteString getBytesFieldCount14(); /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ boolean hasMessageFieldCount15(); /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageFieldCount15(); /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageFieldCount15OrBuilder(); /** * <code>repeated int32 Int32Field = 21;</code> */ java.util.List<java.lang.Integer> getInt32Field21List(); /** * <code>repeated int32 Int32Field = 21;</code> */ int getInt32Field21Count(); /** * <code>repeated int32 Int32Field = 21;</code> */ int getInt32Field21(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField22List(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ int getEnumField22Count(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField22(int index); /** * <code>repeated string StringField = 23;</code> */ com.google.protobuf.ProtocolStringList getStringField23List(); /** * <code>repeated string StringField = 23;</code> */ int getStringField23Count(); /** * <code>repeated string StringField = 23;</code> */ java.lang.String getStringField23(int index); /** * <code>repeated string StringField = 23;</code> */ com.google.protobuf.ByteString getStringField23Bytes(int index); /** * <code>repeated bytes BytesField = 24;</code> */ java.util.List<com.google.protobuf.ByteString> getBytesField24List(); /** * <code>repeated bytes BytesField = 24;</code> */ int getBytesField24Count(); /** * <code>repeated bytes BytesField = 24;</code> */ com.google.protobuf.ByteString getBytesField24(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField25List(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField25(int index); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ int getMessageField25Count(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField25OrBuilderList(); /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField25OrBuilder( int index); /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ boolean hasInt32FieldList31(); /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ int getInt32FieldList31(); /** * <code>repeated int64 int64_field = 41;</code> */ java.util.List<java.lang.Long> getInt64FieldList(); /** * <code>repeated int64 int64_field = 41;</code> */ int getInt64FieldCount(); /** * <code>repeated int64 int64_field = 41;</code> */ long getInt64Field(int index); } /** * Protobuf type {@code io_protocol_tests.TestConflictingFieldNames} */ public static final class TestConflictingFieldNames extends com.google.protobuf.GeneratedMessage.ExtendableMessage< TestConflictingFieldNames> implements // @@protoc_insertion_point(message_implements:io_protocol_tests.TestConflictingFieldNames) TestConflictingFieldNamesOrBuilder { // Use TestConflictingFieldNames.newBuilder() to construct. private TestConflictingFieldNames(com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames, ?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestConflictingFieldNames(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestConflictingFieldNames defaultInstance; public static TestConflictingFieldNames getDefaultInstance() { return defaultInstance; } public TestConflictingFieldNames getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestConflictingFieldNames( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { int32Field1_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000001; } int32Field1_.add(input.readInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { int32Field1_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { int32Field1_.add(input.readInt32()); } input.popLimit(limit); break; } case 16: { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { enumField2_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(); mutable_bitField0_ |= 0x00000002; } enumField2_.add(value); } break; } case 18: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { enumField2_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(); mutable_bitField0_ |= 0x00000002; } enumField2_.add(value); } } input.popLimit(oldLimit); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stringField3_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } stringField3_.add(bs); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { bytesField4_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); mutable_bitField0_ |= 0x00000008; } bytesField4_.add(input.readBytes()); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { messageField5_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage>(); mutable_bitField0_ |= 0x00000010; } messageField5_.add(input.readMessage(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.PARSER, extensionRegistry)); break; } case 88: { bitField0_ |= 0x00000001; int32FieldCount11_ = input.readInt32(); break; } case 96: { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(12, rawValue); } else { bitField0_ |= 0x00000002; enumFieldCount12_ = value; } break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; stringFieldCount13_ = bs; break; } case 114: { bitField0_ |= 0x00000008; bytesFieldCount14_ = input.readBytes(); break; } case 122: { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = messageFieldCount15_.toBuilder(); } messageFieldCount15_ = input.readMessage(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(messageFieldCount15_); messageFieldCount15_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 168: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { int32Field21_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000400; } int32Field21_.add(input.readInt32()); break; } case 170: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000400) == 0x00000400) && input.getBytesUntilLimit() > 0) { int32Field21_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000400; } while (input.getBytesUntilLimit() > 0) { int32Field21_.add(input.readInt32()); } input.popLimit(limit); break; } case 176: { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(22, rawValue); } else { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { enumField22_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(); mutable_bitField0_ |= 0x00000800; } enumField22_.add(value); } break; } case 178: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(22, rawValue); } else { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { enumField22_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(); mutable_bitField0_ |= 0x00000800; } enumField22_.add(value); } } input.popLimit(oldLimit); break; } case 186: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { stringField23_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00001000; } stringField23_.add(bs); break; } case 194: { if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { bytesField24_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); mutable_bitField0_ |= 0x00002000; } bytesField24_.add(input.readBytes()); break; } case 202: { if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) { messageField25_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage>(); mutable_bitField0_ |= 0x00004000; } messageField25_.add(input.readMessage(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.PARSER, extensionRegistry)); break; } case 248: { bitField0_ |= 0x00000020; int32FieldList31_ = input.readInt32(); break; } case 328: { if (!((mutable_bitField0_ & 0x00010000) == 0x00010000)) { int64Field_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00010000; } int64Field_.add(input.readInt64()); break; } case 330: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00010000) == 0x00010000) && input.getBytesUntilLimit() > 0) { int64Field_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00010000; } while (input.getBytesUntilLimit() > 0) { int64Field_.add(input.readInt64()); } input.popLimit(limit); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { int32Field1_ = java.util.Collections.unmodifiableList(int32Field1_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { enumField2_ = java.util.Collections.unmodifiableList(enumField2_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stringField3_ = stringField3_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { bytesField4_ = java.util.Collections.unmodifiableList(bytesField4_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { messageField5_ = java.util.Collections.unmodifiableList(messageField5_); } if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { int32Field21_ = java.util.Collections.unmodifiableList(int32Field21_); } if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { enumField22_ = java.util.Collections.unmodifiableList(enumField22_); } if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) { stringField23_ = stringField23_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { bytesField24_ = java.util.Collections.unmodifiableList(bytesField24_); } if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) { messageField25_ = java.util.Collections.unmodifiableList(messageField25_); } if (((mutable_bitField0_ & 0x00010000) == 0x00010000)) { int64Field_ = java.util.Collections.unmodifiableList(int64Field_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.class, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.Builder.class); } public static com.google.protobuf.Parser<TestConflictingFieldNames> PARSER = new com.google.protobuf.AbstractParser<TestConflictingFieldNames>() { public TestConflictingFieldNames parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestConflictingFieldNames(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<TestConflictingFieldNames> getParserForType() { return PARSER; } /** * Protobuf enum {@code io_protocol_tests.TestConflictingFieldNames.TestEnum} */ public enum TestEnum implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FOO = 1;</code> */ FOO(0, 1), ; /** * <code>FOO = 1;</code> */ public static final int FOO_VALUE = 1; public final int getNumber() { return value; } public static TestEnum valueOf(int value) { switch (value) { case 1: return FOO; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<TestEnum> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<TestEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<TestEnum>() { public TestEnum findValueByNumber(int number) { return TestEnum.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.getDescriptor().getEnumTypes().get(0); } private static final TestEnum[] VALUES = values(); public static TestEnum valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private TestEnum(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:io_protocol_tests.TestConflictingFieldNames.TestEnum) } public interface TestMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:io_protocol_tests.TestConflictingFieldNames.TestMessage) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code io_protocol_tests.TestConflictingFieldNames.TestMessage} */ public static final class TestMessage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:io_protocol_tests.TestConflictingFieldNames.TestMessage) TestMessageOrBuilder { // Use TestMessage.newBuilder() to construct. private TestMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TestMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TestMessage defaultInstance; public static TestMessage getDefaultInstance() { return defaultInstance; } public TestMessage getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.class, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder.class); } public static com.google.protobuf.Parser<TestMessage> PARSER = new com.google.protobuf.AbstractParser<TestMessage>() { public TestMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TestMessage(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<TestMessage> getParserForType() { return PARSER; } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage other = (com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage) obj; boolean result = true; result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.TestConflictingFieldNames.TestMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.TestConflictingFieldNames.TestMessage) com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.class, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage build() { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage buildPartial() { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage result = new com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage other) { if (other == com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.TestConflictingFieldNames.TestMessage) } static { defaultInstance = new TestMessage(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.TestConflictingFieldNames.TestMessage) } private int bitField0_; public static final int INT32_FIELD_FIELD_NUMBER = 1; private java.util.List<java.lang.Integer> int32Field1_; // An alternative name is used for field "int32_field" because: // both repeated field "int32_field" and singular field "int32_field_list" generates the method "getInt32FieldList()" /** * <code>repeated int32 int32_field = 1;</code> */ public java.util.List<java.lang.Integer> getInt32Field1List() { return int32Field1_; } /** * <code>repeated int32 int32_field = 1;</code> */ public int getInt32Field1Count() { return int32Field1_.size(); } /** * <code>repeated int32 int32_field = 1;</code> */ public int getInt32Field1(int index) { return int32Field1_.get(index); } public static final int ENUM_FIELD_FIELD_NUMBER = 2; private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> enumField2_; // An alternative name is used for field "enum_field" because: // capitalized name of field "enum_field" conflicts with field "EnumField" /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField2List() { return enumField2_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public int getEnumField2Count() { return enumField2_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField2(int index) { return enumField2_.get(index); } public static final int STRING_FIELD_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList stringField3_; // An alternative name is used for field "string_field" because: // capitalized name of field "string_field" conflicts with field "StringField" /** * <code>repeated string string_field = 3;</code> */ public com.google.protobuf.ProtocolStringList getStringField3List() { return stringField3_; } /** * <code>repeated string string_field = 3;</code> */ public int getStringField3Count() { return stringField3_.size(); } /** * <code>repeated string string_field = 3;</code> */ public java.lang.String getStringField3(int index) { return stringField3_.get(index); } /** * <code>repeated string string_field = 3;</code> */ public com.google.protobuf.ByteString getStringField3Bytes(int index) { return stringField3_.getByteString(index); } public static final int BYTES_FIELD_FIELD_NUMBER = 4; private java.util.List<com.google.protobuf.ByteString> bytesField4_; // An alternative name is used for field "bytes_field" because: // capitalized name of field "bytes_field" conflicts with field "BytesField" /** * <code>repeated bytes bytes_field = 4;</code> */ public java.util.List<com.google.protobuf.ByteString> getBytesField4List() { return bytesField4_; } /** * <code>repeated bytes bytes_field = 4;</code> */ public int getBytesField4Count() { return bytesField4_.size(); } /** * <code>repeated bytes bytes_field = 4;</code> */ public com.google.protobuf.ByteString getBytesField4(int index) { return bytesField4_.get(index); } public static final int MESSAGE_FIELD_FIELD_NUMBER = 5; private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> messageField5_; // An alternative name is used for field "message_field" because: // capitalized name of field "message_field" conflicts with field "MessageField" /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField5List() { return messageField5_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField5OrBuilderList() { return messageField5_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public int getMessageField5Count() { return messageField5_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField5(int index) { return messageField5_.get(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField5OrBuilder( int index) { return messageField5_.get(index); } public static final int INT32_FIELD_COUNT_FIELD_NUMBER = 11; private int int32FieldCount11_; // An alternative name is used for field "int32_field_count" because: // both repeated field "Int32Field" and singular field "int32_field_count" generates the method "getInt32FieldCount()" /** * <code>optional int32 int32_field_count = 11;</code> */ public boolean hasInt32FieldCount11() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int32 int32_field_count = 11;</code> */ public int getInt32FieldCount11() { return int32FieldCount11_; } public static final int ENUM_FIELD_COUNT_FIELD_NUMBER = 12; private com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum enumFieldCount12_; // An alternative name is used for field "enum_field_count" because: // both repeated field "EnumField" and singular field "enum_field_count" generates the method "getEnumFieldCount()" /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public boolean hasEnumFieldCount12() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumFieldCount12() { return enumFieldCount12_; } public static final int STRING_FIELD_COUNT_FIELD_NUMBER = 13; private java.lang.Object stringFieldCount13_; // An alternative name is used for field "string_field_count" because: // both repeated field "StringField" and singular field "string_field_count" generates the method "getStringFieldCount()" /** * <code>optional string string_field_count = 13;</code> */ public boolean hasStringFieldCount13() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string string_field_count = 13;</code> */ public java.lang.String getStringFieldCount13() { java.lang.Object ref = stringFieldCount13_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringFieldCount13_ = s; } return s; } } /** * <code>optional string string_field_count = 13;</code> */ public com.google.protobuf.ByteString getStringFieldCount13Bytes() { java.lang.Object ref = stringFieldCount13_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringFieldCount13_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BYTES_FIELD_COUNT_FIELD_NUMBER = 14; private com.google.protobuf.ByteString bytesFieldCount14_; // An alternative name is used for field "bytes_field_count" because: // both repeated field "BytesField" and singular field "bytes_field_count" generates the method "getBytesFieldCount()" /** * <code>optional bytes bytes_field_count = 14;</code> */ public boolean hasBytesFieldCount14() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional bytes bytes_field_count = 14;</code> */ public com.google.protobuf.ByteString getBytesFieldCount14() { return bytesFieldCount14_; } public static final int MESSAGE_FIELD_COUNT_FIELD_NUMBER = 15; private com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage messageFieldCount15_; // An alternative name is used for field "message_field_count" because: // both repeated field "MessageField" and singular field "message_field_count" generates the method "getMessageFieldCount()" /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public boolean hasMessageFieldCount15() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageFieldCount15() { return messageFieldCount15_; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageFieldCount15OrBuilder() { return messageFieldCount15_; } public static final int INT32FIELD_FIELD_NUMBER = 21; private java.util.List<java.lang.Integer> int32Field21_; // An alternative name is used for field "Int32Field" because: // both repeated field "Int32Field" and singular field "int32_field_list" generates the method "getInt32FieldList()" /** * <code>repeated int32 Int32Field = 21;</code> */ public java.util.List<java.lang.Integer> getInt32Field21List() { return int32Field21_; } /** * <code>repeated int32 Int32Field = 21;</code> */ public int getInt32Field21Count() { return int32Field21_.size(); } /** * <code>repeated int32 Int32Field = 21;</code> */ public int getInt32Field21(int index) { return int32Field21_.get(index); } public static final int ENUMFIELD_FIELD_NUMBER = 22; private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> enumField22_; // An alternative name is used for field "EnumField" because: // both repeated field "EnumField" and singular field "enum_field_count" generates the method "getEnumFieldCount()" /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField22List() { return enumField22_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public int getEnumField22Count() { return enumField22_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField22(int index) { return enumField22_.get(index); } public static final int STRINGFIELD_FIELD_NUMBER = 23; private com.google.protobuf.LazyStringList stringField23_; // An alternative name is used for field "StringField" because: // both repeated field "StringField" and singular field "string_field_count" generates the method "getStringFieldCount()" /** * <code>repeated string StringField = 23;</code> */ public com.google.protobuf.ProtocolStringList getStringField23List() { return stringField23_; } /** * <code>repeated string StringField = 23;</code> */ public int getStringField23Count() { return stringField23_.size(); } /** * <code>repeated string StringField = 23;</code> */ public java.lang.String getStringField23(int index) { return stringField23_.get(index); } /** * <code>repeated string StringField = 23;</code> */ public com.google.protobuf.ByteString getStringField23Bytes(int index) { return stringField23_.getByteString(index); } public static final int BYTESFIELD_FIELD_NUMBER = 24; private java.util.List<com.google.protobuf.ByteString> bytesField24_; // An alternative name is used for field "BytesField" because: // both repeated field "BytesField" and singular field "bytes_field_count" generates the method "getBytesFieldCount()" /** * <code>repeated bytes BytesField = 24;</code> */ public java.util.List<com.google.protobuf.ByteString> getBytesField24List() { return bytesField24_; } /** * <code>repeated bytes BytesField = 24;</code> */ public int getBytesField24Count() { return bytesField24_.size(); } /** * <code>repeated bytes BytesField = 24;</code> */ public com.google.protobuf.ByteString getBytesField24(int index) { return bytesField24_.get(index); } public static final int MESSAGEFIELD_FIELD_NUMBER = 25; private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> messageField25_; // An alternative name is used for field "MessageField" because: // both repeated field "MessageField" and singular field "message_field_count" generates the method "getMessageFieldCount()" /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField25List() { return messageField25_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField25OrBuilderList() { return messageField25_; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public int getMessageField25Count() { return messageField25_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField25(int index) { return messageField25_.get(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField25OrBuilder( int index) { return messageField25_.get(index); } public static final int INT32_FIELD_LIST_FIELD_NUMBER = 31; private int int32FieldList31_; // An alternative name is used for field "int32_field_list" because: // both repeated field "Int32Field" and singular field "int32_field_list" generates the method "getInt32FieldList()" /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public boolean hasInt32FieldList31() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public int getInt32FieldList31() { return int32FieldList31_; } public static final int INT64_FIELD_FIELD_NUMBER = 41; private java.util.List<java.lang.Long> int64Field_; /** * <code>repeated int64 int64_field = 41;</code> */ public java.util.List<java.lang.Long> getInt64FieldList() { return int64Field_; } /** * <code>repeated int64 int64_field = 41;</code> */ public int getInt64FieldCount() { return int64Field_.size(); } /** * <code>repeated int64 int64_field = 41;</code> */ public long getInt64Field(int index) { return int64Field_.get(index); } private void initFields() { int32Field1_ = java.util.Collections.emptyList(); enumField2_ = java.util.Collections.emptyList(); stringField3_ = com.google.protobuf.LazyStringArrayList.EMPTY; bytesField4_ = java.util.Collections.emptyList(); messageField5_ = java.util.Collections.emptyList(); int32FieldCount11_ = 0; enumFieldCount12_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.FOO; stringFieldCount13_ = ""; bytesFieldCount14_ = com.google.protobuf.ByteString.EMPTY; messageFieldCount15_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance(); int32Field21_ = java.util.Collections.emptyList(); enumField22_ = java.util.Collections.emptyList(); stringField23_ = com.google.protobuf.LazyStringArrayList.EMPTY; bytesField24_ = java.util.Collections.emptyList(); messageField25_ = java.util.Collections.emptyList(); int32FieldList31_ = 0; int64Field_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasInt32FieldList31()) { memoizedIsInitialized = 0; return false; } if (!extensionsAreInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); com.google.protobuf.GeneratedMessage .ExtendableMessage<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames>.ExtensionWriter extensionWriter = newExtensionWriter(); for (int i = 0; i < int32Field1_.size(); i++) { output.writeInt32(1, int32Field1_.get(i)); } for (int i = 0; i < enumField2_.size(); i++) { output.writeEnum(2, enumField2_.get(i).getNumber()); } for (int i = 0; i < stringField3_.size(); i++) { output.writeBytes(3, stringField3_.getByteString(i)); } for (int i = 0; i < bytesField4_.size(); i++) { output.writeBytes(4, bytesField4_.get(i)); } for (int i = 0; i < messageField5_.size(); i++) { output.writeMessage(5, messageField5_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(11, int32FieldCount11_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(12, enumFieldCount12_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(13, getStringFieldCount13Bytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(14, bytesFieldCount14_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(15, messageFieldCount15_); } for (int i = 0; i < int32Field21_.size(); i++) { output.writeInt32(21, int32Field21_.get(i)); } for (int i = 0; i < enumField22_.size(); i++) { output.writeEnum(22, enumField22_.get(i).getNumber()); } for (int i = 0; i < stringField23_.size(); i++) { output.writeBytes(23, stringField23_.getByteString(i)); } for (int i = 0; i < bytesField24_.size(); i++) { output.writeBytes(24, bytesField24_.get(i)); } for (int i = 0; i < messageField25_.size(); i++) { output.writeMessage(25, messageField25_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(31, int32FieldList31_); } for (int i = 0; i < int64Field_.size(); i++) { output.writeInt64(41, int64Field_.get(i)); } extensionWriter.writeUntil(536870912, output); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < int32Field1_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(int32Field1_.get(i)); } size += dataSize; size += 1 * getInt32Field1List().size(); } { int dataSize = 0; for (int i = 0; i < enumField2_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(enumField2_.get(i).getNumber()); } size += dataSize; size += 1 * enumField2_.size(); } { int dataSize = 0; for (int i = 0; i < stringField3_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(stringField3_.getByteString(i)); } size += dataSize; size += 1 * getStringField3List().size(); } { int dataSize = 0; for (int i = 0; i < bytesField4_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(bytesField4_.get(i)); } size += dataSize; size += 1 * getBytesField4List().size(); } for (int i = 0; i < messageField5_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, messageField5_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, int32FieldCount11_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(12, enumFieldCount12_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, getStringFieldCount13Bytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(14, bytesFieldCount14_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, messageFieldCount15_); } { int dataSize = 0; for (int i = 0; i < int32Field21_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(int32Field21_.get(i)); } size += dataSize; size += 2 * getInt32Field21List().size(); } { int dataSize = 0; for (int i = 0; i < enumField22_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(enumField22_.get(i).getNumber()); } size += dataSize; size += 2 * enumField22_.size(); } { int dataSize = 0; for (int i = 0; i < stringField23_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(stringField23_.getByteString(i)); } size += dataSize; size += 2 * getStringField23List().size(); } { int dataSize = 0; for (int i = 0; i < bytesField24_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(bytesField24_.get(i)); } size += dataSize; size += 2 * getBytesField24List().size(); } for (int i = 0; i < messageField25_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, messageField25_.get(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(31, int32FieldList31_); } { int dataSize = 0; for (int i = 0; i < int64Field_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(int64Field_.get(i)); } size += dataSize; size += 2 * getInt64FieldList().size(); } size += extensionsSerializedSize(); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames)) { return super.equals(obj); } com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames other = (com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames) obj; boolean result = true; result = result && getInt32Field1List() .equals(other.getInt32Field1List()); result = result && getEnumField2List() .equals(other.getEnumField2List()); result = result && getStringField3List() .equals(other.getStringField3List()); result = result && getBytesField4List() .equals(other.getBytesField4List()); result = result && getMessageField5List() .equals(other.getMessageField5List()); result = result && (hasInt32FieldCount11() == other.hasInt32FieldCount11()); if (hasInt32FieldCount11()) { result = result && (getInt32FieldCount11() == other.getInt32FieldCount11()); } result = result && (hasEnumFieldCount12() == other.hasEnumFieldCount12()); if (hasEnumFieldCount12()) { result = result && (getEnumFieldCount12() == other.getEnumFieldCount12()); } result = result && (hasStringFieldCount13() == other.hasStringFieldCount13()); if (hasStringFieldCount13()) { result = result && getStringFieldCount13() .equals(other.getStringFieldCount13()); } result = result && (hasBytesFieldCount14() == other.hasBytesFieldCount14()); if (hasBytesFieldCount14()) { result = result && getBytesFieldCount14() .equals(other.getBytesFieldCount14()); } result = result && (hasMessageFieldCount15() == other.hasMessageFieldCount15()); if (hasMessageFieldCount15()) { result = result && getMessageFieldCount15() .equals(other.getMessageFieldCount15()); } result = result && getInt32Field21List() .equals(other.getInt32Field21List()); result = result && getEnumField22List() .equals(other.getEnumField22List()); result = result && getStringField23List() .equals(other.getStringField23List()); result = result && getBytesField24List() .equals(other.getBytesField24List()); result = result && getMessageField25List() .equals(other.getMessageField25List()); result = result && (hasInt32FieldList31() == other.hasInt32FieldList31()); if (hasInt32FieldList31()) { result = result && (getInt32FieldList31() == other.getInt32FieldList31()); } result = result && getInt64FieldList() .equals(other.getInt64FieldList()); result = result && getUnknownFields().equals(other.getUnknownFields()); result = result && getExtensionFields().equals(other.getExtensionFields()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getInt32Field1Count() > 0) { hash = (37 * hash) + INT32_FIELD_FIELD_NUMBER; hash = (53 * hash) + getInt32Field1List().hashCode(); } if (getEnumField2Count() > 0) { hash = (37 * hash) + ENUM_FIELD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( getEnumField2List()); } if (getStringField3Count() > 0) { hash = (37 * hash) + STRING_FIELD_FIELD_NUMBER; hash = (53 * hash) + getStringField3List().hashCode(); } if (getBytesField4Count() > 0) { hash = (37 * hash) + BYTES_FIELD_FIELD_NUMBER; hash = (53 * hash) + getBytesField4List().hashCode(); } if (getMessageField5Count() > 0) { hash = (37 * hash) + MESSAGE_FIELD_FIELD_NUMBER; hash = (53 * hash) + getMessageField5List().hashCode(); } if (hasInt32FieldCount11()) { hash = (37 * hash) + INT32_FIELD_COUNT_FIELD_NUMBER; hash = (53 * hash) + getInt32FieldCount11(); } if (hasEnumFieldCount12()) { hash = (37 * hash) + ENUM_FIELD_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( getEnumFieldCount12()); } if (hasStringFieldCount13()) { hash = (37 * hash) + STRING_FIELD_COUNT_FIELD_NUMBER; hash = (53 * hash) + getStringFieldCount13().hashCode(); } if (hasBytesFieldCount14()) { hash = (37 * hash) + BYTES_FIELD_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBytesFieldCount14().hashCode(); } if (hasMessageFieldCount15()) { hash = (37 * hash) + MESSAGE_FIELD_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMessageFieldCount15().hashCode(); } if (getInt32Field21Count() > 0) { hash = (37 * hash) + INT32FIELD_FIELD_NUMBER; hash = (53 * hash) + getInt32Field21List().hashCode(); } if (getEnumField22Count() > 0) { hash = (37 * hash) + ENUMFIELD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( getEnumField22List()); } if (getStringField23Count() > 0) { hash = (37 * hash) + STRINGFIELD_FIELD_NUMBER; hash = (53 * hash) + getStringField23List().hashCode(); } if (getBytesField24Count() > 0) { hash = (37 * hash) + BYTESFIELD_FIELD_NUMBER; hash = (53 * hash) + getBytesField24List().hashCode(); } if (getMessageField25Count() > 0) { hash = (37 * hash) + MESSAGEFIELD_FIELD_NUMBER; hash = (53 * hash) + getMessageField25List().hashCode(); } if (hasInt32FieldList31()) { hash = (37 * hash) + INT32_FIELD_LIST_FIELD_NUMBER; hash = (53 * hash) + getInt32FieldList31(); } if (getInt64FieldCount() > 0) { hash = (37 * hash) + INT64_FIELD_FIELD_NUMBER; hash = (53 * hash) + getInt64FieldList().hashCode(); } hash = hashFields(hash, getExtensionFields()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io_protocol_tests.TestConflictingFieldNames} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames, Builder> implements // @@protoc_insertion_point(builder_implements:io_protocol_tests.TestConflictingFieldNames) com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNamesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.class, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.Builder.class); } // Construct using com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMessageField5FieldBuilder(); getMessageFieldCount15FieldBuilder(); getMessageField25FieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); int32Field1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); enumField2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); stringField3_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); bytesField4_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); if (messageField5Builder_ == null) { messageField5_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { messageField5Builder_.clear(); } int32FieldCount11_ = 0; bitField0_ = (bitField0_ & ~0x00000020); enumFieldCount12_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.FOO; bitField0_ = (bitField0_ & ~0x00000040); stringFieldCount13_ = ""; bitField0_ = (bitField0_ & ~0x00000080); bytesFieldCount14_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); if (messageFieldCount15Builder_ == null) { messageFieldCount15_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance(); } else { messageFieldCount15Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); int32Field21_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); enumField22_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); stringField23_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); bytesField24_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); if (messageField25Builder_ == null) { messageField25_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { messageField25Builder_.clear(); } int32FieldList31_ = 0; bitField0_ = (bitField0_ & ~0x00008000); int64Field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00010000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.protobuf.TestBadIdentifiersProto.internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor; } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames getDefaultInstanceForType() { return com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.getDefaultInstance(); } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames build() { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames buildPartial() { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames result = new com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { int32Field1_ = java.util.Collections.unmodifiableList(int32Field1_); bitField0_ = (bitField0_ & ~0x00000001); } result.int32Field1_ = int32Field1_; if (((bitField0_ & 0x00000002) == 0x00000002)) { enumField2_ = java.util.Collections.unmodifiableList(enumField2_); bitField0_ = (bitField0_ & ~0x00000002); } result.enumField2_ = enumField2_; if (((bitField0_ & 0x00000004) == 0x00000004)) { stringField3_ = stringField3_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.stringField3_ = stringField3_; if (((bitField0_ & 0x00000008) == 0x00000008)) { bytesField4_ = java.util.Collections.unmodifiableList(bytesField4_); bitField0_ = (bitField0_ & ~0x00000008); } result.bytesField4_ = bytesField4_; if (messageField5Builder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { messageField5_ = java.util.Collections.unmodifiableList(messageField5_); bitField0_ = (bitField0_ & ~0x00000010); } result.messageField5_ = messageField5_; } else { result.messageField5_ = messageField5Builder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000001; } result.int32FieldCount11_ = int32FieldCount11_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000002; } result.enumFieldCount12_ = enumFieldCount12_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000004; } result.stringFieldCount13_ = stringFieldCount13_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000008; } result.bytesFieldCount14_ = bytesFieldCount14_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000010; } if (messageFieldCount15Builder_ == null) { result.messageFieldCount15_ = messageFieldCount15_; } else { result.messageFieldCount15_ = messageFieldCount15Builder_.build(); } if (((bitField0_ & 0x00000400) == 0x00000400)) { int32Field21_ = java.util.Collections.unmodifiableList(int32Field21_); bitField0_ = (bitField0_ & ~0x00000400); } result.int32Field21_ = int32Field21_; if (((bitField0_ & 0x00000800) == 0x00000800)) { enumField22_ = java.util.Collections.unmodifiableList(enumField22_); bitField0_ = (bitField0_ & ~0x00000800); } result.enumField22_ = enumField22_; if (((bitField0_ & 0x00001000) == 0x00001000)) { stringField23_ = stringField23_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00001000); } result.stringField23_ = stringField23_; if (((bitField0_ & 0x00002000) == 0x00002000)) { bytesField24_ = java.util.Collections.unmodifiableList(bytesField24_); bitField0_ = (bitField0_ & ~0x00002000); } result.bytesField24_ = bytesField24_; if (messageField25Builder_ == null) { if (((bitField0_ & 0x00004000) == 0x00004000)) { messageField25_ = java.util.Collections.unmodifiableList(messageField25_); bitField0_ = (bitField0_ & ~0x00004000); } result.messageField25_ = messageField25_; } else { result.messageField25_ = messageField25Builder_.build(); } if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00000020; } result.int32FieldList31_ = int32FieldList31_; if (((bitField0_ & 0x00010000) == 0x00010000)) { int64Field_ = java.util.Collections.unmodifiableList(int64Field_); bitField0_ = (bitField0_ & ~0x00010000); } result.int64Field_ = int64Field_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames) { return mergeFrom((com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames other) { if (other == com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.getDefaultInstance()) return this; if (!other.int32Field1_.isEmpty()) { if (int32Field1_.isEmpty()) { int32Field1_ = other.int32Field1_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInt32Field1IsMutable(); int32Field1_.addAll(other.int32Field1_); } onChanged(); } if (!other.enumField2_.isEmpty()) { if (enumField2_.isEmpty()) { enumField2_ = other.enumField2_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureEnumField2IsMutable(); enumField2_.addAll(other.enumField2_); } onChanged(); } if (!other.stringField3_.isEmpty()) { if (stringField3_.isEmpty()) { stringField3_ = other.stringField3_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureStringField3IsMutable(); stringField3_.addAll(other.stringField3_); } onChanged(); } if (!other.bytesField4_.isEmpty()) { if (bytesField4_.isEmpty()) { bytesField4_ = other.bytesField4_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureBytesField4IsMutable(); bytesField4_.addAll(other.bytesField4_); } onChanged(); } if (messageField5Builder_ == null) { if (!other.messageField5_.isEmpty()) { if (messageField5_.isEmpty()) { messageField5_ = other.messageField5_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureMessageField5IsMutable(); messageField5_.addAll(other.messageField5_); } onChanged(); } } else { if (!other.messageField5_.isEmpty()) { if (messageField5Builder_.isEmpty()) { messageField5Builder_.dispose(); messageField5Builder_ = null; messageField5_ = other.messageField5_; bitField0_ = (bitField0_ & ~0x00000010); messageField5Builder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMessageField5FieldBuilder() : null; } else { messageField5Builder_.addAllMessages(other.messageField5_); } } } if (other.hasInt32FieldCount11()) { setInt32FieldCount11(other.getInt32FieldCount11()); } if (other.hasEnumFieldCount12()) { setEnumFieldCount12(other.getEnumFieldCount12()); } if (other.hasStringFieldCount13()) { bitField0_ |= 0x00000080; stringFieldCount13_ = other.stringFieldCount13_; onChanged(); } if (other.hasBytesFieldCount14()) { setBytesFieldCount14(other.getBytesFieldCount14()); } if (other.hasMessageFieldCount15()) { mergeMessageFieldCount15(other.getMessageFieldCount15()); } if (!other.int32Field21_.isEmpty()) { if (int32Field21_.isEmpty()) { int32Field21_ = other.int32Field21_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureInt32Field21IsMutable(); int32Field21_.addAll(other.int32Field21_); } onChanged(); } if (!other.enumField22_.isEmpty()) { if (enumField22_.isEmpty()) { enumField22_ = other.enumField22_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureEnumField22IsMutable(); enumField22_.addAll(other.enumField22_); } onChanged(); } if (!other.stringField23_.isEmpty()) { if (stringField23_.isEmpty()) { stringField23_ = other.stringField23_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureStringField23IsMutable(); stringField23_.addAll(other.stringField23_); } onChanged(); } if (!other.bytesField24_.isEmpty()) { if (bytesField24_.isEmpty()) { bytesField24_ = other.bytesField24_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureBytesField24IsMutable(); bytesField24_.addAll(other.bytesField24_); } onChanged(); } if (messageField25Builder_ == null) { if (!other.messageField25_.isEmpty()) { if (messageField25_.isEmpty()) { messageField25_ = other.messageField25_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureMessageField25IsMutable(); messageField25_.addAll(other.messageField25_); } onChanged(); } } else { if (!other.messageField25_.isEmpty()) { if (messageField25Builder_.isEmpty()) { messageField25Builder_.dispose(); messageField25Builder_ = null; messageField25_ = other.messageField25_; bitField0_ = (bitField0_ & ~0x00004000); messageField25Builder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMessageField25FieldBuilder() : null; } else { messageField25Builder_.addAllMessages(other.messageField25_); } } } if (other.hasInt32FieldList31()) { setInt32FieldList31(other.getInt32FieldList31()); } if (!other.int64Field_.isEmpty()) { if (int64Field_.isEmpty()) { int64Field_ = other.int64Field_; bitField0_ = (bitField0_ & ~0x00010000); } else { ensureInt64FieldIsMutable(); int64Field_.addAll(other.int64Field_); } onChanged(); } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasInt32FieldList31()) { return false; } if (!extensionsAreInitialized()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<java.lang.Integer> int32Field1_ = java.util.Collections.emptyList(); private void ensureInt32Field1IsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { int32Field1_ = new java.util.ArrayList<java.lang.Integer>(int32Field1_); bitField0_ |= 0x00000001; } } /** * <code>repeated int32 int32_field = 1;</code> */ public java.util.List<java.lang.Integer> getInt32Field1List() { return java.util.Collections.unmodifiableList(int32Field1_); } /** * <code>repeated int32 int32_field = 1;</code> */ public int getInt32Field1Count() { return int32Field1_.size(); } /** * <code>repeated int32 int32_field = 1;</code> */ public int getInt32Field1(int index) { return int32Field1_.get(index); } /** * <code>repeated int32 int32_field = 1;</code> */ public Builder setInt32Field1( int index, int value) { ensureInt32Field1IsMutable(); int32Field1_.set(index, value); onChanged(); return this; } /** * <code>repeated int32 int32_field = 1;</code> */ public Builder addInt32Field1(int value) { ensureInt32Field1IsMutable(); int32Field1_.add(value); onChanged(); return this; } /** * <code>repeated int32 int32_field = 1;</code> */ public Builder addAllInt32Field1( java.lang.Iterable<? extends java.lang.Integer> values) { ensureInt32Field1IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, int32Field1_); onChanged(); return this; } /** * <code>repeated int32 int32_field = 1;</code> */ public Builder clearInt32Field1() { int32Field1_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> enumField2_ = java.util.Collections.emptyList(); private void ensureEnumField2IsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { enumField2_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(enumField2_); bitField0_ |= 0x00000002; } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField2List() { return java.util.Collections.unmodifiableList(enumField2_); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public int getEnumField2Count() { return enumField2_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField2(int index) { return enumField2_.get(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public Builder setEnumField2( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value) { if (value == null) { throw new NullPointerException(); } ensureEnumField2IsMutable(); enumField2_.set(index, value); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public Builder addEnumField2(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value) { if (value == null) { throw new NullPointerException(); } ensureEnumField2IsMutable(); enumField2_.add(value); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public Builder addAllEnumField2( java.lang.Iterable<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> values) { ensureEnumField2IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumField2_); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field = 2;</code> */ public Builder clearEnumField2() { enumField2_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private com.google.protobuf.LazyStringList stringField3_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringField3IsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { stringField3_ = new com.google.protobuf.LazyStringArrayList(stringField3_); bitField0_ |= 0x00000004; } } /** * <code>repeated string string_field = 3;</code> */ public com.google.protobuf.ProtocolStringList getStringField3List() { return stringField3_.getUnmodifiableView(); } /** * <code>repeated string string_field = 3;</code> */ public int getStringField3Count() { return stringField3_.size(); } /** * <code>repeated string string_field = 3;</code> */ public java.lang.String getStringField3(int index) { return stringField3_.get(index); } /** * <code>repeated string string_field = 3;</code> */ public com.google.protobuf.ByteString getStringField3Bytes(int index) { return stringField3_.getByteString(index); } /** * <code>repeated string string_field = 3;</code> */ public Builder setStringField3( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringField3IsMutable(); stringField3_.set(index, value); onChanged(); return this; } /** * <code>repeated string string_field = 3;</code> */ public Builder addStringField3( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringField3IsMutable(); stringField3_.add(value); onChanged(); return this; } /** * <code>repeated string string_field = 3;</code> */ public Builder addAllStringField3( java.lang.Iterable<java.lang.String> values) { ensureStringField3IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stringField3_); onChanged(); return this; } /** * <code>repeated string string_field = 3;</code> */ public Builder clearStringField3() { stringField3_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * <code>repeated string string_field = 3;</code> */ public Builder addStringField3Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureStringField3IsMutable(); stringField3_.add(value); onChanged(); return this; } private java.util.List<com.google.protobuf.ByteString> bytesField4_ = java.util.Collections.emptyList(); private void ensureBytesField4IsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { bytesField4_ = new java.util.ArrayList<com.google.protobuf.ByteString>(bytesField4_); bitField0_ |= 0x00000008; } } /** * <code>repeated bytes bytes_field = 4;</code> */ public java.util.List<com.google.protobuf.ByteString> getBytesField4List() { return java.util.Collections.unmodifiableList(bytesField4_); } /** * <code>repeated bytes bytes_field = 4;</code> */ public int getBytesField4Count() { return bytesField4_.size(); } /** * <code>repeated bytes bytes_field = 4;</code> */ public com.google.protobuf.ByteString getBytesField4(int index) { return bytesField4_.get(index); } /** * <code>repeated bytes bytes_field = 4;</code> */ public Builder setBytesField4( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureBytesField4IsMutable(); bytesField4_.set(index, value); onChanged(); return this; } /** * <code>repeated bytes bytes_field = 4;</code> */ public Builder addBytesField4(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureBytesField4IsMutable(); bytesField4_.add(value); onChanged(); return this; } /** * <code>repeated bytes bytes_field = 4;</code> */ public Builder addAllBytesField4( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureBytesField4IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bytesField4_); onChanged(); return this; } /** * <code>repeated bytes bytes_field = 4;</code> */ public Builder clearBytesField4() { bytesField4_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> messageField5_ = java.util.Collections.emptyList(); private void ensureMessageField5IsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { messageField5_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage>(messageField5_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> messageField5Builder_; /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField5List() { if (messageField5Builder_ == null) { return java.util.Collections.unmodifiableList(messageField5_); } else { return messageField5Builder_.getMessageList(); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public int getMessageField5Count() { if (messageField5Builder_ == null) { return messageField5_.size(); } else { return messageField5Builder_.getCount(); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField5(int index) { if (messageField5Builder_ == null) { return messageField5_.get(index); } else { return messageField5Builder_.getMessage(index); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder setMessageField5( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField5Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField5IsMutable(); messageField5_.set(index, value); onChanged(); } else { messageField5Builder_.setMessage(index, value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder setMessageField5( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField5Builder_ == null) { ensureMessageField5IsMutable(); messageField5_.set(index, builderForValue.build()); onChanged(); } else { messageField5Builder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder addMessageField5(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField5Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField5IsMutable(); messageField5_.add(value); onChanged(); } else { messageField5Builder_.addMessage(value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder addMessageField5( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField5Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField5IsMutable(); messageField5_.add(index, value); onChanged(); } else { messageField5Builder_.addMessage(index, value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder addMessageField5( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField5Builder_ == null) { ensureMessageField5IsMutable(); messageField5_.add(builderForValue.build()); onChanged(); } else { messageField5Builder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder addMessageField5( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField5Builder_ == null) { ensureMessageField5IsMutable(); messageField5_.add(index, builderForValue.build()); onChanged(); } else { messageField5Builder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder addAllMessageField5( java.lang.Iterable<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> values) { if (messageField5Builder_ == null) { ensureMessageField5IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, messageField5_); onChanged(); } else { messageField5Builder_.addAllMessages(values); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder clearMessageField5() { if (messageField5Builder_ == null) { messageField5_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { messageField5Builder_.clear(); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public Builder removeMessageField5(int index) { if (messageField5Builder_ == null) { ensureMessageField5IsMutable(); messageField5_.remove(index); onChanged(); } else { messageField5Builder_.remove(index); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder getMessageField5Builder( int index) { return getMessageField5FieldBuilder().getBuilder(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField5OrBuilder( int index) { if (messageField5Builder_ == null) { return messageField5_.get(index); } else { return messageField5Builder_.getMessageOrBuilder(index); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField5OrBuilderList() { if (messageField5Builder_ != null) { return messageField5Builder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(messageField5_); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder addMessageField5Builder() { return getMessageField5FieldBuilder().addBuilder( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder addMessageField5Builder( int index) { return getMessageField5FieldBuilder().addBuilder( index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field = 5;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder> getMessageField5BuilderList() { return getMessageField5FieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField5FieldBuilder() { if (messageField5Builder_ == null) { messageField5Builder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder>( messageField5_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); messageField5_ = null; } return messageField5Builder_; } private int int32FieldCount11_ ; /** * <code>optional int32 int32_field_count = 11;</code> */ public boolean hasInt32FieldCount11() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int32 int32_field_count = 11;</code> */ public int getInt32FieldCount11() { return int32FieldCount11_; } /** * <code>optional int32 int32_field_count = 11;</code> */ public Builder setInt32FieldCount11(int value) { bitField0_ |= 0x00000020; int32FieldCount11_ = value; onChanged(); return this; } /** * <code>optional int32 int32_field_count = 11;</code> */ public Builder clearInt32FieldCount11() { bitField0_ = (bitField0_ & ~0x00000020); int32FieldCount11_ = 0; onChanged(); return this; } private com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum enumFieldCount12_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.FOO; /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public boolean hasEnumFieldCount12() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumFieldCount12() { return enumFieldCount12_; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public Builder setEnumFieldCount12(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; enumFieldCount12_ = value; onChanged(); return this; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestEnum enum_field_count = 12;</code> */ public Builder clearEnumFieldCount12() { bitField0_ = (bitField0_ & ~0x00000040); enumFieldCount12_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum.FOO; onChanged(); return this; } private java.lang.Object stringFieldCount13_ = ""; /** * <code>optional string string_field_count = 13;</code> */ public boolean hasStringFieldCount13() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * <code>optional string string_field_count = 13;</code> */ public java.lang.String getStringFieldCount13() { java.lang.Object ref = stringFieldCount13_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stringFieldCount13_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string string_field_count = 13;</code> */ public com.google.protobuf.ByteString getStringFieldCount13Bytes() { java.lang.Object ref = stringFieldCount13_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stringFieldCount13_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string string_field_count = 13;</code> */ public Builder setStringFieldCount13( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; stringFieldCount13_ = value; onChanged(); return this; } /** * <code>optional string string_field_count = 13;</code> */ public Builder clearStringFieldCount13() { bitField0_ = (bitField0_ & ~0x00000080); stringFieldCount13_ = getDefaultInstance().getStringFieldCount13(); onChanged(); return this; } /** * <code>optional string string_field_count = 13;</code> */ public Builder setStringFieldCount13Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; stringFieldCount13_ = value; onChanged(); return this; } private com.google.protobuf.ByteString bytesFieldCount14_ = com.google.protobuf.ByteString.EMPTY; /** * <code>optional bytes bytes_field_count = 14;</code> */ public boolean hasBytesFieldCount14() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * <code>optional bytes bytes_field_count = 14;</code> */ public com.google.protobuf.ByteString getBytesFieldCount14() { return bytesFieldCount14_; } /** * <code>optional bytes bytes_field_count = 14;</code> */ public Builder setBytesFieldCount14(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; bytesFieldCount14_ = value; onChanged(); return this; } /** * <code>optional bytes bytes_field_count = 14;</code> */ public Builder clearBytesFieldCount14() { bitField0_ = (bitField0_ & ~0x00000100); bytesFieldCount14_ = getDefaultInstance().getBytesFieldCount14(); onChanged(); return this; } private com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage messageFieldCount15_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> messageFieldCount15Builder_; /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public boolean hasMessageFieldCount15() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageFieldCount15() { if (messageFieldCount15Builder_ == null) { return messageFieldCount15_; } else { return messageFieldCount15Builder_.getMessage(); } } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public Builder setMessageFieldCount15(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageFieldCount15Builder_ == null) { if (value == null) { throw new NullPointerException(); } messageFieldCount15_ = value; onChanged(); } else { messageFieldCount15Builder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public Builder setMessageFieldCount15( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageFieldCount15Builder_ == null) { messageFieldCount15_ = builderForValue.build(); onChanged(); } else { messageFieldCount15Builder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public Builder mergeMessageFieldCount15(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageFieldCount15Builder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && messageFieldCount15_ != com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()) { messageFieldCount15_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.newBuilder(messageFieldCount15_).mergeFrom(value).buildPartial(); } else { messageFieldCount15_ = value; } onChanged(); } else { messageFieldCount15Builder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public Builder clearMessageFieldCount15() { if (messageFieldCount15Builder_ == null) { messageFieldCount15_ = com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance(); onChanged(); } else { messageFieldCount15Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder getMessageFieldCount15Builder() { bitField0_ |= 0x00000200; onChanged(); return getMessageFieldCount15FieldBuilder().getBuilder(); } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageFieldCount15OrBuilder() { if (messageFieldCount15Builder_ != null) { return messageFieldCount15Builder_.getMessageOrBuilder(); } else { return messageFieldCount15_; } } /** * <code>optional .io_protocol_tests.TestConflictingFieldNames.TestMessage message_field_count = 15;</code> */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageFieldCount15FieldBuilder() { if (messageFieldCount15Builder_ == null) { messageFieldCount15Builder_ = new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder>( getMessageFieldCount15(), getParentForChildren(), isClean()); messageFieldCount15_ = null; } return messageFieldCount15Builder_; } private java.util.List<java.lang.Integer> int32Field21_ = java.util.Collections.emptyList(); private void ensureInt32Field21IsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { int32Field21_ = new java.util.ArrayList<java.lang.Integer>(int32Field21_); bitField0_ |= 0x00000400; } } /** * <code>repeated int32 Int32Field = 21;</code> */ public java.util.List<java.lang.Integer> getInt32Field21List() { return java.util.Collections.unmodifiableList(int32Field21_); } /** * <code>repeated int32 Int32Field = 21;</code> */ public int getInt32Field21Count() { return int32Field21_.size(); } /** * <code>repeated int32 Int32Field = 21;</code> */ public int getInt32Field21(int index) { return int32Field21_.get(index); } /** * <code>repeated int32 Int32Field = 21;</code> */ public Builder setInt32Field21( int index, int value) { ensureInt32Field21IsMutable(); int32Field21_.set(index, value); onChanged(); return this; } /** * <code>repeated int32 Int32Field = 21;</code> */ public Builder addInt32Field21(int value) { ensureInt32Field21IsMutable(); int32Field21_.add(value); onChanged(); return this; } /** * <code>repeated int32 Int32Field = 21;</code> */ public Builder addAllInt32Field21( java.lang.Iterable<? extends java.lang.Integer> values) { ensureInt32Field21IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, int32Field21_); onChanged(); return this; } /** * <code>repeated int32 Int32Field = 21;</code> */ public Builder clearInt32Field21() { int32Field21_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> enumField22_ = java.util.Collections.emptyList(); private void ensureEnumField22IsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { enumField22_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum>(enumField22_); bitField0_ |= 0x00000800; } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> getEnumField22List() { return java.util.Collections.unmodifiableList(enumField22_); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public int getEnumField22Count() { return enumField22_.size(); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum getEnumField22(int index) { return enumField22_.get(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public Builder setEnumField22( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value) { if (value == null) { throw new NullPointerException(); } ensureEnumField22IsMutable(); enumField22_.set(index, value); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public Builder addEnumField22(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum value) { if (value == null) { throw new NullPointerException(); } ensureEnumField22IsMutable(); enumField22_.add(value); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public Builder addAllEnumField22( java.lang.Iterable<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestEnum> values) { ensureEnumField22IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumField22_); onChanged(); return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestEnum EnumField = 22;</code> */ public Builder clearEnumField22() { enumField22_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } private com.google.protobuf.LazyStringList stringField23_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringField23IsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { stringField23_ = new com.google.protobuf.LazyStringArrayList(stringField23_); bitField0_ |= 0x00001000; } } /** * <code>repeated string StringField = 23;</code> */ public com.google.protobuf.ProtocolStringList getStringField23List() { return stringField23_.getUnmodifiableView(); } /** * <code>repeated string StringField = 23;</code> */ public int getStringField23Count() { return stringField23_.size(); } /** * <code>repeated string StringField = 23;</code> */ public java.lang.String getStringField23(int index) { return stringField23_.get(index); } /** * <code>repeated string StringField = 23;</code> */ public com.google.protobuf.ByteString getStringField23Bytes(int index) { return stringField23_.getByteString(index); } /** * <code>repeated string StringField = 23;</code> */ public Builder setStringField23( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringField23IsMutable(); stringField23_.set(index, value); onChanged(); return this; } /** * <code>repeated string StringField = 23;</code> */ public Builder addStringField23( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStringField23IsMutable(); stringField23_.add(value); onChanged(); return this; } /** * <code>repeated string StringField = 23;</code> */ public Builder addAllStringField23( java.lang.Iterable<java.lang.String> values) { ensureStringField23IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stringField23_); onChanged(); return this; } /** * <code>repeated string StringField = 23;</code> */ public Builder clearStringField23() { stringField23_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** * <code>repeated string StringField = 23;</code> */ public Builder addStringField23Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureStringField23IsMutable(); stringField23_.add(value); onChanged(); return this; } private java.util.List<com.google.protobuf.ByteString> bytesField24_ = java.util.Collections.emptyList(); private void ensureBytesField24IsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { bytesField24_ = new java.util.ArrayList<com.google.protobuf.ByteString>(bytesField24_); bitField0_ |= 0x00002000; } } /** * <code>repeated bytes BytesField = 24;</code> */ public java.util.List<com.google.protobuf.ByteString> getBytesField24List() { return java.util.Collections.unmodifiableList(bytesField24_); } /** * <code>repeated bytes BytesField = 24;</code> */ public int getBytesField24Count() { return bytesField24_.size(); } /** * <code>repeated bytes BytesField = 24;</code> */ public com.google.protobuf.ByteString getBytesField24(int index) { return bytesField24_.get(index); } /** * <code>repeated bytes BytesField = 24;</code> */ public Builder setBytesField24( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureBytesField24IsMutable(); bytesField24_.set(index, value); onChanged(); return this; } /** * <code>repeated bytes BytesField = 24;</code> */ public Builder addBytesField24(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureBytesField24IsMutable(); bytesField24_.add(value); onChanged(); return this; } /** * <code>repeated bytes BytesField = 24;</code> */ public Builder addAllBytesField24( java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { ensureBytesField24IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bytesField24_); onChanged(); return this; } /** * <code>repeated bytes BytesField = 24;</code> */ public Builder clearBytesField24() { bytesField24_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } private java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> messageField25_ = java.util.Collections.emptyList(); private void ensureMessageField25IsMutable() { if (!((bitField0_ & 0x00004000) == 0x00004000)) { messageField25_ = new java.util.ArrayList<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage>(messageField25_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> messageField25Builder_; /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> getMessageField25List() { if (messageField25Builder_ == null) { return java.util.Collections.unmodifiableList(messageField25_); } else { return messageField25Builder_.getMessageList(); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public int getMessageField25Count() { if (messageField25Builder_ == null) { return messageField25_.size(); } else { return messageField25Builder_.getCount(); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage getMessageField25(int index) { if (messageField25Builder_ == null) { return messageField25_.get(index); } else { return messageField25Builder_.getMessage(index); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder setMessageField25( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField25Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField25IsMutable(); messageField25_.set(index, value); onChanged(); } else { messageField25Builder_.setMessage(index, value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder setMessageField25( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField25Builder_ == null) { ensureMessageField25IsMutable(); messageField25_.set(index, builderForValue.build()); onChanged(); } else { messageField25Builder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder addMessageField25(com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField25Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField25IsMutable(); messageField25_.add(value); onChanged(); } else { messageField25Builder_.addMessage(value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder addMessageField25( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage value) { if (messageField25Builder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMessageField25IsMutable(); messageField25_.add(index, value); onChanged(); } else { messageField25Builder_.addMessage(index, value); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder addMessageField25( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField25Builder_ == null) { ensureMessageField25IsMutable(); messageField25_.add(builderForValue.build()); onChanged(); } else { messageField25Builder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder addMessageField25( int index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder builderForValue) { if (messageField25Builder_ == null) { ensureMessageField25IsMutable(); messageField25_.add(index, builderForValue.build()); onChanged(); } else { messageField25Builder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder addAllMessageField25( java.lang.Iterable<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage> values) { if (messageField25Builder_ == null) { ensureMessageField25IsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, messageField25_); onChanged(); } else { messageField25Builder_.addAllMessages(values); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder clearMessageField25() { if (messageField25Builder_ == null) { messageField25_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { messageField25Builder_.clear(); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public Builder removeMessageField25(int index) { if (messageField25Builder_ == null) { ensureMessageField25IsMutable(); messageField25_.remove(index); onChanged(); } else { messageField25Builder_.remove(index); } return this; } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder getMessageField25Builder( int index) { return getMessageField25FieldBuilder().getBuilder(index); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder getMessageField25OrBuilder( int index) { if (messageField25Builder_ == null) { return messageField25_.get(index); } else { return messageField25Builder_.getMessageOrBuilder(index); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public java.util.List<? extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField25OrBuilderList() { if (messageField25Builder_ != null) { return messageField25Builder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(messageField25_); } } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder addMessageField25Builder() { return getMessageField25FieldBuilder().addBuilder( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder addMessageField25Builder( int index) { return getMessageField25FieldBuilder().addBuilder( index, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.getDefaultInstance()); } /** * <code>repeated .io_protocol_tests.TestConflictingFieldNames.TestMessage MessageField = 25;</code> */ public java.util.List<com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder> getMessageField25BuilderList() { return getMessageField25FieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder> getMessageField25FieldBuilder() { if (messageField25Builder_ == null) { messageField25Builder_ = new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessage.Builder, com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.TestMessageOrBuilder>( messageField25_, ((bitField0_ & 0x00004000) == 0x00004000), getParentForChildren(), isClean()); messageField25_ = null; } return messageField25Builder_; } private int int32FieldList31_ ; /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public boolean hasInt32FieldList31() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public int getInt32FieldList31() { return int32FieldList31_; } /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public Builder setInt32FieldList31(int value) { bitField0_ |= 0x00008000; int32FieldList31_ = value; onChanged(); return this; } /** * <code>required int32 int32_field_list = 31;</code> * * <pre> * This field conflicts with "int32_field" as they both generate * the method getInt32FieldList(). * </pre> */ public Builder clearInt32FieldList31() { bitField0_ = (bitField0_ & ~0x00008000); int32FieldList31_ = 0; onChanged(); return this; } private java.util.List<java.lang.Long> int64Field_ = java.util.Collections.emptyList(); private void ensureInt64FieldIsMutable() { if (!((bitField0_ & 0x00010000) == 0x00010000)) { int64Field_ = new java.util.ArrayList<java.lang.Long>(int64Field_); bitField0_ |= 0x00010000; } } /** * <code>repeated int64 int64_field = 41;</code> */ public java.util.List<java.lang.Long> getInt64FieldList() { return java.util.Collections.unmodifiableList(int64Field_); } /** * <code>repeated int64 int64_field = 41;</code> */ public int getInt64FieldCount() { return int64Field_.size(); } /** * <code>repeated int64 int64_field = 41;</code> */ public long getInt64Field(int index) { return int64Field_.get(index); } /** * <code>repeated int64 int64_field = 41;</code> */ public Builder setInt64Field( int index, long value) { ensureInt64FieldIsMutable(); int64Field_.set(index, value); onChanged(); return this; } /** * <code>repeated int64 int64_field = 41;</code> */ public Builder addInt64Field(long value) { ensureInt64FieldIsMutable(); int64Field_.add(value); onChanged(); return this; } /** * <code>repeated int64 int64_field = 41;</code> */ public Builder addAllInt64Field( java.lang.Iterable<? extends java.lang.Long> values) { ensureInt64FieldIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, int64Field_); onChanged(); return this; } /** * <code>repeated int64 int64_field = 41;</code> */ public Builder clearInt64Field() { int64Field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:io_protocol_tests.TestConflictingFieldNames) } static { defaultInstance = new TestConflictingFieldNames(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:io_protocol_tests.TestConflictingFieldNames) public static final int INT64_FIELD_COUNT_FIELD_NUMBER = 1001; /** * <code>extend .io_protocol_tests.TestConflictingFieldNames { ... }</code> * * <pre> * We don't generate accessors for extensions so the following extension * fields don't conflict with the repeated field "int64_field". * </pre> */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames, java.lang.Long> int64FieldCount = com.google.protobuf.GeneratedMessage .newMessageScopedGeneratedExtension( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.getDefaultInstance(), 0, java.lang.Long.class, null); public static final int INT64_FIELD_LIST_FIELD_NUMBER = 1002; /** * <code>extend .io_protocol_tests.TestConflictingFieldNames { ... }</code> */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames, java.lang.Long> int64FieldList = com.google.protobuf.GeneratedMessage .newMessageScopedGeneratedExtension( com.google.protobuf.TestBadIdentifiersProto.TestConflictingFieldNames.getDefaultInstance(), 1, java.lang.Long.class, null); } /** * Protobuf service {@code io_protocol_tests.TestConflictingMethodNames} */ public static abstract class TestConflictingMethodNames implements com.google.protobuf.Service { protected TestConflictingMethodNames() {} public interface Interface { /** * <code>rpc Override(.io_protocol_tests.TestMessage) returns (.io_protocol_tests.TestMessage);</code> */ public abstract void override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request, com.google.protobuf.RpcCallback<com.google.protobuf.TestBadIdentifiersProto.TestMessage> done); } public static com.google.protobuf.Service newReflectiveService( final Interface impl) { return new TestConflictingMethodNames() { @java.lang.Override public void override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request, com.google.protobuf.RpcCallback<com.google.protobuf.TestBadIdentifiersProto.TestMessage> done) { impl.override(controller, request, done); } }; } public static com.google.protobuf.BlockingService newReflectiveBlockingService(final BlockingInterface impl) { return new com.google.protobuf.BlockingService() { public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final com.google.protobuf.Message callBlockingMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request) throws com.google.protobuf.ServiceException { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callBlockingMethod() given method descriptor for " + "wrong service type."); } switch(method.getIndex()) { case 0: return impl.override(controller, (com.google.protobuf.TestBadIdentifiersProto.TestMessage)request); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } }; } /** * <code>rpc Override(.io_protocol_tests.TestMessage) returns (.io_protocol_tests.TestMessage);</code> */ public abstract void override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request, com.google.protobuf.RpcCallback<com.google.protobuf.TestBadIdentifiersProto.TestMessage> done); public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor() { return com.google.protobuf.TestBadIdentifiersProto.getDescriptor().getServices().get(0); } public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final void callMethod( com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback< com.google.protobuf.Message> done) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callMethod() given method descriptor for wrong " + "service type."); } switch(method.getIndex()) { case 0: this.override(controller, (com.google.protobuf.TestBadIdentifiersProto.TestMessage)request, com.google.protobuf.RpcUtil.<com.google.protobuf.TestBadIdentifiersProto.TestMessage>specializeCallback( done)); return; default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public static Stub newStub( com.google.protobuf.RpcChannel channel) { return new Stub(channel); } public static final class Stub extends com.google.protobuf.TestBadIdentifiersProto.TestConflictingMethodNames implements Interface { private Stub(com.google.protobuf.RpcChannel channel) { this.channel = channel; } private final com.google.protobuf.RpcChannel channel; public com.google.protobuf.RpcChannel getChannel() { return channel; } public void override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request, com.google.protobuf.RpcCallback<com.google.protobuf.TestBadIdentifiersProto.TestMessage> done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, com.google.protobuf.TestBadIdentifiersProto.TestMessage.class, com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance())); } } public static BlockingInterface newBlockingStub( com.google.protobuf.BlockingRpcChannel channel) { return new BlockingStub(channel); } public interface BlockingInterface { public com.google.protobuf.TestBadIdentifiersProto.TestMessage override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request) throws com.google.protobuf.ServiceException; } private static final class BlockingStub implements BlockingInterface { private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) { this.channel = channel; } private final com.google.protobuf.BlockingRpcChannel channel; public com.google.protobuf.TestBadIdentifiersProto.TestMessage override( com.google.protobuf.RpcController controller, com.google.protobuf.TestBadIdentifiersProto.TestMessage request) throws com.google.protobuf.ServiceException { return (com.google.protobuf.TestBadIdentifiersProto.TestMessage) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, com.google.protobuf.TestBadIdentifiersProto.TestMessage.getDefaultInstance()); } } // @@protoc_insertion_point(class_scope:io_protocol_tests.TestConflictingMethodNames) } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_TestMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_TestMessage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Descriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Descriptor_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Descriptor_NestedDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Descriptor_NestedDescriptor_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Parser_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Parser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Deprecated_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Deprecated_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Override_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Override_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Object_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Object_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_String_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_String_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Integer_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Integer_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Long_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Long_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Float_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Float_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_Double_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_Double_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_TestConflictingFieldNames_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n.com/google/protobuf/test_bad_identifie" + "rs.proto\022\021io_protocol_tests\"J\n\013TestMessa" + "ge\022\023\n\013cached_size\030\001 \001(\t\022\027\n\017serialized_si" + "ze\030\002 \001(\t\022\r\n\005class\030\003 \001(\t\"\262\001\n\nDescriptor\022\022" + "\n\ndescriptor\030\001 \001(\t\022I\n\021nested_descriptor\030" + "\002 \001(\0132..io_protocol_tests.Descriptor.Nes" + "tedDescriptor\032*\n\020NestedDescriptor\022\022\n\ndes" + "criptor\030\001 \001(\t:\002\020\001\"\025\n\nNestedEnum\022\007\n\003FOO\020\001" + ":\002\020\001\"X\n\006Parser\0224\n\006parser\030\001 \001(\0162$.io_prot" + "ocol_tests.Parser.ParserEnum\"\030\n\nParserEn", "um\022\n\n\006PARSER\020\001\"\262\001\n\nDeprecated\022\022\n\006field1\030" + "\001 \001(\005B\002\030\001\022:\n\006field2\030\002 \001(\0162&.io_protocol_" + "tests.Deprecated.TestEnumB\002\030\001\0222\n\006field3\030" + "\003 \001(\0132\036.io_protocol_tests.TestMessageB\002\030" + "\001\" \n\010TestEnum\022\007\n\003FOO\020\001\022\013\n\003BAR\020\002\032\002\010\001\"\034\n\010O" + "verride\022\020\n\010override\030\001 \001(\005\"/\n\006Object\022\016\n\006o" + "bject\030\001 \001(\005\022\025\n\rstring_object\030\002 \001(\t\"\030\n\006St" + "ring\022\016\n\006string\030\001 \001(\t\"\032\n\007Integer\022\017\n\007integ" + "er\030\001 \001(\005\"\024\n\004Long\022\014\n\004long\030\001 \001(\005\"\026\n\005Float\022" + "\r\n\005float\030\001 \001(\002\"\030\n\006Double\022\016\n\006double\030\001 \001(\001", "\"\271\007\n\031TestConflictingFieldNames\022\023\n\013int32_" + "field\030\001 \003(\005\022I\n\nenum_field\030\002 \003(\01625.io_pro" + "tocol_tests.TestConflictingFieldNames.Te" + "stEnum\022\024\n\014string_field\030\003 \003(\t\022\023\n\013bytes_fi" + "eld\030\004 \003(\014\022O\n\rmessage_field\030\005 \003(\01328.io_pr" + "otocol_tests.TestConflictingFieldNames.T" + "estMessage\022\031\n\021int32_field_count\030\013 \001(\005\022O\n" + "\020enum_field_count\030\014 \001(\01625.io_protocol_te" + "sts.TestConflictingFieldNames.TestEnum\022\032" + "\n\022string_field_count\030\r \001(\t\022\031\n\021bytes_fiel", "d_count\030\016 \001(\014\022U\n\023message_field_count\030\017 \001" + "(\01328.io_protocol_tests.TestConflictingFi" + "eldNames.TestMessage\022\022\n\nInt32Field\030\025 \003(\005" + "\022H\n\tEnumField\030\026 \003(\01625.io_protocol_tests." + "TestConflictingFieldNames.TestEnum\022\023\n\013St" + "ringField\030\027 \003(\t\022\022\n\nBytesField\030\030 \003(\014\022N\n\014M" + "essageField\030\031 \003(\01328.io_protocol_tests.Te" + "stConflictingFieldNames.TestMessage\022\030\n\020i" + "nt32_field_list\030\037 \002(\005\022\023\n\013int64_field\030) \003" + "(\003\032\r\n\013TestMessage\"\023\n\010TestEnum\022\007\n\003FOO\020\001*\t", "\010\350\007\020\200\200\200\200\0022H\n\021int64_field_count\022,.io_prot" + "ocol_tests.TestConflictingFieldNames\030\351\007 " + "\001(\0032G\n\020int64_field_list\022,.io_protocol_te" + "sts.TestConflictingFieldNames\030\352\007 \001(\0032h\n\032" + "TestConflictingMethodNames\022J\n\010Override\022\036" + ".io_protocol_tests.TestMessage\032\036.io_prot" + "ocol_tests.TestMessageB4\n\023com.google.pro" + "tobufB\027TestBadIdentifiersProto\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_io_protocol_tests_TestMessage_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_protocol_tests_TestMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_TestMessage_descriptor, new java.lang.String[] { "CachedSize_", "SerializedSize_", "Class_", }); internal_static_io_protocol_tests_Descriptor_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_protocol_tests_Descriptor_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Descriptor_descriptor, new java.lang.String[] { "Descriptor", "NestedDescriptor", }); internal_static_io_protocol_tests_Descriptor_NestedDescriptor_descriptor = internal_static_io_protocol_tests_Descriptor_descriptor.getNestedTypes().get(0); internal_static_io_protocol_tests_Descriptor_NestedDescriptor_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Descriptor_NestedDescriptor_descriptor, new java.lang.String[] { "Descriptor", }); internal_static_io_protocol_tests_Parser_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_io_protocol_tests_Parser_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Parser_descriptor, new java.lang.String[] { "Parser", }); internal_static_io_protocol_tests_Deprecated_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_io_protocol_tests_Deprecated_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Deprecated_descriptor, new java.lang.String[] { "Field1", "Field2", "Field3", }); internal_static_io_protocol_tests_Override_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_io_protocol_tests_Override_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Override_descriptor, new java.lang.String[] { "Override", }); internal_static_io_protocol_tests_Object_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_io_protocol_tests_Object_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Object_descriptor, new java.lang.String[] { "Object", "StringObject", }); internal_static_io_protocol_tests_String_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_io_protocol_tests_String_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_String_descriptor, new java.lang.String[] { "String", }); internal_static_io_protocol_tests_Integer_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_io_protocol_tests_Integer_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Integer_descriptor, new java.lang.String[] { "Integer", }); internal_static_io_protocol_tests_Long_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_io_protocol_tests_Long_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Long_descriptor, new java.lang.String[] { "Long", }); internal_static_io_protocol_tests_Float_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_io_protocol_tests_Float_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Float_descriptor, new java.lang.String[] { "Float", }); internal_static_io_protocol_tests_Double_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_io_protocol_tests_Double_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_Double_descriptor, new java.lang.String[] { "Double", }); internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_io_protocol_tests_TestConflictingFieldNames_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor, new java.lang.String[] { "Int32Field1", "EnumField2", "StringField3", "BytesField4", "MessageField5", "Int32FieldCount11", "EnumFieldCount12", "StringFieldCount13", "BytesFieldCount14", "MessageFieldCount15", "Int32Field21", "EnumField22", "StringField23", "BytesField24", "MessageField25", "Int32FieldList31", "Int64Field", }); internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor = internal_static_io_protocol_tests_TestConflictingFieldNames_descriptor.getNestedTypes().get(0); internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_io_protocol_tests_TestConflictingFieldNames_TestMessage_descriptor, new java.lang.String[] { }); } // @@protoc_insertion_point(outer_class_scope) }