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.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 |
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, 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.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.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.ComplexOptionType1> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasFoo()
optional int32 foo = 1;
hasFoo
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo()
optional int32 foo = 1;
getFoo
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public boolean hasFoo2()
optional int32 foo2 = 2;
hasFoo2
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo2()
optional int32 foo2 = 2;
getFoo2
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public boolean hasFoo3()
optional int32 foo3 = 3;
hasFoo3
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo3()
optional int32 foo3 = 3;
getFoo3
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public java.util.List<java.lang.Integer> getFoo4List()
repeated int32 foo4 = 4;
getFoo4List
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo4Count()
repeated int32 foo4 = 4;
getFoo4Count
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public int getFoo4(int index)
repeated int32 foo4 = 4;
getFoo4
in interface UnittestCustomOptions.ComplexOptionType1OrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
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.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.ComplexOptionType1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestCustomOptions.ComplexOptionType1.Builder newBuilder()
public UnittestCustomOptions.ComplexOptionType1.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestCustomOptions.ComplexOptionType1.Builder newBuilder(UnittestCustomOptions.ComplexOptionType1 prototype)
public UnittestCustomOptions.ComplexOptionType1.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestCustomOptions.ComplexOptionType1.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage