public static interface UnittestProto.TestOneof2OrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"]; |
java.lang.String |
getBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
com.google.protobuf.ByteString |
getBarCordBytes()
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
UnittestProto.TestOneof2.NestedEnum |
getBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR]; |
int |
getBarInt()
optional int32 bar_int = 12 [default = 5]; |
java.lang.String |
getBarString()
optional string bar_string = 13 [default = "STRING"]; |
com.google.protobuf.ByteString |
getBarStringBytes()
optional string bar_string = 13 [default = "STRING"]; |
java.lang.String |
getBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getBarStringPieceBytes()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
int |
getBazInt()
optional int32 baz_int = 18; |
java.lang.String |
getBazString()
optional string baz_string = 19 [default = "BAZ"]; |
com.google.protobuf.ByteString |
getBazStringBytes()
optional string baz_string = 19 [default = "BAZ"]; |
com.google.protobuf.ByteString |
getFooBytes()
optional bytes foo_bytes = 5; |
java.lang.String |
getFooCord()
optional string foo_cord = 3 [ctype = CORD]; |
com.google.protobuf.ByteString |
getFooCordBytes()
optional string foo_cord = 3 [ctype = CORD]; |
UnittestProto.TestOneof2.NestedEnum |
getFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6; |
UnittestProto.TestOneof2.FooGroup |
getFooGroup()
optional group FooGroup = 8 { ... |
UnittestProto.TestOneof2.FooGroupOrBuilder |
getFooGroupOrBuilder()
optional group FooGroup = 8 { ... |
int |
getFooInt()
optional int32 foo_int = 1; |
UnittestProto.TestOneof2.NestedMessage |
getFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.NestedMessageOrBuilder |
getFooLazyMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.NestedMessage |
getFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
UnittestProto.TestOneof2.NestedMessageOrBuilder |
getFooMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
java.lang.String |
getFooString()
optional string foo_string = 2; |
com.google.protobuf.ByteString |
getFooStringBytes()
optional string foo_string = 2; |
java.lang.String |
getFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
com.google.protobuf.ByteString |
getFooStringPieceBytes()
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
boolean |
hasBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"]; |
boolean |
hasBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
boolean |
hasBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR]; |
boolean |
hasBarInt()
optional int32 bar_int = 12 [default = 5]; |
boolean |
hasBarString()
optional string bar_string = 13 [default = "STRING"]; |
boolean |
hasBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
boolean |
hasBazInt()
optional int32 baz_int = 18; |
boolean |
hasBazString()
optional string baz_string = 19 [default = "BAZ"]; |
boolean |
hasFooBytes()
optional bytes foo_bytes = 5; |
boolean |
hasFooCord()
optional string foo_cord = 3 [ctype = CORD]; |
boolean |
hasFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6; |
boolean |
hasFooGroup()
optional group FooGroup = 8 { ... |
boolean |
hasFooInt()
optional int32 foo_int = 1; |
boolean |
hasFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
boolean |
hasFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
boolean |
hasFooString()
optional string foo_string = 2; |
boolean |
hasFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasFooInt()
optional int32 foo_int = 1;
int getFooInt()
optional int32 foo_int = 1;
boolean hasFooString()
optional string foo_string = 2;
java.lang.String getFooString()
optional string foo_string = 2;
com.google.protobuf.ByteString getFooStringBytes()
optional string foo_string = 2;
boolean hasFooCord()
optional string foo_cord = 3 [ctype = CORD];
java.lang.String getFooCord()
optional string foo_cord = 3 [ctype = CORD];
com.google.protobuf.ByteString getFooCordBytes()
optional string foo_cord = 3 [ctype = CORD];
boolean hasFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
java.lang.String getFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
com.google.protobuf.ByteString getFooStringPieceBytes()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
boolean hasFooBytes()
optional bytes foo_bytes = 5;
com.google.protobuf.ByteString getFooBytes()
optional bytes foo_bytes = 5;
boolean hasFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
UnittestProto.TestOneof2.NestedEnum getFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
boolean hasFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
UnittestProto.TestOneof2.NestedMessage getFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
UnittestProto.TestOneof2.NestedMessageOrBuilder getFooMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
boolean hasFooGroup()
optional group FooGroup = 8 { ... }
UnittestProto.TestOneof2.FooGroup getFooGroup()
optional group FooGroup = 8 { ... }
UnittestProto.TestOneof2.FooGroupOrBuilder getFooGroupOrBuilder()
optional group FooGroup = 8 { ... }
boolean hasFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
UnittestProto.TestOneof2.NestedMessage getFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
UnittestProto.TestOneof2.NestedMessageOrBuilder getFooLazyMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
boolean hasBarInt()
optional int32 bar_int = 12 [default = 5];
int getBarInt()
optional int32 bar_int = 12 [default = 5];
boolean hasBarString()
optional string bar_string = 13 [default = "STRING"];
java.lang.String getBarString()
optional string bar_string = 13 [default = "STRING"];
com.google.protobuf.ByteString getBarStringBytes()
optional string bar_string = 13 [default = "STRING"];
boolean hasBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
java.lang.String getBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
com.google.protobuf.ByteString getBarCordBytes()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
boolean hasBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
java.lang.String getBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
com.google.protobuf.ByteString getBarStringPieceBytes()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
boolean hasBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];
com.google.protobuf.ByteString getBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];
boolean hasBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
UnittestProto.TestOneof2.NestedEnum getBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
boolean hasBazInt()
optional int32 baz_int = 18;
int getBazInt()
optional int32 baz_int = 18;
boolean hasBazString()
optional string baz_string = 19 [default = "BAZ"];
java.lang.String getBazString()
optional string baz_string = 19 [default = "BAZ"];
com.google.protobuf.ByteString getBazStringBytes()
optional string baz_string = 19 [default = "BAZ"];