public static final class UnittestCustomOptions.ComplexOptionType1 extends com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestCustomOptions.ComplexOptionType1> implements UnittestCustomOptions.ComplexOptionType1OrBuilder
protobuf_unittest.ComplexOptionType1| Modifier and Type | Class and Description |
|---|---|
static class |
UnittestCustomOptions.ComplexOptionType1.Builder
Protobuf type
protobuf_unittest.ComplexOptionType1 |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.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 |
FOO_FIELD_NUMBER |
static int |
FOO2_FIELD_NUMBER |
static int |
FOO3_FIELD_NUMBER |
static int |
FOO4_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType1> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static UnittestCustomOptions.ComplexOptionType1 |
getDefaultInstance() |
UnittestCustomOptions.ComplexOptionType1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFoo()
optional int32 foo = 1; |
int |
getFoo2()
optional int32 foo2 = 2; |
int |
getFoo3()
optional int32 foo3 = 3; |
int |
getFoo4(int index)
repeated int32 foo4 = 4; |
int |
getFoo4Count()
repeated int32 foo4 = 4; |
java.util.List<java.lang.Integer> |
getFoo4List()
repeated int32 foo4 = 4; |
com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType1> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFoo()
optional int32 foo = 1; |
boolean |
hasFoo2()
optional int32 foo2 = 2; |
boolean |
hasFoo3()
optional int32 foo3 = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UnittestCustomOptions.ComplexOptionType1.Builder |
newBuilder() |
static UnittestCustomOptions.ComplexOptionType1.Builder |
newBuilder(UnittestCustomOptions.ComplexOptionType1 prototype) |
UnittestCustomOptions.ComplexOptionType1.Builder |
newBuilderForType() |
protected UnittestCustomOptions.ComplexOptionType1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestCustomOptions.ComplexOptionType1 |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestCustomOptions.ComplexOptionType1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(byte[] data) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(java.io.InputStream input) |
static UnittestCustomOptions.ComplexOptionType1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestCustomOptions.ComplexOptionType1.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, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType1> PARSER
public static final int FOO_FIELD_NUMBER
public static final int FOO2_FIELD_NUMBER
public static final int FOO3_FIELD_NUMBER
public static final int FOO4_FIELD_NUMBER
public static UnittestCustomOptions.ComplexOptionType1 getDefaultInstance()
public UnittestCustomOptions.ComplexOptionType1 getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<UnittestCustomOptions.ComplexOptionType1>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<UnittestCustomOptions.ComplexOptionType1> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasFoo()
optional int32 foo = 1;hasFoo in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic int getFoo()
optional int32 foo = 1;getFoo in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic boolean hasFoo2()
optional int32 foo2 = 2;hasFoo2 in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic int getFoo2()
optional int32 foo2 = 2;getFoo2 in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic boolean hasFoo3()
optional int32 foo3 = 3;hasFoo3 in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic int getFoo3()
optional int32 foo3 = 3;getFoo3 in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic java.util.List<java.lang.Integer> getFoo4List()
repeated int32 foo4 = 4;getFoo4List in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic int getFoo4Count()
repeated int32 foo4 = 4;getFoo4Count in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic int getFoo4(int index)
repeated int32 foo4 = 4;getFoo4 in interface UnittestCustomOptions.ComplexOptionType1OrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestCustomOptions.ComplexOptionType1>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestCustomOptions.ComplexOptionType1.Builder newBuilder()
public UnittestCustomOptions.ComplexOptionType1.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestCustomOptions.ComplexOptionType1.Builder newBuilder(UnittestCustomOptions.ComplexOptionType1 prototype)
public UnittestCustomOptions.ComplexOptionType1.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestCustomOptions.ComplexOptionType1.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage