public static interface UnittestProto.TestAllTypesOrBuilder
extends com.google.protobuf.MessageOrBuilder
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]; |
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]; |
com.google.protobuf.ByteString |
getOneofBytes()
optional bytes oneof_bytes = 114; |
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; |
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; |
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; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasOptionalInt32()
optional int32 optional_int32 = 1;
Singular
int getOptionalInt32()
optional int32 optional_int32 = 1;
Singular
boolean hasOptionalInt64()
optional int64 optional_int64 = 2;
long getOptionalInt64()
optional int64 optional_int64 = 2;
boolean hasOptionalUint32()
optional uint32 optional_uint32 = 3;
int getOptionalUint32()
optional uint32 optional_uint32 = 3;
boolean hasOptionalUint64()
optional uint64 optional_uint64 = 4;
long getOptionalUint64()
optional uint64 optional_uint64 = 4;
boolean hasOptionalSint32()
optional sint32 optional_sint32 = 5;
int getOptionalSint32()
optional sint32 optional_sint32 = 5;
boolean hasOptionalSint64()
optional sint64 optional_sint64 = 6;
long getOptionalSint64()
optional sint64 optional_sint64 = 6;
boolean hasOptionalFixed32()
optional fixed32 optional_fixed32 = 7;
int getOptionalFixed32()
optional fixed32 optional_fixed32 = 7;
boolean hasOptionalFixed64()
optional fixed64 optional_fixed64 = 8;
long getOptionalFixed64()
optional fixed64 optional_fixed64 = 8;
boolean hasOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9;
int getOptionalSfixed32()
optional sfixed32 optional_sfixed32 = 9;
boolean hasOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10;
long getOptionalSfixed64()
optional sfixed64 optional_sfixed64 = 10;
boolean hasOptionalFloat()
optional float optional_float = 11;
float getOptionalFloat()
optional float optional_float = 11;
boolean hasOptionalDouble()
optional double optional_double = 12;
double getOptionalDouble()
optional double optional_double = 12;
boolean hasOptionalBool()
optional bool optional_bool = 13;
boolean getOptionalBool()
optional bool optional_bool = 13;
boolean hasOptionalString()
optional string optional_string = 14;
java.lang.String getOptionalString()
optional string optional_string = 14;
com.google.protobuf.ByteString getOptionalStringBytes()
optional string optional_string = 14;
boolean hasOptionalBytes()
optional bytes optional_bytes = 15;
com.google.protobuf.ByteString getOptionalBytes()
optional bytes optional_bytes = 15;
boolean hasOptionalGroup()
optional group OptionalGroup = 16 { ... }
UnittestProto.TestAllTypes.OptionalGroup getOptionalGroup()
optional group OptionalGroup = 16 { ... }
UnittestProto.TestAllTypes.OptionalGroupOrBuilder getOptionalGroupOrBuilder()
optional group OptionalGroup = 16 { ... }
boolean hasOptionalNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_nested_message = 18;
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;
boolean hasOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;
UnittestProto.ForeignMessage getOptionalForeignMessage()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;
UnittestProto.ForeignMessageOrBuilder getOptionalForeignMessageOrBuilder()
optional .protobuf_unittest.ForeignMessage optional_foreign_message = 19;
boolean hasOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;
UnittestImport.ImportMessage getOptionalImportMessage()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;
UnittestImport.ImportMessageOrBuilder getOptionalImportMessageOrBuilder()
optional .protobuf_unittest_import.ImportMessage optional_import_message = 20;
boolean hasOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21;
UnittestProto.TestAllTypes.NestedEnum getOptionalNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum optional_nested_enum = 21;
boolean hasOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22;
UnittestProto.ForeignEnum getOptionalForeignEnum()
optional .protobuf_unittest.ForeignEnum optional_foreign_enum = 22;
boolean hasOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23;
UnittestImport.ImportEnum getOptionalImportEnum()
optional .protobuf_unittest_import.ImportEnum optional_import_enum = 23;
boolean hasOptionalStringPiece()
optional string optional_string_piece = 24 [ctype = STRING_PIECE];
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];
boolean hasOptionalCord()
optional string optional_cord = 25 [ctype = CORD];
java.lang.String getOptionalCord()
optional string optional_cord = 25 [ctype = CORD];
com.google.protobuf.ByteString getOptionalCordBytes()
optional string optional_cord = 25 [ctype = CORD];
boolean hasOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
UnittestImportPublic.PublicImportMessage getOptionalPublicImportMessage()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
UnittestImportPublic.PublicImportMessageOrBuilder getOptionalPublicImportMessageOrBuilder()
optional .protobuf_unittest_import.PublicImportMessage optional_public_import_message = 26;
Defined in unittest_import_public.proto
boolean hasOptionalLazyMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage optional_lazy_message = 27 [lazy = true];
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];
java.util.List<java.lang.Integer> getRepeatedInt32List()
repeated int32 repeated_int32 = 31;
Repeated
int getRepeatedInt32Count()
repeated int32 repeated_int32 = 31;
Repeated
int getRepeatedInt32(int index)
repeated int32 repeated_int32 = 31;
Repeated
java.util.List<java.lang.Long> getRepeatedInt64List()
repeated int64 repeated_int64 = 32;
int getRepeatedInt64Count()
repeated int64 repeated_int64 = 32;
long getRepeatedInt64(int index)
repeated int64 repeated_int64 = 32;
java.util.List<java.lang.Integer> getRepeatedUint32List()
repeated uint32 repeated_uint32 = 33;
int getRepeatedUint32Count()
repeated uint32 repeated_uint32 = 33;
int getRepeatedUint32(int index)
repeated uint32 repeated_uint32 = 33;
java.util.List<java.lang.Long> getRepeatedUint64List()
repeated uint64 repeated_uint64 = 34;
int getRepeatedUint64Count()
repeated uint64 repeated_uint64 = 34;
long getRepeatedUint64(int index)
repeated uint64 repeated_uint64 = 34;
java.util.List<java.lang.Integer> getRepeatedSint32List()
repeated sint32 repeated_sint32 = 35;
int getRepeatedSint32Count()
repeated sint32 repeated_sint32 = 35;
int getRepeatedSint32(int index)
repeated sint32 repeated_sint32 = 35;
java.util.List<java.lang.Long> getRepeatedSint64List()
repeated sint64 repeated_sint64 = 36;
int getRepeatedSint64Count()
repeated sint64 repeated_sint64 = 36;
long getRepeatedSint64(int index)
repeated sint64 repeated_sint64 = 36;
java.util.List<java.lang.Integer> getRepeatedFixed32List()
repeated fixed32 repeated_fixed32 = 37;
int getRepeatedFixed32Count()
repeated fixed32 repeated_fixed32 = 37;
int getRepeatedFixed32(int index)
repeated fixed32 repeated_fixed32 = 37;
java.util.List<java.lang.Long> getRepeatedFixed64List()
repeated fixed64 repeated_fixed64 = 38;
int getRepeatedFixed64Count()
repeated fixed64 repeated_fixed64 = 38;
long getRepeatedFixed64(int index)
repeated fixed64 repeated_fixed64 = 38;
java.util.List<java.lang.Integer> getRepeatedSfixed32List()
repeated sfixed32 repeated_sfixed32 = 39;
int getRepeatedSfixed32Count()
repeated sfixed32 repeated_sfixed32 = 39;
int getRepeatedSfixed32(int index)
repeated sfixed32 repeated_sfixed32 = 39;
java.util.List<java.lang.Long> getRepeatedSfixed64List()
repeated sfixed64 repeated_sfixed64 = 40;
int getRepeatedSfixed64Count()
repeated sfixed64 repeated_sfixed64 = 40;
long getRepeatedSfixed64(int index)
repeated sfixed64 repeated_sfixed64 = 40;
java.util.List<java.lang.Float> getRepeatedFloatList()
repeated float repeated_float = 41;
int getRepeatedFloatCount()
repeated float repeated_float = 41;
float getRepeatedFloat(int index)
repeated float repeated_float = 41;
java.util.List<java.lang.Double> getRepeatedDoubleList()
repeated double repeated_double = 42;
int getRepeatedDoubleCount()
repeated double repeated_double = 42;
double getRepeatedDouble(int index)
repeated double repeated_double = 42;
java.util.List<java.lang.Boolean> getRepeatedBoolList()
repeated bool repeated_bool = 43;
int getRepeatedBoolCount()
repeated bool repeated_bool = 43;
boolean getRepeatedBool(int index)
repeated bool repeated_bool = 43;
com.google.protobuf.ProtocolStringList getRepeatedStringList()
repeated string repeated_string = 44;
int getRepeatedStringCount()
repeated string repeated_string = 44;
java.lang.String getRepeatedString(int index)
repeated string repeated_string = 44;
com.google.protobuf.ByteString getRepeatedStringBytes(int index)
repeated string repeated_string = 44;
java.util.List<com.google.protobuf.ByteString> getRepeatedBytesList()
repeated bytes repeated_bytes = 45;
int getRepeatedBytesCount()
repeated bytes repeated_bytes = 45;
com.google.protobuf.ByteString getRepeatedBytes(int index)
repeated bytes repeated_bytes = 45;
java.util.List<UnittestProto.TestAllTypes.RepeatedGroup> getRepeatedGroupList()
repeated group RepeatedGroup = 46 { ... }
UnittestProto.TestAllTypes.RepeatedGroup getRepeatedGroup(int index)
repeated group RepeatedGroup = 46 { ... }
int getRepeatedGroupCount()
repeated group RepeatedGroup = 46 { ... }
java.util.List<? extends UnittestProto.TestAllTypes.RepeatedGroupOrBuilder> getRepeatedGroupOrBuilderList()
repeated group RepeatedGroup = 46 { ... }
UnittestProto.TestAllTypes.RepeatedGroupOrBuilder getRepeatedGroupOrBuilder(int index)
repeated group RepeatedGroup = 46 { ... }
java.util.List<UnittestProto.TestAllTypes.NestedMessage> getRepeatedNestedMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_nested_message = 48;
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<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> getRepeatedNestedMessageOrBuilderList()
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<UnittestProto.ForeignMessage> getRepeatedForeignMessageList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;
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<? extends UnittestProto.ForeignMessageOrBuilder> getRepeatedForeignMessageOrBuilderList()
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;
UnittestProto.ForeignMessageOrBuilder getRepeatedForeignMessageOrBuilder(int index)
repeated .protobuf_unittest.ForeignMessage repeated_foreign_message = 49;
java.util.List<UnittestImport.ImportMessage> getRepeatedImportMessageList()
repeated .protobuf_unittest_import.ImportMessage repeated_import_message = 50;
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<? extends UnittestImport.ImportMessageOrBuilder> getRepeatedImportMessageOrBuilderList()
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<UnittestProto.TestAllTypes.NestedEnum> getRepeatedNestedEnumList()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;
int getRepeatedNestedEnumCount()
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;
UnittestProto.TestAllTypes.NestedEnum getRepeatedNestedEnum(int index)
repeated .protobuf_unittest.TestAllTypes.NestedEnum repeated_nested_enum = 51;
java.util.List<UnittestProto.ForeignEnum> getRepeatedForeignEnumList()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;
int getRepeatedForeignEnumCount()
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;
UnittestProto.ForeignEnum getRepeatedForeignEnum(int index)
repeated .protobuf_unittest.ForeignEnum repeated_foreign_enum = 52;
java.util.List<UnittestImport.ImportEnum> getRepeatedImportEnumList()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
int getRepeatedImportEnumCount()
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
UnittestImport.ImportEnum getRepeatedImportEnum(int index)
repeated .protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
com.google.protobuf.ProtocolStringList getRepeatedStringPieceList()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];
int getRepeatedStringPieceCount()
repeated string repeated_string_piece = 54 [ctype = STRING_PIECE];
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];
com.google.protobuf.ProtocolStringList getRepeatedCordList()
repeated string repeated_cord = 55 [ctype = CORD];
int getRepeatedCordCount()
repeated string repeated_cord = 55 [ctype = CORD];
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];
java.util.List<UnittestProto.TestAllTypes.NestedMessage> getRepeatedLazyMessageList()
repeated .protobuf_unittest.TestAllTypes.NestedMessage repeated_lazy_message = 57 [lazy = true];
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<? extends UnittestProto.TestAllTypes.NestedMessageOrBuilder> getRepeatedLazyMessageOrBuilderList()
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];
boolean hasDefaultInt32()
optional int32 default_int32 = 61 [default = 41];
Singular with defaults
int getDefaultInt32()
optional int32 default_int32 = 61 [default = 41];
Singular with defaults
boolean hasDefaultInt64()
optional int64 default_int64 = 62 [default = 42];
long getDefaultInt64()
optional int64 default_int64 = 62 [default = 42];
boolean hasDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43];
int getDefaultUint32()
optional uint32 default_uint32 = 63 [default = 43];
boolean hasDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44];
long getDefaultUint64()
optional uint64 default_uint64 = 64 [default = 44];
boolean hasDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45];
int getDefaultSint32()
optional sint32 default_sint32 = 65 [default = -45];
boolean hasDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46];
long getDefaultSint64()
optional sint64 default_sint64 = 66 [default = 46];
boolean hasDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47];
int getDefaultFixed32()
optional fixed32 default_fixed32 = 67 [default = 47];
boolean hasDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48];
long getDefaultFixed64()
optional fixed64 default_fixed64 = 68 [default = 48];
boolean hasDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49];
int getDefaultSfixed32()
optional sfixed32 default_sfixed32 = 69 [default = 49];
boolean hasDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50];
long getDefaultSfixed64()
optional sfixed64 default_sfixed64 = 70 [default = -50];
boolean hasDefaultFloat()
optional float default_float = 71 [default = 51.5];
float getDefaultFloat()
optional float default_float = 71 [default = 51.5];
boolean hasDefaultDouble()
optional double default_double = 72 [default = 52000];
double getDefaultDouble()
optional double default_double = 72 [default = 52000];
boolean hasDefaultBool()
optional bool default_bool = 73 [default = true];
boolean getDefaultBool()
optional bool default_bool = 73 [default = true];
boolean hasDefaultString()
optional string default_string = 74 [default = "hello"];
java.lang.String getDefaultString()
optional string default_string = 74 [default = "hello"];
com.google.protobuf.ByteString getDefaultStringBytes()
optional string default_string = 74 [default = "hello"];
boolean hasDefaultBytes()
optional bytes default_bytes = 75 [default = "world"];
com.google.protobuf.ByteString getDefaultBytes()
optional bytes default_bytes = 75 [default = "world"];
boolean hasDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR];
UnittestProto.TestAllTypes.NestedEnum getDefaultNestedEnum()
optional .protobuf_unittest.TestAllTypes.NestedEnum default_nested_enum = 81 [default = BAR];
boolean hasDefaultForeignEnum()
optional .protobuf_unittest.ForeignEnum default_foreign_enum = 82 [default = FOREIGN_BAR];
UnittestProto.ForeignEnum getDefaultForeignEnum()
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];
UnittestImport.ImportEnum getDefaultImportEnum()
optional .protobuf_unittest_import.ImportEnum default_import_enum = 83 [default = IMPORT_BAR];
boolean hasDefaultStringPiece()
optional string default_string_piece = 84 [default = "abc", ctype = STRING_PIECE];
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];
boolean hasDefaultCord()
optional string default_cord = 85 [default = "123", ctype = CORD];
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];
boolean hasOneofUint32()
optional uint32 oneof_uint32 = 111;
int getOneofUint32()
optional uint32 oneof_uint32 = 111;
boolean hasOneofNestedMessage()
optional .protobuf_unittest.TestAllTypes.NestedMessage oneof_nested_message = 112;
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;
boolean hasOneofString()
optional string oneof_string = 113;
java.lang.String getOneofString()
optional string oneof_string = 113;
com.google.protobuf.ByteString getOneofStringBytes()
optional string oneof_string = 113;
boolean hasOneofBytes()
optional bytes oneof_bytes = 114;
com.google.protobuf.ByteString getOneofBytes()
optional bytes oneof_bytes = 114;