public static final class UnittestLite.TestAllTypesLite.OptionalGroup extends com.google.protobuf.GeneratedMessageLite implements UnittestLite.TestAllTypesLite.OptionalGroupOrBuilder
protobuf_unittest.TestAllTypesLite.OptionalGroup
Modifier and Type | Class and Description |
---|---|
static class |
UnittestLite.TestAllTypesLite.OptionalGroup.Builder
Protobuf type
protobuf_unittest.TestAllTypesLite.OptionalGroup |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
A_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestLite.TestAllTypesLite.OptionalGroup> |
PARSER |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<UnittestLite.TestAllTypesLite.OptionalGroup> PARSER
public static final int A_FIELD_NUMBER
public static UnittestLite.TestAllTypesLite.OptionalGroup getDefaultInstance()
public UnittestLite.TestAllTypesLite.OptionalGroup getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<UnittestLite.TestAllTypesLite.OptionalGroup> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasA()
optional int32 a = 17;
hasA
in interface UnittestLite.TestAllTypesLite.OptionalGroupOrBuilder
public int getA()
optional int32 a = 17;
getA
in interface UnittestLite.TestAllTypesLite.OptionalGroupOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
java.io.ObjectStreamException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestLite.TestAllTypesLite.OptionalGroup.Builder newBuilder()
public UnittestLite.TestAllTypesLite.OptionalGroup.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestLite.TestAllTypesLite.OptionalGroup.Builder newBuilder(UnittestLite.TestAllTypesLite.OptionalGroup prototype)
public UnittestLite.TestAllTypesLite.OptionalGroup.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite