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.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 |
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, parseUnknownField
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, writeReplace
equals, findInitializationErrors, getInitializationErrorString, getSerializedSize, hashCode, hashFields, toString, writeTo
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
public 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.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<UnittestOptimizeFor.TestOptimizedForSize> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public UnittestOptimizeFor.TestOptimizedForSize.FooCase getFooCase()
public boolean hasI()
optional int32 i = 1;
hasI
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public int getI()
optional int32 i = 1;
getI
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public boolean hasMsg()
optional .protobuf_unittest.ForeignMessage msg = 19;
hasMsg
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public UnittestProto.ForeignMessage getMsg()
optional .protobuf_unittest.ForeignMessage msg = 19;
getMsg
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public UnittestProto.ForeignMessageOrBuilder getMsgOrBuilder()
optional .protobuf_unittest.ForeignMessage msg = 19;
getMsgOrBuilder
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public boolean hasIntegerField()
optional int32 integer_field = 2;
hasIntegerField
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public int getIntegerField()
optional int32 integer_field = 2;
getIntegerField
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public boolean hasStringField()
optional string string_field = 3;
hasStringField
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public java.lang.String getStringField()
optional string string_field = 3;
getStringField
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public com.google.protobuf.ByteString getStringFieldBytes()
optional string string_field = 3;
getStringFieldBytes
in interface UnittestOptimizeFor.TestOptimizedForSizeOrBuilder
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilder()
public UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilder(UnittestOptimizeFor.TestOptimizedForSize prototype)
public UnittestOptimizeFor.TestOptimizedForSize.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected UnittestOptimizeFor.TestOptimizedForSize.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage