public static final class UnittestCustomOptions.ComplexOptionType2 extends com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestCustomOptions.ComplexOptionType2> implements UnittestCustomOptions.ComplexOptionType2OrBuilder
protobuf_unittest.ComplexOptionType2
Modifier and Type | Class and Description |
---|---|
static class |
UnittestCustomOptions.ComplexOptionType2.Builder
Protobuf type
protobuf_unittest.ComplexOptionType2 |
static class |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4
Protobuf type
protobuf_unittest.ComplexOptionType2.ComplexOptionType4 |
static interface |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriter
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BAR_FIELD_NUMBER |
static int |
BARNEY_FIELD_NUMBER |
static int |
BAZ_FIELD_NUMBER |
static int |
FRED_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType2> |
PARSER |
Modifier and Type | Method and Description |
---|---|
UnittestCustomOptions.ComplexOptionType1 |
getBar()
optional .protobuf_unittest.ComplexOptionType1 bar = 1; |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4 |
getBarney(int index)
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4; |
int |
getBarneyCount()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4; |
java.util.List<UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4> |
getBarneyList()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4; |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder |
getBarneyOrBuilder(int index)
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4; |
java.util.List<? extends UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder> |
getBarneyOrBuilderList()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4; |
UnittestCustomOptions.ComplexOptionType1OrBuilder |
getBarOrBuilder()
optional .protobuf_unittest.ComplexOptionType1 bar = 1; |
int |
getBaz()
optional int32 baz = 2; |
static UnittestCustomOptions.ComplexOptionType2 |
getDefaultInstance() |
UnittestCustomOptions.ComplexOptionType2 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4 |
getFred()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3; |
UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder |
getFredOrBuilder()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3; |
com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType2> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBar()
optional .protobuf_unittest.ComplexOptionType1 bar = 1; |
boolean |
hasBaz()
optional int32 baz = 2; |
boolean |
hasFred()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UnittestCustomOptions.ComplexOptionType2.Builder |
newBuilder() |
static UnittestCustomOptions.ComplexOptionType2.Builder |
newBuilder(UnittestCustomOptions.ComplexOptionType2 prototype) |
UnittestCustomOptions.ComplexOptionType2.Builder |
newBuilderForType() |
protected UnittestCustomOptions.ComplexOptionType2.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestCustomOptions.ComplexOptionType2 |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestCustomOptions.ComplexOptionType2 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(byte[] data) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(java.io.InputStream input) |
static UnittestCustomOptions.ComplexOptionType2 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestCustomOptions.ComplexOptionType2.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
public static com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType2> PARSER
public static final int BAR_FIELD_NUMBER
public static final int BAZ_FIELD_NUMBER
public static final int FRED_FIELD_NUMBER
public static final int BARNEY_FIELD_NUMBER
public static UnittestCustomOptions.ComplexOptionType2 getDefaultInstance()
public UnittestCustomOptions.ComplexOptionType2 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<UnittestCustomOptions.ComplexOptionType2>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType2> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasBar()
optional .protobuf_unittest.ComplexOptionType1 bar = 1;
hasBar
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType1 getBar()
optional .protobuf_unittest.ComplexOptionType1 bar = 1;
getBar
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType1OrBuilder getBarOrBuilder()
optional .protobuf_unittest.ComplexOptionType1 bar = 1;
getBarOrBuilder
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public boolean hasBaz()
optional int32 baz = 2;
hasBaz
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public int getBaz()
optional int32 baz = 2;
getBaz
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public boolean hasFred()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3;
hasFred
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4 getFred()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3;
getFred
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder getFredOrBuilder()
optional .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 fred = 3;
getFredOrBuilder
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public java.util.List<UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4> getBarneyList()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4;
getBarneyList
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public java.util.List<? extends UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder> getBarneyOrBuilderList()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4;
getBarneyOrBuilderList
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public int getBarneyCount()
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4;
getBarneyCount
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4 getBarney(int index)
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4;
getBarney
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public UnittestCustomOptions.ComplexOptionType2.ComplexOptionType4OrBuilder getBarneyOrBuilder(int index)
repeated .protobuf_unittest.ComplexOptionType2.ComplexOptionType4 barney = 4;
getBarneyOrBuilder
in interface UnittestCustomOptions.ComplexOptionType2OrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestCustomOptions.ComplexOptionType2>
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType2.Builder newBuilder()
public UnittestCustomOptions.ComplexOptionType2.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestCustomOptions.ComplexOptionType2.Builder newBuilder(UnittestCustomOptions.ComplexOptionType2 prototype)
public UnittestCustomOptions.ComplexOptionType2.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestCustomOptions.ComplexOptionType2.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage