public static final class UnittestProto.TestOneof2.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder> implements UnittestProto.TestOneof2OrBuilder
protobuf_unittest.TestOneof2
Modifier and Type | Method and Description |
---|---|
UnittestProto.TestOneof2 |
build() |
UnittestProto.TestOneof2 |
buildPartial() |
UnittestProto.TestOneof2.Builder |
clear() |
UnittestProto.TestOneof2.Builder |
clearBar() |
UnittestProto.TestOneof2.Builder |
clearBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"]; |
UnittestProto.TestOneof2.Builder |
clearBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
clearBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR]; |
UnittestProto.TestOneof2.Builder |
clearBarInt()
optional int32 bar_int = 12 [default = 5]; |
UnittestProto.TestOneof2.Builder |
clearBarString()
optional string bar_string = 13 [default = "STRING"]; |
UnittestProto.TestOneof2.Builder |
clearBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
UnittestProto.TestOneof2.Builder |
clearBazInt()
optional int32 baz_int = 18; |
UnittestProto.TestOneof2.Builder |
clearBazString()
optional string baz_string = 19 [default = "BAZ"]; |
UnittestProto.TestOneof2.Builder |
clearFoo() |
UnittestProto.TestOneof2.Builder |
clearFooBytes()
optional bytes foo_bytes = 5; |
UnittestProto.TestOneof2.Builder |
clearFooCord()
optional string foo_cord = 3 [ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
clearFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6; |
UnittestProto.TestOneof2.Builder |
clearFooGroup()
optional group FooGroup = 8 { ... |
UnittestProto.TestOneof2.Builder |
clearFooInt()
optional int32 foo_int = 1; |
UnittestProto.TestOneof2.Builder |
clearFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.Builder |
clearFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
UnittestProto.TestOneof2.Builder |
clearFooString()
optional string foo_string = 2; |
UnittestProto.TestOneof2.Builder |
clearFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
UnittestProto.TestOneof2.Builder |
clone() |
com.google.protobuf.ByteString |
getBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"]; |
UnittestProto.TestOneof2.BarCase |
getBarCase() |
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"]; |
UnittestProto.TestOneof2 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFooBytes()
optional bytes foo_bytes = 5; |
UnittestProto.TestOneof2.FooCase |
getFooCase() |
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.FooGroup.Builder |
getFooGroupBuilder()
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.NestedMessage.Builder |
getFooLazyMessageBuilder()
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.NestedMessage.Builder |
getFooMessageBuilder()
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]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnittestProto.TestOneof2.Builder |
mergeFooGroup(UnittestProto.TestOneof2.FooGroup value)
optional group FooGroup = 8 { ... |
UnittestProto.TestOneof2.Builder |
mergeFooLazyMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.Builder |
mergeFooMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
UnittestProto.TestOneof2.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestOneof2.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnittestProto.TestOneof2.Builder |
mergeFrom(UnittestProto.TestOneof2 other) |
UnittestProto.TestOneof2.Builder |
setBarBytes(com.google.protobuf.ByteString value)
optional bytes bar_bytes = 16 [default = "BYTES"]; |
UnittestProto.TestOneof2.Builder |
setBarCord(java.lang.String value)
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
setBarCordBytes(com.google.protobuf.ByteString value)
optional string bar_cord = 14 [default = "CORD", ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
setBarEnum(UnittestProto.TestOneof2.NestedEnum value)
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR]; |
UnittestProto.TestOneof2.Builder |
setBarInt(int value)
optional int32 bar_int = 12 [default = 5]; |
UnittestProto.TestOneof2.Builder |
setBarString(java.lang.String value)
optional string bar_string = 13 [default = "STRING"]; |
UnittestProto.TestOneof2.Builder |
setBarStringBytes(com.google.protobuf.ByteString value)
optional string bar_string = 13 [default = "STRING"]; |
UnittestProto.TestOneof2.Builder |
setBarStringPiece(java.lang.String value)
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
UnittestProto.TestOneof2.Builder |
setBarStringPieceBytes(com.google.protobuf.ByteString value)
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE]; |
UnittestProto.TestOneof2.Builder |
setBazInt(int value)
optional int32 baz_int = 18; |
UnittestProto.TestOneof2.Builder |
setBazString(java.lang.String value)
optional string baz_string = 19 [default = "BAZ"]; |
UnittestProto.TestOneof2.Builder |
setBazStringBytes(com.google.protobuf.ByteString value)
optional string baz_string = 19 [default = "BAZ"]; |
UnittestProto.TestOneof2.Builder |
setFooBytes(com.google.protobuf.ByteString value)
optional bytes foo_bytes = 5; |
UnittestProto.TestOneof2.Builder |
setFooCord(java.lang.String value)
optional string foo_cord = 3 [ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
setFooCordBytes(com.google.protobuf.ByteString value)
optional string foo_cord = 3 [ctype = CORD]; |
UnittestProto.TestOneof2.Builder |
setFooEnum(UnittestProto.TestOneof2.NestedEnum value)
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6; |
UnittestProto.TestOneof2.Builder |
setFooGroup(UnittestProto.TestOneof2.FooGroup.Builder builderForValue)
optional group FooGroup = 8 { ... |
UnittestProto.TestOneof2.Builder |
setFooGroup(UnittestProto.TestOneof2.FooGroup value)
optional group FooGroup = 8 { ... |
UnittestProto.TestOneof2.Builder |
setFooInt(int value)
optional int32 foo_int = 1; |
UnittestProto.TestOneof2.Builder |
setFooLazyMessage(UnittestProto.TestOneof2.NestedMessage.Builder builderForValue)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.Builder |
setFooLazyMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true]; |
UnittestProto.TestOneof2.Builder |
setFooMessage(UnittestProto.TestOneof2.NestedMessage.Builder builderForValue)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
UnittestProto.TestOneof2.Builder |
setFooMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7; |
UnittestProto.TestOneof2.Builder |
setFooString(java.lang.String value)
optional string foo_string = 2; |
UnittestProto.TestOneof2.Builder |
setFooStringBytes(com.google.protobuf.ByteString value)
optional string foo_string = 2; |
UnittestProto.TestOneof2.Builder |
setFooStringPiece(java.lang.String value)
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
UnittestProto.TestOneof2.Builder |
setFooStringPieceBytes(com.google.protobuf.ByteString value)
optional string foo_string_piece = 4 [ctype = STRING_PIECE]; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder>
public UnittestProto.TestOneof2.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder>
public UnittestProto.TestOneof2.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder>
public UnittestProto.TestOneof2 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestProto.TestOneof2 build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestOneof2 buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestOneof2.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestOneof2.Builder>
public UnittestProto.TestOneof2.Builder mergeFrom(UnittestProto.TestOneof2 other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.Builder>
public UnittestProto.TestOneof2.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestOneof2.Builder>
java.io.IOException
public UnittestProto.TestOneof2.FooCase getFooCase()
public UnittestProto.TestOneof2.Builder clearFoo()
public UnittestProto.TestOneof2.BarCase getBarCase()
public UnittestProto.TestOneof2.Builder clearBar()
public boolean hasFooInt()
optional int32 foo_int = 1;
hasFooInt
in interface UnittestProto.TestOneof2OrBuilder
public int getFooInt()
optional int32 foo_int = 1;
getFooInt
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooInt(int value)
optional int32 foo_int = 1;
public UnittestProto.TestOneof2.Builder clearFooInt()
optional int32 foo_int = 1;
public boolean hasFooString()
optional string foo_string = 2;
hasFooString
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getFooString()
optional string foo_string = 2;
getFooString
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getFooStringBytes()
optional string foo_string = 2;
getFooStringBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooString(java.lang.String value)
optional string foo_string = 2;
public UnittestProto.TestOneof2.Builder clearFooString()
optional string foo_string = 2;
public UnittestProto.TestOneof2.Builder setFooStringBytes(com.google.protobuf.ByteString value)
optional string foo_string = 2;
public boolean hasFooCord()
optional string foo_cord = 3 [ctype = CORD];
hasFooCord
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getFooCord()
optional string foo_cord = 3 [ctype = CORD];
getFooCord
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getFooCordBytes()
optional string foo_cord = 3 [ctype = CORD];
getFooCordBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooCord(java.lang.String value)
optional string foo_cord = 3 [ctype = CORD];
public UnittestProto.TestOneof2.Builder clearFooCord()
optional string foo_cord = 3 [ctype = CORD];
public UnittestProto.TestOneof2.Builder setFooCordBytes(com.google.protobuf.ByteString value)
optional string foo_cord = 3 [ctype = CORD];
public boolean hasFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
hasFooStringPiece
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
getFooStringPiece
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getFooStringPieceBytes()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
getFooStringPieceBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooStringPiece(java.lang.String value)
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
public UnittestProto.TestOneof2.Builder clearFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
public UnittestProto.TestOneof2.Builder setFooStringPieceBytes(com.google.protobuf.ByteString value)
optional string foo_string_piece = 4 [ctype = STRING_PIECE];
public boolean hasFooBytes()
optional bytes foo_bytes = 5;
hasFooBytes
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getFooBytes()
optional bytes foo_bytes = 5;
getFooBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooBytes(com.google.protobuf.ByteString value)
optional bytes foo_bytes = 5;
public UnittestProto.TestOneof2.Builder clearFooBytes()
optional bytes foo_bytes = 5;
public boolean hasFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
hasFooEnum
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.NestedEnum getFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
getFooEnum
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooEnum(UnittestProto.TestOneof2.NestedEnum value)
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
public UnittestProto.TestOneof2.Builder clearFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;
public boolean hasFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
hasFooMessage
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.NestedMessage getFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
getFooMessage
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
public UnittestProto.TestOneof2.Builder setFooMessage(UnittestProto.TestOneof2.NestedMessage.Builder builderForValue)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
public UnittestProto.TestOneof2.Builder mergeFooMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
public UnittestProto.TestOneof2.Builder clearFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
public UnittestProto.TestOneof2.NestedMessage.Builder getFooMessageBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
public UnittestProto.TestOneof2.NestedMessageOrBuilder getFooMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;
getFooMessageOrBuilder
in interface UnittestProto.TestOneof2OrBuilder
public boolean hasFooGroup()
optional group FooGroup = 8 { ... }
hasFooGroup
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.FooGroup getFooGroup()
optional group FooGroup = 8 { ... }
getFooGroup
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooGroup(UnittestProto.TestOneof2.FooGroup value)
optional group FooGroup = 8 { ... }
public UnittestProto.TestOneof2.Builder setFooGroup(UnittestProto.TestOneof2.FooGroup.Builder builderForValue)
optional group FooGroup = 8 { ... }
public UnittestProto.TestOneof2.Builder mergeFooGroup(UnittestProto.TestOneof2.FooGroup value)
optional group FooGroup = 8 { ... }
public UnittestProto.TestOneof2.Builder clearFooGroup()
optional group FooGroup = 8 { ... }
public UnittestProto.TestOneof2.FooGroup.Builder getFooGroupBuilder()
optional group FooGroup = 8 { ... }
public UnittestProto.TestOneof2.FooGroupOrBuilder getFooGroupOrBuilder()
optional group FooGroup = 8 { ... }
getFooGroupOrBuilder
in interface UnittestProto.TestOneof2OrBuilder
public boolean hasFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
hasFooLazyMessage
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.NestedMessage getFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
getFooLazyMessage
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setFooLazyMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
public UnittestProto.TestOneof2.Builder setFooLazyMessage(UnittestProto.TestOneof2.NestedMessage.Builder builderForValue)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
public UnittestProto.TestOneof2.Builder mergeFooLazyMessage(UnittestProto.TestOneof2.NestedMessage value)
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
public UnittestProto.TestOneof2.Builder clearFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
public UnittestProto.TestOneof2.NestedMessage.Builder getFooLazyMessageBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
public UnittestProto.TestOneof2.NestedMessageOrBuilder getFooLazyMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];
getFooLazyMessageOrBuilder
in interface UnittestProto.TestOneof2OrBuilder
public boolean hasBarInt()
optional int32 bar_int = 12 [default = 5];
hasBarInt
in interface UnittestProto.TestOneof2OrBuilder
public int getBarInt()
optional int32 bar_int = 12 [default = 5];
getBarInt
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarInt(int value)
optional int32 bar_int = 12 [default = 5];
public UnittestProto.TestOneof2.Builder clearBarInt()
optional int32 bar_int = 12 [default = 5];
public boolean hasBarString()
optional string bar_string = 13 [default = "STRING"];
hasBarString
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getBarString()
optional string bar_string = 13 [default = "STRING"];
getBarString
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getBarStringBytes()
optional string bar_string = 13 [default = "STRING"];
getBarStringBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarString(java.lang.String value)
optional string bar_string = 13 [default = "STRING"];
public UnittestProto.TestOneof2.Builder clearBarString()
optional string bar_string = 13 [default = "STRING"];
public UnittestProto.TestOneof2.Builder setBarStringBytes(com.google.protobuf.ByteString value)
optional string bar_string = 13 [default = "STRING"];
public boolean hasBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
hasBarCord
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
getBarCord
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getBarCordBytes()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
getBarCordBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarCord(java.lang.String value)
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
public UnittestProto.TestOneof2.Builder clearBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
public UnittestProto.TestOneof2.Builder setBarCordBytes(com.google.protobuf.ByteString value)
optional string bar_cord = 14 [default = "CORD", ctype = CORD];
public boolean hasBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
hasBarStringPiece
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
getBarStringPiece
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getBarStringPieceBytes()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
getBarStringPieceBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarStringPiece(java.lang.String value)
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
public UnittestProto.TestOneof2.Builder clearBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
public UnittestProto.TestOneof2.Builder setBarStringPieceBytes(com.google.protobuf.ByteString value)
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];
public boolean hasBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];
hasBarBytes
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];
getBarBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarBytes(com.google.protobuf.ByteString value)
optional bytes bar_bytes = 16 [default = "BYTES"];
public UnittestProto.TestOneof2.Builder clearBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];
public boolean hasBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
hasBarEnum
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.NestedEnum getBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
getBarEnum
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBarEnum(UnittestProto.TestOneof2.NestedEnum value)
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
public UnittestProto.TestOneof2.Builder clearBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];
public boolean hasBazInt()
optional int32 baz_int = 18;
hasBazInt
in interface UnittestProto.TestOneof2OrBuilder
public int getBazInt()
optional int32 baz_int = 18;
getBazInt
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBazInt(int value)
optional int32 baz_int = 18;
public UnittestProto.TestOneof2.Builder clearBazInt()
optional int32 baz_int = 18;
public boolean hasBazString()
optional string baz_string = 19 [default = "BAZ"];
hasBazString
in interface UnittestProto.TestOneof2OrBuilder
public java.lang.String getBazString()
optional string baz_string = 19 [default = "BAZ"];
getBazString
in interface UnittestProto.TestOneof2OrBuilder
public com.google.protobuf.ByteString getBazStringBytes()
optional string baz_string = 19 [default = "BAZ"];
getBazStringBytes
in interface UnittestProto.TestOneof2OrBuilder
public UnittestProto.TestOneof2.Builder setBazString(java.lang.String value)
optional string baz_string = 19 [default = "BAZ"];
public UnittestProto.TestOneof2.Builder clearBazString()
optional string baz_string = 19 [default = "BAZ"];
public UnittestProto.TestOneof2.Builder setBazStringBytes(com.google.protobuf.ByteString value)
optional string baz_string = 19 [default = "BAZ"];