public static final class UnittestProto.TestAllTypes extends com.google.protobuf.GeneratedMessage implements UnittestProto.TestAllTypesOrBuilder
protobuf_unittest.TestAllTypes
This proto includes every type of field in both singular and repeated forms.
| Modifier and Type | Class and Description |
|---|---|
static class |
UnittestProto.TestAllTypes.Builder
Protobuf type
protobuf_unittest.TestAllTypes |
static class |
UnittestProto.TestAllTypes.NestedEnum
Protobuf enum
protobuf_unittest.TestAllTypes.NestedEnum |
static class |
UnittestProto.TestAllTypes.NestedMessage
Protobuf type
protobuf_unittest.TestAllTypes.NestedMessage |
static interface |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
static class |
UnittestProto.TestAllTypes.OneofFieldCase |
static class |
UnittestProto.TestAllTypes.OptionalGroup
Protobuf type
protobuf_unittest.TestAllTypes.OptionalGroup |
static interface |
UnittestProto.TestAllTypes.OptionalGroupOrBuilder |
static class |
UnittestProto.TestAllTypes.RepeatedGroup
Protobuf type
protobuf_unittest.TestAllTypes.RepeatedGroup |
static interface |
UnittestProto.TestAllTypes.RepeatedGroupOrBuilder |
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 | Method and Description |
|---|---|
boolean |
getDefaultBool()
optional bool default_bool = 73 [default = true]; |
com.google.protobuf.ByteString |
getDefaultBytes()
optional bytes default_bytes = 75 [default = "world"]; |
java.lang.String |
getDefaultCord()
optional string default_cord = 85 [default = "123", ctype = CORD]; |
com.google.protobuf.ByteString |
getDefaultCordBytes()
optional string default_cord = 85 [default = "123", ctype = CORD]; |
double |
getDefaultDouble()
optional double default_double = 72 [default = 52000]; |
int |
getDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47]; |
long |
getDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48]; |
float |
getDefaultFloat()
optional float default_float = 71 [default = 51.5]; |
UnittestProto.ForeignEnum |
getDefaultForeignEnum()
optional .protobuf_unittest.ForeignEnum default_foreign_enum = 82 [default = FOREIGN_BAR]; |
UnittestImport.ImportEnum |
getDefaultImportEnum()
optional .protobuf_unittest_import.ImportEnum default_import_enum = 83 [default = IMPORT_BAR]; |
static UnittestProto.TestAllTypes |
getDefaultInstance() |
UnittestProto.TestAllTypes |
getDefaultInstanceForType() |
int |
getDefaultInt32()
optional int32 default_int32 = 61 [default = 41]; |
long |
getDefaultInt64()
optional int64 default_int64 = 62 [default = 42]; |
UnittestProto.TestAllTypes.NestedEnum |
getDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR]; |
int |
getDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49]; |
long |
getDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50]; |
int |
getDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45]; |
long |
getDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46]; |
java.lang.String |
getDefaultString()
optional string default_string = 74 [default = "hello"]; |
com.google.protobuf.ByteString |
getDefaultStringBytes()
optional string default_string = 74 [default = "hello"]; |
java.lang.String |
getDefaultStringPiece()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getDefaultStringPieceBytes()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; |
int |
getDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43]; |
long |
getDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44]; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getOneofBytes()
optional bytes oneof_bytes = 114; |
UnittestProto.TestAllTypes.OneofFieldCase |
getOneofFieldCase() |
UnittestProto.TestAllTypes.NestedMessage |
getOneofNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112; |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
getOneofNestedMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112; |
java.lang.String |
getOneofString()
optional string oneof_string = 113; |
com.google.protobuf.ByteString |
getOneofStringBytes()
optional string oneof_string = 113; |
int |
getOneofUint32()
optional uint32 oneof_uint32 = 111; |
boolean |
getOptionalBool()
optional bool optional_bool = 13; |
com.google.protobuf.ByteString |
getOptionalBytes()
optional bytes optional_bytes = 15; |
java.lang.String |
getOptionalCord()
optional string optional_cord = 25 [ctype = CORD]; |
com.google.protobuf.ByteString |
getOptionalCordBytes()
optional string optional_cord = 25 [ctype = CORD]; |
double |
getOptionalDouble()
optional double optional_double = 12; |
int |
getOptionalFixed32()
optional fixed32 optional_fixed32 = 7; |
long |
getOptionalFixed64()
optional fixed64 optional_fixed64 = 8; |
float |
getOptionalFloat()
optional float optional_float = 11; |
UnittestProto.ForeignEnum |
getOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22; |
UnittestProto.ForeignMessage |
getOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19; |
UnittestProto.ForeignMessageOrBuilder |
getOptionalForeignMessageOrBuilder()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19; |
UnittestProto.TestAllTypes.OptionalGroup |
getOptionalGroup()
optional group OptionalGroup = 16 { ... |
UnittestProto.TestAllTypes.OptionalGroupOrBuilder |
getOptionalGroupOrBuilder()
optional group OptionalGroup = 16 { ... |
UnittestImport.ImportEnum |
getOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23; |
UnittestImport.ImportMessage |
getOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20; |
UnittestImport.ImportMessageOrBuilder |
getOptionalImportMessageOrBuilder()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20; |
int |
getOptionalInt32()
optional int32 optional_int32 = 1; |
long |
getOptionalInt64()
optional int64 optional_int64 = 2; |
UnittestProto.TestAllTypes.NestedMessage |
getOptionalLazyMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true]; |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
getOptionalLazyMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true]; |
UnittestProto.TestAllTypes.NestedEnum |
getOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21; |
UnittestProto.TestAllTypes.NestedMessage |
getOptionalNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18; |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
getOptionalNestedMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18; |
UnittestImportPublic.PublicImportMessage |
getOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26; |
UnittestImportPublic.PublicImportMessageOrBuilder |
getOptionalPublicImportMessageOrBuilder()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26; |
int |
getOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9; |
long |
getOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10; |
int |
getOptionalSint32()
optional sint32 optional_sint32 = 5; |
long |
getOptionalSint64()
optional sint64 optional_sint64 = 6; |
java.lang.String |
getOptionalString()
optional string optional_string = 14; |
com.google.protobuf.ByteString |
getOptionalStringBytes()
optional string optional_string = 14; |
java.lang.String |
getOptionalStringPiece()
optional string optional_string_piece = 24 [ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getOptionalStringPieceBytes()
optional string optional_string_piece = 24 [ctype = STRING_PIECE]; |
int |
getOptionalUint32()
optional uint32 optional_uint32 = 3; |
long |
getOptionalUint64()
optional uint64 optional_uint64 = 4; |
com.google.protobuf.Parser<UnittestProto.TestAllTypes> |
getParserForType() |
boolean |
getRepeatedBool(int index)
repeated bool repeated_bool = 43; |
int |
getRepeatedBoolCount()
repeated bool repeated_bool = 43; |
java.util.List<java.lang.Boolean> |
getRepeatedBoolList()
repeated bool repeated_bool = 43; |
com.google.protobuf.ByteString |
getRepeatedBytes(int index)
repeated bytes repeated_bytes = 45; |
int |
getRepeatedBytesCount()
repeated bytes repeated_bytes = 45; |
java.util.List<com.google.protobuf.ByteString> |
getRepeatedBytesList()
repeated bytes repeated_bytes = 45; |
java.lang.String |
getRepeatedCord(int index)
repeated string repeated_cord = 55 [ctype = CORD]; |
com.google.protobuf.ByteString |
getRepeatedCordBytes(int index)
repeated string repeated_cord = 55 [ctype = CORD]; |
int |
getRepeatedCordCount()
repeated string repeated_cord = 55 [ctype = CORD]; |
com.google.protobuf.ProtocolStringList |
getRepeatedCordList()
repeated string repeated_cord = 55 [ctype = CORD]; |
double |
getRepeatedDouble(int index)
repeated double repeated_double = 42; |
int |
getRepeatedDoubleCount()
repeated double repeated_double = 42; |
java.util.List<java.lang.Double> |
getRepeatedDoubleList()
repeated double repeated_double = 42; |
int |
getRepeatedFixed32(int index)
repeated fixed32 repeated_fixed32 = 37; |
int |
getRepeatedFixed32Count()
repeated fixed32 repeated_fixed32 = 37; |
java.util.List<java.lang.Integer> |
getRepeatedFixed32List()
repeated fixed32 repeated_fixed32 = 37; |
long |
getRepeatedFixed64(int index)
repeated fixed64 repeated_fixed64 = 38; |
int |
getRepeatedFixed64Count()
repeated fixed64 repeated_fixed64 = 38; |
java.util.List<java.lang.Long> |
getRepeatedFixed64List()
repeated fixed64 repeated_fixed64 = 38; |
float |
getRepeatedFloat(int index)
repeated float repeated_float = 41; |
int |
getRepeatedFloatCount()
repeated float repeated_float = 41; |
java.util.List<java.lang.Float> |
getRepeatedFloatList()
repeated float repeated_float = 41; |
UnittestProto.ForeignEnum |
getRepeatedForeignEnum(int index)
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52; |
int |
getRepeatedForeignEnumCount()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52; |
java.util.List<UnittestProto.ForeignEnum> |
getRepeatedForeignEnumList()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52; |
UnittestProto.ForeignMessage |
getRepeatedForeignMessage(int index)
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49; |
int |
getRepeatedForeignMessageCount()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49; |
java.util.List<UnittestProto.ForeignMessage> |
getRepeatedForeignMessageList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49; |
UnittestProto.ForeignMessageOrBuilder |
getRepeatedForeignMessageOrBuilder(int index)
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49; |
java.util.List<? extends UnittestProto.ForeignMessageOrBuilder> |
getRepeatedForeignMessageOrBuilderList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49; |
UnittestProto.TestAllTypes.RepeatedGroup |
getRepeatedGroup(int index)
repeated group RepeatedGroup = 46 { ... |
int |
getRepeatedGroupCount()
repeated group RepeatedGroup = 46 { ... |
java.util.List<UnittestProto.TestAllTypes.RepeatedGroup> |
getRepeatedGroupList()
repeated group RepeatedGroup = 46 { ... |
UnittestProto.TestAllTypes.RepeatedGroupOrBuilder |
getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 46 { ... |
java.util.List<? extends UnittestProto.TestAllTypes.RepeatedGroupOrBuilder> |
getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 46 { ... |
UnittestImport.ImportEnum |
getRepeatedImportEnum(int index)
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53; |
int |
getRepeatedImportEnumCount()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53; |
java.util.List<UnittestImport.ImportEnum> |
getRepeatedImportEnumList()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53; |
UnittestImport.ImportMessage |
getRepeatedImportMessage(int index)
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50; |
int |
getRepeatedImportMessageCount()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50; |
java.util.List<UnittestImport.ImportMessage> |
getRepeatedImportMessageList()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50; |
UnittestImport.ImportMessageOrBuilder |
getRepeatedImportMessageOrBuilder(int index)
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50; |
java.util.List<? extends UnittestImport.ImportMessageOrBuilder> |
getRepeatedImportMessageOrBuilderList()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50; |
int |
getRepeatedInt32(int index)
repeated int32 repeated_int32 = 31; |
int |
getRepeatedInt32Count()
repeated int32 repeated_int32 = 31; |
java.util.List<java.lang.Integer> |
getRepeatedInt32List()
repeated int32 repeated_int32 = 31; |
long |
getRepeatedInt64(int index)
repeated int64 repeated_int64 = 32; |
int |
getRepeatedInt64Count()
repeated int64 repeated_int64 = 32; |
java.util.List<java.lang.Long> |
getRepeatedInt64List()
repeated int64 repeated_int64 = 32; |
UnittestProto.TestAllTypes.NestedMessage |
getRepeatedLazyMessage(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true]; |
int |
getRepeatedLazyMessageCount()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true]; |
java.util.List<UnittestProto.TestAllTypes.NestedMessage> |
getRepeatedLazyMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true]; |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
getRepeatedLazyMessageOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true]; |
java.util.List<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> |
getRepeatedLazyMessageOrBuilderList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true]; |
UnittestProto.TestAllTypes.NestedEnum |
getRepeatedNestedEnum(int index)
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51; |
int |
getRepeatedNestedEnumCount()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51; |
java.util.List<UnittestProto.TestAllTypes.NestedEnum> |
getRepeatedNestedEnumList()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51; |
UnittestProto.TestAllTypes.NestedMessage |
getRepeatedNestedMessage(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48; |
int |
getRepeatedNestedMessageCount()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48; |
java.util.List<UnittestProto.TestAllTypes.NestedMessage> |
getRepeatedNestedMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48; |
UnittestProto.TestAllTypes.NestedMessageOrBuilder |
getRepeatedNestedMessageOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48; |
java.util.List<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> |
getRepeatedNestedMessageOrBuilderList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48; |
int |
getRepeatedSfixed32(int index)
repeated sfixed32 repeated_sfixed32 = 39; |
int |
getRepeatedSfixed32Count()
repeated sfixed32 repeated_sfixed32 = 39; |
java.util.List<java.lang.Integer> |
getRepeatedSfixed32List()
repeated sfixed32 repeated_sfixed32 = 39; |
long |
getRepeatedSfixed64(int index)
repeated sfixed64 repeated_sfixed64 = 40; |
int |
getRepeatedSfixed64Count()
repeated sfixed64 repeated_sfixed64 = 40; |
java.util.List<java.lang.Long> |
getRepeatedSfixed64List()
repeated sfixed64 repeated_sfixed64 = 40; |
int |
getRepeatedSint32(int index)
repeated sint32 repeated_sint32 = 35; |
int |
getRepeatedSint32Count()
repeated sint32 repeated_sint32 = 35; |
java.util.List<java.lang.Integer> |
getRepeatedSint32List()
repeated sint32 repeated_sint32 = 35; |
long |
getRepeatedSint64(int index)
repeated sint64 repeated_sint64 = 36; |
int |
getRepeatedSint64Count()
repeated sint64 repeated_sint64 = 36; |
java.util.List<java.lang.Long> |
getRepeatedSint64List()
repeated sint64 repeated_sint64 = 36; |
java.lang.String |
getRepeatedString(int index)
repeated string repeated_string = 44; |
com.google.protobuf.ByteString |
getRepeatedStringBytes(int index)
repeated string repeated_string = 44; |
int |
getRepeatedStringCount()
repeated string repeated_string = 44; |
com.google.protobuf.ProtocolStringList |
getRepeatedStringList()
repeated string repeated_string = 44; |
java.lang.String |
getRepeatedStringPiece(int index)
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getRepeatedStringPieceBytes(int index)
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; |
int |
getRepeatedStringPieceCount()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; |
com.google.protobuf.ProtocolStringList |
getRepeatedStringPieceList()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE]; |
int |
getRepeatedUint32(int index)
repeated uint32 repeated_uint32 = 33; |
int |
getRepeatedUint32Count()
repeated uint32 repeated_uint32 = 33; |
java.util.List<java.lang.Integer> |
getRepeatedUint32List()
repeated uint32 repeated_uint32 = 33; |
long |
getRepeatedUint64(int index)
repeated uint64 repeated_uint64 = 34; |
int |
getRepeatedUint64Count()
repeated uint64 repeated_uint64 = 34; |
java.util.List<java.lang.Long> |
getRepeatedUint64List()
repeated uint64 repeated_uint64 = 34; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDefaultBool()
optional bool default_bool = 73 [default = true]; |
boolean |
hasDefaultBytes()
optional bytes default_bytes = 75 [default = "world"]; |
boolean |
hasDefaultCord()
optional string default_cord = 85 [default = "123", ctype = CORD]; |
boolean |
hasDefaultDouble()
optional double default_double = 72 [default = 52000]; |
boolean |
hasDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47]; |
boolean |
hasDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48]; |
boolean |
hasDefaultFloat()
optional float default_float = 71 [default = 51.5]; |
boolean |
hasDefaultForeignEnum()
optional .protobuf_unittest.ForeignEnum default_foreign_enum = 82 [default = FOREIGN_BAR]; |
boolean |
hasDefaultImportEnum()
optional .protobuf_unittest_import.ImportEnum default_import_enum = 83 [default = IMPORT_BAR]; |
boolean |
hasDefaultInt32()
optional int32 default_int32 = 61 [default = 41]; |
boolean |
hasDefaultInt64()
optional int64 default_int64 = 62 [default = 42]; |
boolean |
hasDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR]; |
boolean |
hasDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49]; |
boolean |
hasDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50]; |
boolean |
hasDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45]; |
boolean |
hasDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46]; |
boolean |
hasDefaultString()
optional string default_string = 74 [default = "hello"]; |
boolean |
hasDefaultStringPiece()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE]; |
boolean |
hasDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43]; |
boolean |
hasDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44]; |
boolean |
hasOneofBytes()
optional bytes oneof_bytes = 114; |
boolean |
hasOneofNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112; |
boolean |
hasOneofString()
optional string oneof_string = 113; |
boolean |
hasOneofUint32()
optional uint32 oneof_uint32 = 111; |
boolean |
hasOptionalBool()
optional bool optional_bool = 13; |
boolean |
hasOptionalBytes()
optional bytes optional_bytes = 15; |
boolean |
hasOptionalCord()
optional string optional_cord = 25 [ctype = CORD]; |
boolean |
hasOptionalDouble()
optional double optional_double = 12; |
boolean |
hasOptionalFixed32()
optional fixed32 optional_fixed32 = 7; |
boolean |
hasOptionalFixed64()
optional fixed64 optional_fixed64 = 8; |
boolean |
hasOptionalFloat()
optional float optional_float = 11; |
boolean |
hasOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22; |
boolean |
hasOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19; |
boolean |
hasOptionalGroup()
optional group OptionalGroup = 16 { ... |
boolean |
hasOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23; |
boolean |
hasOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20; |
boolean |
hasOptionalInt32()
optional int32 optional_int32 = 1; |
boolean |
hasOptionalInt64()
optional int64 optional_int64 = 2; |
boolean |
hasOptionalLazyMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true]; |
boolean |
hasOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21; |
boolean |
hasOptionalNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18; |
boolean |
hasOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26; |
boolean |
hasOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9; |
boolean |
hasOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10; |
boolean |
hasOptionalSint32()
optional sint32 optional_sint32 = 5; |
boolean |
hasOptionalSint64()
optional sint64 optional_sint64 = 6; |
boolean |
hasOptionalString()
optional string optional_string = 14; |
boolean |
hasOptionalStringPiece()
optional string optional_string_piece = 24 [ctype = STRING_PIECE]; |
boolean |
hasOptionalUint32()
optional uint32 optional_uint32 = 3; |
boolean |
hasOptionalUint64()
optional uint64 optional_uint64 = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UnittestProto.TestAllTypes.Builder |
newBuilder() |
static UnittestProto.TestAllTypes.Builder |
newBuilder(UnittestProto.TestAllTypes prototype) |
UnittestProto.TestAllTypes.Builder |
newBuilderForType() |
protected UnittestProto.TestAllTypes.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static UnittestProto.TestAllTypes |
parseDelimitedFrom(java.io.InputStream input) |
static UnittestProto.TestAllTypes |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestAllTypes |
parseFrom(byte[] data) |
static UnittestProto.TestAllTypes |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestAllTypes |
parseFrom(com.google.protobuf.ByteString data) |
static UnittestProto.TestAllTypes |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestAllTypes |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UnittestProto.TestAllTypes |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UnittestProto.TestAllTypes |
parseFrom(java.io.InputStream input) |
static UnittestProto.TestAllTypes |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestAllTypes.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<UnittestProto.TestAllTypes> PARSER
public static final int OPTIONAL_INT32_FIELD_NUMBER
public static final int OPTIONAL_INT64_FIELD_NUMBER
public static final int OPTIONAL_UINT32_FIELD_NUMBER
public static final int OPTIONAL_UINT64_FIELD_NUMBER
public static final int OPTIONAL_SINT32_FIELD_NUMBER
public static final int OPTIONAL_SINT64_FIELD_NUMBER
public static final int OPTIONAL_FIXED32_FIELD_NUMBER
public static final int OPTIONAL_FIXED64_FIELD_NUMBER
public static final int OPTIONAL_SFIXED32_FIELD_NUMBER
public static final int OPTIONAL_SFIXED64_FIELD_NUMBER
public static final int OPTIONAL_FLOAT_FIELD_NUMBER
public static final int OPTIONAL_DOUBLE_FIELD_NUMBER
public static final int OPTIONAL_BOOL_FIELD_NUMBER
public static final int OPTIONAL_STRING_FIELD_NUMBER
public static final int OPTIONAL_BYTES_FIELD_NUMBER
public static final int OPTIONALGROUP_FIELD_NUMBER
public static final int OPTIONAL_NESTED_MESSAGE_FIELD_NUMBER
public static final int OPTIONAL_FOREIGN_MESSAGE_FIELD_NUMBER
public static final int OPTIONAL_IMPORT_MESSAGE_FIELD_NUMBER
public static final int OPTIONAL_NESTED_ENUM_FIELD_NUMBER
public static final int OPTIONAL_FOREIGN_ENUM_FIELD_NUMBER
public static final int OPTIONAL_IMPORT_ENUM_FIELD_NUMBER
public static final int OPTIONAL_STRING_PIECE_FIELD_NUMBER
public static final int OPTIONAL_CORD_FIELD_NUMBER
public static final int OPTIONAL_PUBLIC_IMPORT_MESSAGE_FIELD_NUMBER
public static final int OPTIONAL_LAZY_MESSAGE_FIELD_NUMBER
public static final int REPEATED_INT32_FIELD_NUMBER
public static final int REPEATED_INT64_FIELD_NUMBER
public static final int REPEATED_UINT32_FIELD_NUMBER
public static final int REPEATED_UINT64_FIELD_NUMBER
public static final int REPEATED_SINT32_FIELD_NUMBER
public static final int REPEATED_SINT64_FIELD_NUMBER
public static final int REPEATED_FIXED32_FIELD_NUMBER
public static final int REPEATED_FIXED64_FIELD_NUMBER
public static final int REPEATED_SFIXED32_FIELD_NUMBER
public static final int REPEATED_SFIXED64_FIELD_NUMBER
public static final int REPEATED_FLOAT_FIELD_NUMBER
public static final int REPEATED_DOUBLE_FIELD_NUMBER
public static final int REPEATED_BOOL_FIELD_NUMBER
public static final int REPEATED_STRING_FIELD_NUMBER
public static final int REPEATED_BYTES_FIELD_NUMBER
public static final int REPEATEDGROUP_FIELD_NUMBER
public static final int REPEATED_NESTED_MESSAGE_FIELD_NUMBER
public static final int REPEATED_FOREIGN_MESSAGE_FIELD_NUMBER
public static final int REPEATED_IMPORT_MESSAGE_FIELD_NUMBER
public static final int REPEATED_NESTED_ENUM_FIELD_NUMBER
public static final int REPEATED_FOREIGN_ENUM_FIELD_NUMBER
public static final int REPEATED_IMPORT_ENUM_FIELD_NUMBER
public static final int REPEATED_STRING_PIECE_FIELD_NUMBER
public static final int REPEATED_CORD_FIELD_NUMBER
public static final int REPEATED_LAZY_MESSAGE_FIELD_NUMBER
public static final int DEFAULT_INT32_FIELD_NUMBER
public static final int DEFAULT_INT64_FIELD_NUMBER
public static final int DEFAULT_UINT32_FIELD_NUMBER
public static final int DEFAULT_UINT64_FIELD_NUMBER
public static final int DEFAULT_SINT32_FIELD_NUMBER
public static final int DEFAULT_SINT64_FIELD_NUMBER
public static final int DEFAULT_FIXED32_FIELD_NUMBER
public static final int DEFAULT_FIXED64_FIELD_NUMBER
public static final int DEFAULT_SFIXED32_FIELD_NUMBER
public static final int DEFAULT_SFIXED64_FIELD_NUMBER
public static final int DEFAULT_FLOAT_FIELD_NUMBER
public static final int DEFAULT_DOUBLE_FIELD_NUMBER
public static final int DEFAULT_BOOL_FIELD_NUMBER
public static final int DEFAULT_STRING_FIELD_NUMBER
public static final int DEFAULT_BYTES_FIELD_NUMBER
public static final int DEFAULT_NESTED_ENUM_FIELD_NUMBER
public static final int DEFAULT_FOREIGN_ENUM_FIELD_NUMBER
public static final int DEFAULT_IMPORT_ENUM_FIELD_NUMBER
public static final int DEFAULT_STRING_PIECE_FIELD_NUMBER
public static final int DEFAULT_CORD_FIELD_NUMBER
public static final int ONEOF_UINT32_FIELD_NUMBER
public static final int ONEOF_NESTED_MESSAGE_FIELD_NUMBER
public static final int ONEOF_STRING_FIELD_NUMBER
public static final int ONEOF_BYTES_FIELD_NUMBER
public static UnittestProto.TestAllTypes getDefaultInstance()
public UnittestProto.TestAllTypes getDefaultInstanceForType()
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<UnittestProto.TestAllTypes> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic UnittestProto.TestAllTypes.OneofFieldCase getOneofFieldCase()
public boolean hasOptionalInt32()
optional int32 optional_int32 = 1;
Singular
hasOptionalInt32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOptionalInt32()
optional int32 optional_int32 = 1;
Singular
getOptionalInt32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalInt64()
optional int64 optional_int64 = 2;hasOptionalInt64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getOptionalInt64()
optional int64 optional_int64 = 2;getOptionalInt64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalUint32()
optional uint32 optional_uint32 = 3;hasOptionalUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOptionalUint32()
optional uint32 optional_uint32 = 3;getOptionalUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalUint64()
optional uint64 optional_uint64 = 4;hasOptionalUint64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getOptionalUint64()
optional uint64 optional_uint64 = 4;getOptionalUint64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalSint32()
optional sint32 optional_sint32 = 5;hasOptionalSint32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOptionalSint32()
optional sint32 optional_sint32 = 5;getOptionalSint32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalSint64()
optional sint64 optional_sint64 = 6;hasOptionalSint64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getOptionalSint64()
optional sint64 optional_sint64 = 6;getOptionalSint64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalFixed32()
optional fixed32 optional_fixed32 = 7;hasOptionalFixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOptionalFixed32()
optional fixed32 optional_fixed32 = 7;getOptionalFixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalFixed64()
optional fixed64 optional_fixed64 = 8;hasOptionalFixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getOptionalFixed64()
optional fixed64 optional_fixed64 = 8;getOptionalFixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9;hasOptionalSfixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9;getOptionalSfixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10;hasOptionalSfixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10;getOptionalSfixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalFloat()
optional float optional_float = 11;hasOptionalFloat in interface UnittestProto.TestAllTypesOrBuilderpublic float getOptionalFloat()
optional float optional_float = 11;getOptionalFloat in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalDouble()
optional double optional_double = 12;hasOptionalDouble in interface UnittestProto.TestAllTypesOrBuilderpublic double getOptionalDouble()
optional double optional_double = 12;getOptionalDouble in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalBool()
optional bool optional_bool = 13;hasOptionalBool in interface UnittestProto.TestAllTypesOrBuilderpublic boolean getOptionalBool()
optional bool optional_bool = 13;getOptionalBool in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalString()
optional string optional_string = 14;hasOptionalString in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getOptionalString()
optional string optional_string = 14;getOptionalString in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOptionalStringBytes()
optional string optional_string = 14;getOptionalStringBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalBytes()
optional bytes optional_bytes = 15;hasOptionalBytes in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOptionalBytes()
optional bytes optional_bytes = 15;getOptionalBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalGroup()
optional group OptionalGroup = 16 { ... }hasOptionalGroup in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.OptionalGroup getOptionalGroup()
optional group OptionalGroup = 16 { ... }getOptionalGroup in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.OptionalGroupOrBuilder getOptionalGroupOrBuilder()
optional group OptionalGroup = 16 { ... }getOptionalGroupOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18;hasOptionalNestedMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessage getOptionalNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18;getOptionalNestedMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessageOrBuilder getOptionalNestedMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18;getOptionalNestedMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;hasOptionalForeignMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignMessage getOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;getOptionalForeignMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignMessageOrBuilder getOptionalForeignMessageOrBuilder()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;getOptionalForeignMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;hasOptionalImportMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportMessage getOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;getOptionalImportMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportMessageOrBuilder getOptionalImportMessageOrBuilder()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;getOptionalImportMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21;hasOptionalNestedEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedEnum getOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21;getOptionalNestedEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22;hasOptionalForeignEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignEnum getOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22;getOptionalForeignEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23;hasOptionalImportEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportEnum getOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23;getOptionalImportEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalStringPiece()
optional string optional_string_piece = 24 [ctype = STRING_PIECE];hasOptionalStringPiece in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getOptionalStringPiece()
optional string optional_string_piece = 24 [ctype = STRING_PIECE];getOptionalStringPiece in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOptionalStringPieceBytes()
optional string optional_string_piece = 24 [ctype = STRING_PIECE];getOptionalStringPieceBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalCord()
optional string optional_cord = 25 [ctype = CORD];hasOptionalCord in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getOptionalCord()
optional string optional_cord = 25 [ctype = CORD];getOptionalCord in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOptionalCordBytes()
optional string optional_cord = 25 [ctype = CORD];getOptionalCordBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
hasOptionalPublicImportMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImportPublic.PublicImportMessage getOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
getOptionalPublicImportMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImportPublic.PublicImportMessageOrBuilder getOptionalPublicImportMessageOrBuilder()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
getOptionalPublicImportMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOptionalLazyMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true];hasOptionalLazyMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessage getOptionalLazyMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true];getOptionalLazyMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessageOrBuilder getOptionalLazyMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true];getOptionalLazyMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Integer> getRepeatedInt32List()
repeated int32 repeated_int32 = 31;
Repeated
getRepeatedInt32List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedInt32Count()
repeated int32 repeated_int32 = 31;
Repeated
getRepeatedInt32Count in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedInt32(int index)
repeated int32 repeated_int32 = 31;
Repeated
getRepeatedInt32 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Long> getRepeatedInt64List()
repeated int64 repeated_int64 = 32;getRepeatedInt64List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedInt64Count()
repeated int64 repeated_int64 = 32;getRepeatedInt64Count in interface UnittestProto.TestAllTypesOrBuilderpublic long getRepeatedInt64(int index)
repeated int64 repeated_int64 = 32;getRepeatedInt64 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Integer> getRepeatedUint32List()
repeated uint32 repeated_uint32 = 33;getRepeatedUint32List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedUint32Count()
repeated uint32 repeated_uint32 = 33;getRepeatedUint32Count in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedUint32(int index)
repeated uint32 repeated_uint32 = 33;getRepeatedUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Long> getRepeatedUint64List()
repeated uint64 repeated_uint64 = 34;getRepeatedUint64List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedUint64Count()
repeated uint64 repeated_uint64 = 34;getRepeatedUint64Count in interface UnittestProto.TestAllTypesOrBuilderpublic long getRepeatedUint64(int index)
repeated uint64 repeated_uint64 = 34;getRepeatedUint64 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Integer> getRepeatedSint32List()
repeated sint32 repeated_sint32 = 35;getRepeatedSint32List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSint32Count()
repeated sint32 repeated_sint32 = 35;getRepeatedSint32Count in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSint32(int index)
repeated sint32 repeated_sint32 = 35;getRepeatedSint32 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Long> getRepeatedSint64List()
repeated sint64 repeated_sint64 = 36;getRepeatedSint64List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSint64Count()
repeated sint64 repeated_sint64 = 36;getRepeatedSint64Count in interface UnittestProto.TestAllTypesOrBuilderpublic long getRepeatedSint64(int index)
repeated sint64 repeated_sint64 = 36;getRepeatedSint64 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Integer> getRepeatedFixed32List()
repeated fixed32 repeated_fixed32 = 37;getRepeatedFixed32List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedFixed32Count()
repeated fixed32 repeated_fixed32 = 37;getRepeatedFixed32Count in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedFixed32(int index)
repeated fixed32 repeated_fixed32 = 37;getRepeatedFixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Long> getRepeatedFixed64List()
repeated fixed64 repeated_fixed64 = 38;getRepeatedFixed64List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedFixed64Count()
repeated fixed64 repeated_fixed64 = 38;getRepeatedFixed64Count in interface UnittestProto.TestAllTypesOrBuilderpublic long getRepeatedFixed64(int index)
repeated fixed64 repeated_fixed64 = 38;getRepeatedFixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Integer> getRepeatedSfixed32List()
repeated sfixed32 repeated_sfixed32 = 39;getRepeatedSfixed32List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSfixed32Count()
repeated sfixed32 repeated_sfixed32 = 39;getRepeatedSfixed32Count in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSfixed32(int index)
repeated sfixed32 repeated_sfixed32 = 39;getRepeatedSfixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Long> getRepeatedSfixed64List()
repeated sfixed64 repeated_sfixed64 = 40;getRepeatedSfixed64List in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedSfixed64Count()
repeated sfixed64 repeated_sfixed64 = 40;getRepeatedSfixed64Count in interface UnittestProto.TestAllTypesOrBuilderpublic long getRepeatedSfixed64(int index)
repeated sfixed64 repeated_sfixed64 = 40;getRepeatedSfixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Float> getRepeatedFloatList()
repeated float repeated_float = 41;getRepeatedFloatList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedFloatCount()
repeated float repeated_float = 41;getRepeatedFloatCount in interface UnittestProto.TestAllTypesOrBuilderpublic float getRepeatedFloat(int index)
repeated float repeated_float = 41;getRepeatedFloat in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Double> getRepeatedDoubleList()
repeated double repeated_double = 42;getRepeatedDoubleList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedDoubleCount()
repeated double repeated_double = 42;getRepeatedDoubleCount in interface UnittestProto.TestAllTypesOrBuilderpublic double getRepeatedDouble(int index)
repeated double repeated_double = 42;getRepeatedDouble in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<java.lang.Boolean> getRepeatedBoolList()
repeated bool repeated_bool = 43;getRepeatedBoolList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedBoolCount()
repeated bool repeated_bool = 43;getRepeatedBoolCount in interface UnittestProto.TestAllTypesOrBuilderpublic boolean getRepeatedBool(int index)
repeated bool repeated_bool = 43;getRepeatedBool in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ProtocolStringList getRepeatedStringList()
repeated string repeated_string = 44;getRepeatedStringList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedStringCount()
repeated string repeated_string = 44;getRepeatedStringCount in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getRepeatedString(int index)
repeated string repeated_string = 44;getRepeatedString in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getRepeatedStringBytes(int index)
repeated string repeated_string = 44;getRepeatedStringBytes in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getRepeatedBytesList()
repeated bytes repeated_bytes = 45;getRepeatedBytesList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedBytesCount()
repeated bytes repeated_bytes = 45;getRepeatedBytesCount in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getRepeatedBytes(int index)
repeated bytes repeated_bytes = 45;getRepeatedBytes in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.TestAllTypes.RepeatedGroup> getRepeatedGroupList()
repeated group RepeatedGroup = 46 { ... }getRepeatedGroupList in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<? extends UnittestProto.TestAllTypes.RepeatedGroupOrBuilder> getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 46 { ... }getRepeatedGroupOrBuilderList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedGroupCount()
repeated group RepeatedGroup = 46 { ... }getRepeatedGroupCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.RepeatedGroup getRepeatedGroup(int index)
repeated group RepeatedGroup = 46 { ... }getRepeatedGroup in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 46 { ... }getRepeatedGroupOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.TestAllTypes.NestedMessage> getRepeatedNestedMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;getRepeatedNestedMessageList in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> getRepeatedNestedMessageOrBuilderList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;getRepeatedNestedMessageOrBuilderList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedNestedMessageCount()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;getRepeatedNestedMessageCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessage getRepeatedNestedMessage(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;getRepeatedNestedMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessageOrBuilder getRepeatedNestedMessageOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;getRepeatedNestedMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.ForeignMessage> getRepeatedForeignMessageList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;getRepeatedForeignMessageList in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<? extends UnittestProto.ForeignMessageOrBuilder> getRepeatedForeignMessageOrBuilderList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;getRepeatedForeignMessageOrBuilderList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedForeignMessageCount()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;getRepeatedForeignMessageCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignMessage getRepeatedForeignMessage(int index)
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;getRepeatedForeignMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignMessageOrBuilder getRepeatedForeignMessageOrBuilder(int index)
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;getRepeatedForeignMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestImport.ImportMessage> getRepeatedImportMessageList()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;getRepeatedImportMessageList in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<? extends UnittestImport.ImportMessageOrBuilder> getRepeatedImportMessageOrBuilderList()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;getRepeatedImportMessageOrBuilderList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedImportMessageCount()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;getRepeatedImportMessageCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportMessage getRepeatedImportMessage(int index)
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;getRepeatedImportMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportMessageOrBuilder getRepeatedImportMessageOrBuilder(int index)
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;getRepeatedImportMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.TestAllTypes.NestedEnum> getRepeatedNestedEnumList()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;getRepeatedNestedEnumList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedNestedEnumCount()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;getRepeatedNestedEnumCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedEnum getRepeatedNestedEnum(int index)
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;getRepeatedNestedEnum in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.ForeignEnum> getRepeatedForeignEnumList()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;getRepeatedForeignEnumList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedForeignEnumCount()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;getRepeatedForeignEnumCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignEnum getRepeatedForeignEnum(int index)
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;getRepeatedForeignEnum in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestImport.ImportEnum> getRepeatedImportEnumList()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;getRepeatedImportEnumList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedImportEnumCount()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;getRepeatedImportEnumCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportEnum getRepeatedImportEnum(int index)
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;getRepeatedImportEnum in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ProtocolStringList getRepeatedStringPieceList()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];getRepeatedStringPieceList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedStringPieceCount()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];getRepeatedStringPieceCount in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getRepeatedStringPiece(int index)
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];getRepeatedStringPiece in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getRepeatedStringPieceBytes(int index)
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];getRepeatedStringPieceBytes in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ProtocolStringList getRepeatedCordList()
repeated string repeated_cord = 55 [ctype = CORD];getRepeatedCordList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedCordCount()
repeated string repeated_cord = 55 [ctype = CORD];getRepeatedCordCount in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getRepeatedCord(int index)
repeated string repeated_cord = 55 [ctype = CORD];getRepeatedCord in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getRepeatedCordBytes(int index)
repeated string repeated_cord = 55 [ctype = CORD];getRepeatedCordBytes in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<UnittestProto.TestAllTypes.NestedMessage> getRepeatedLazyMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];getRepeatedLazyMessageList in interface UnittestProto.TestAllTypesOrBuilderpublic java.util.List<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> getRepeatedLazyMessageOrBuilderList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];getRepeatedLazyMessageOrBuilderList in interface UnittestProto.TestAllTypesOrBuilderpublic int getRepeatedLazyMessageCount()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];getRepeatedLazyMessageCount in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessage getRepeatedLazyMessage(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];getRepeatedLazyMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessageOrBuilder getRepeatedLazyMessageOrBuilder(int index)
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];getRepeatedLazyMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultInt32()
optional int32 default_int32 = 61 [default = 41];
Singular with defaults
hasDefaultInt32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getDefaultInt32()
optional int32 default_int32 = 61 [default = 41];
Singular with defaults
getDefaultInt32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultInt64()
optional int64 default_int64 = 62 [default = 42];hasDefaultInt64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getDefaultInt64()
optional int64 default_int64 = 62 [default = 42];getDefaultInt64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43];hasDefaultUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43];getDefaultUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44];hasDefaultUint64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44];getDefaultUint64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45];hasDefaultSint32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45];getDefaultSint32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46];hasDefaultSint64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46];getDefaultSint64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47];hasDefaultFixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47];getDefaultFixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48];hasDefaultFixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48];getDefaultFixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49];hasDefaultSfixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49];getDefaultSfixed32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50];hasDefaultSfixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic long getDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50];getDefaultSfixed64 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultFloat()
optional float default_float = 71 [default = 51.5];hasDefaultFloat in interface UnittestProto.TestAllTypesOrBuilderpublic float getDefaultFloat()
optional float default_float = 71 [default = 51.5];getDefaultFloat in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultDouble()
optional double default_double = 72 [default = 52000];hasDefaultDouble in interface UnittestProto.TestAllTypesOrBuilderpublic double getDefaultDouble()
optional double default_double = 72 [default = 52000];getDefaultDouble in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultBool()
optional bool default_bool = 73 [default = true];hasDefaultBool in interface UnittestProto.TestAllTypesOrBuilderpublic boolean getDefaultBool()
optional bool default_bool = 73 [default = true];getDefaultBool in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultString()
optional string default_string = 74 [default = "hello"];hasDefaultString in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getDefaultString()
optional string default_string = 74 [default = "hello"];getDefaultString in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getDefaultStringBytes()
optional string default_string = 74 [default = "hello"];getDefaultStringBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultBytes()
optional bytes default_bytes = 75 [default = "world"];hasDefaultBytes in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getDefaultBytes()
optional bytes default_bytes = 75 [default = "world"];getDefaultBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR];hasDefaultNestedEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedEnum getDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR];getDefaultNestedEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultForeignEnum()
optional .protobuf_unittest.ForeignEnum default_foreign_enum = 82 [default = FOREIGN_BAR];hasDefaultForeignEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.ForeignEnum getDefaultForeignEnum()
optional .protobuf_unittest.ForeignEnum default_foreign_enum = 82 [default = FOREIGN_BAR];getDefaultForeignEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultImportEnum()
optional .protobuf_unittest_import.ImportEnum default_import_enum = 83 [default = IMPORT_BAR];hasDefaultImportEnum in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestImport.ImportEnum getDefaultImportEnum()
optional .protobuf_unittest_import.ImportEnum default_import_enum = 83 [default = IMPORT_BAR];getDefaultImportEnum in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultStringPiece()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];hasDefaultStringPiece in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getDefaultStringPiece()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];getDefaultStringPiece in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getDefaultStringPieceBytes()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];getDefaultStringPieceBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasDefaultCord()
optional string default_cord = 85 [default = "123", ctype = CORD];hasDefaultCord in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getDefaultCord()
optional string default_cord = 85 [default = "123", ctype = CORD];getDefaultCord in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getDefaultCordBytes()
optional string default_cord = 85 [default = "123", ctype = CORD];getDefaultCordBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOneofUint32()
optional uint32 oneof_uint32 = 111;hasOneofUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic int getOneofUint32()
optional uint32 oneof_uint32 = 111;getOneofUint32 in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOneofNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112;hasOneofNestedMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessage getOneofNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112;getOneofNestedMessage in interface UnittestProto.TestAllTypesOrBuilderpublic UnittestProto.TestAllTypes.NestedMessageOrBuilder getOneofNestedMessageOrBuilder()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112;getOneofNestedMessageOrBuilder in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOneofString()
optional string oneof_string = 113;hasOneofString in interface UnittestProto.TestAllTypesOrBuilderpublic java.lang.String getOneofString()
optional string oneof_string = 113;getOneofString in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOneofStringBytes()
optional string oneof_string = 113;getOneofStringBytes in interface UnittestProto.TestAllTypesOrBuilderpublic boolean hasOneofBytes()
optional bytes oneof_bytes = 114;hasOneofBytes in interface UnittestProto.TestAllTypesOrBuilderpublic com.google.protobuf.ByteString getOneofBytes()
optional bytes oneof_bytes = 114;getOneofBytes in interface UnittestProto.TestAllTypesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic 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 UnittestProto.TestAllTypes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestAllTypes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestAllTypes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestAllTypes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestAllTypes parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestAllTypes.Builder newBuilder()
public UnittestProto.TestAllTypes.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestProto.TestAllTypes.Builder newBuilder(UnittestProto.TestAllTypes prototype)
public UnittestProto.TestAllTypes.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestProto.TestAllTypes.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage