public static final class UnittestOptimizeFor.TestOptimizedForSize extends com.google.protobuf.GeneratedMessage.ExtendableMessage<UnittestOptimizeFor.TestOptimizedForSize> implements UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
protobuf_unittest.TestOptimizedForSize| Modifier and Type | Class and Description |
|---|---|
static class |
UnittestOptimizeFor.TestOptimizedForSize.Builder
Protobuf type
protobuf_unittest.TestOptimizedForSize |
static class |
UnittestOptimizeFor.TestOptimizedForSize.FooCase |
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 |
I_FIELD_NUMBER |
static int |
INTEGER_FIELD_FIELD_NUMBER |
static int |
MSG_FIELD_NUMBER |
static com.google.protobuf.Parser<UnittestOptimizeFor.TestOptimizedForSize> |
PARSER |
static int |
STRING_FIELD_FIELD_NUMBER |
static int |
TEST_EXTENSION_FIELD_NUMBER |
static int |
TEST_EXTENSION2_FIELD_NUMBER |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestOptimizeFor.TestOptimizedForSize,java.lang.Integer> |
testExtension
extend .protobuf_unittest.TestOptimizedForSize { ... |
static com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestOptimizeFor.TestOptimizedForSize,UnittestOptimizeFor.TestRequiredOptimizedForSize> |
testExtension2
extend .protobuf_unittest.TestOptimizedForSize { ... |
| Modifier and Type | Method and Description |
|---|---|
static UnittestOptimizeFor.TestOptimizedForSize |
getDefaultInstance() |
UnittestOptimizeFor.TestOptimizedForSize |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
UnittestOptimizeFor.TestOptimizedForSize.FooCase |
getFooCase() |
int |
getI()
optional int32 i = 1; |
int |
getIntegerField()
optional int32 integer_field = 2; |
UnittestProto.ForeignMessage |
getMsg()
optional .protobuf_unittest.ForeignMessage msg = 19; |
UnittestProto.ForeignMessageOrBuilder |
getMsgOrBuilder()
optional .protobuf_unittest.ForeignMessage msg = 19; |
com.google.protobuf.Parser<UnittestOptimizeFor.TestOptimizedForSize> |
getParserForType() |
java.lang.String |
getStringField()
optional string string_field = 3; |
com.google.protobuf.ByteString |
getStringFieldBytes()
optional string string_field = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasI()
optional int32 i = 1; |
boolean |
hasIntegerField()
optional int32 integer_field = 2; |
boolean |
hasMsg()
optional .protobuf_unittest.ForeignMessage msg = 19; |
boolean |
hasStringField()
optional string string_field = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
static UnittestOptimizeFor.TestOptimizedForSize.Builder |
newBuilder() |
static UnittestOptimizeFor.TestOptimizedForSize.Builder |
newBuilder(UnittestOptimizeFor.TestOptimizedForSize prototype) |
UnittestOptimizeFor.TestOptimizedForSize.Builder |
newBuilderForType() |
protected UnittestOptimizeFor.TestOptimizedForSize.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(byte[] data) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(java.io.InputStream input) |
static UnittestOptimizeFor.TestOptimizedForSize |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestOptimizeFor.TestOptimizedForSize.Builder |
toBuilder() |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, isInitialized, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, writeReplaceequals, findInitializationErrors, getInitializationErrorString, getSerializedSize, hashCode, hashFields, toString, writeTocheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<UnittestOptimizeFor.TestOptimizedForSize> PARSER
public static final int I_FIELD_NUMBER
public static final int MSG_FIELD_NUMBER
public static final int INTEGER_FIELD_FIELD_NUMBER
public static final int STRING_FIELD_FIELD_NUMBER
public static final int TEST_EXTENSION_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestOptimizeFor.TestOptimizedForSize,java.lang.Integer> testExtension
extend .protobuf_unittest.TestOptimizedForSize { ... }public static final int TEST_EXTENSION2_FIELD_NUMBER
public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<UnittestOptimizeFor.TestOptimizedForSize,UnittestOptimizeFor.TestRequiredOptimizedForSize> testExtension2
extend .protobuf_unittest.TestOptimizedForSize { ... }public static UnittestOptimizeFor.TestOptimizedForSize getDefaultInstance()
public UnittestOptimizeFor.TestOptimizedForSize getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<UnittestOptimizeFor.TestOptimizedForSize>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<UnittestOptimizeFor.TestOptimizedForSize> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic UnittestOptimizeFor.TestOptimizedForSize.FooCase getFooCase()
public boolean hasI()
optional int32 i = 1;hasI in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic int getI()
optional int32 i = 1;getI in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic boolean hasMsg()
optional .protobuf_unittest.ForeignMessage msg = 19;hasMsg in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic UnittestProto.ForeignMessage getMsg()
optional .protobuf_unittest.ForeignMessage msg = 19;getMsg in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic UnittestProto.ForeignMessageOrBuilder getMsgOrBuilder()
optional .protobuf_unittest.ForeignMessage msg = 19;getMsgOrBuilder in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic boolean hasIntegerField()
optional int32 integer_field = 2;hasIntegerField in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic int getIntegerField()
optional int32 integer_field = 2;getIntegerField in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic boolean hasStringField()
optional string string_field = 3;hasStringField in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic java.lang.String getStringField()
optional string string_field = 3;getStringField in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic com.google.protobuf.ByteString getStringFieldBytes()
optional string string_field = 3;getStringFieldBytes in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilderpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilder()
public UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilder(UnittestOptimizeFor.TestOptimizedForSize prototype)
public UnittestOptimizeFor.TestOptimizedForSize.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage