public static final class UnittestProto.TestOneof2 extends com.google.protobuf.GeneratedMessage implements UnittestProto.TestOneof2OrBuilder
protobuf_unittest.TestOneof2| Modifier and Type | Class and Description | 
|---|---|
static class  | 
UnittestProto.TestOneof2.BarCase  | 
static class  | 
UnittestProto.TestOneof2.Builder
Protobuf type  
protobuf_unittest.TestOneof2 | 
static class  | 
UnittestProto.TestOneof2.FooCase  | 
static class  | 
UnittestProto.TestOneof2.FooGroup
Protobuf type  
protobuf_unittest.TestOneof2.FooGroup | 
static interface  | 
UnittestProto.TestOneof2.FooGroupOrBuilder  | 
static class  | 
UnittestProto.TestOneof2.NestedEnum
Protobuf enum  
protobuf_unittest.TestOneof2.NestedEnum | 
static class  | 
UnittestProto.TestOneof2.NestedMessage
Protobuf type  
protobuf_unittest.TestOneof2.NestedMessage | 
static interface  | 
UnittestProto.TestOneof2.NestedMessageOrBuilder  | 
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description | 
|---|---|
static int | 
BAR_BYTES_FIELD_NUMBER  | 
static int | 
BAR_CORD_FIELD_NUMBER  | 
static int | 
BAR_ENUM_FIELD_NUMBER  | 
static int | 
BAR_INT_FIELD_NUMBER  | 
static int | 
BAR_STRING_FIELD_NUMBER  | 
static int | 
BAR_STRING_PIECE_FIELD_NUMBER  | 
static int | 
BAZ_INT_FIELD_NUMBER  | 
static int | 
BAZ_STRING_FIELD_NUMBER  | 
static int | 
FOO_BYTES_FIELD_NUMBER  | 
static int | 
FOO_CORD_FIELD_NUMBER  | 
static int | 
FOO_ENUM_FIELD_NUMBER  | 
static int | 
FOO_INT_FIELD_NUMBER  | 
static int | 
FOO_LAZY_MESSAGE_FIELD_NUMBER  | 
static int | 
FOO_MESSAGE_FIELD_NUMBER  | 
static int | 
FOO_STRING_FIELD_NUMBER  | 
static int | 
FOO_STRING_PIECE_FIELD_NUMBER  | 
static int | 
FOOGROUP_FIELD_NUMBER  | 
static com.google.protobuf.Parser<UnittestProto.TestOneof2> | 
PARSER  | 
| Modifier and Type | Method and Description | 
|---|---|
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"]; | 
static UnittestProto.TestOneof2 | 
getDefaultInstance()  | 
UnittestProto.TestOneof2 | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
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.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]; | 
com.google.protobuf.Parser<UnittestProto.TestOneof2> | 
getParserForType()  | 
int | 
getSerializedSize()  | 
com.google.protobuf.UnknownFieldSet | 
getUnknownFields()  | 
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()  | 
static UnittestProto.TestOneof2.Builder | 
newBuilder()  | 
static UnittestProto.TestOneof2.Builder | 
newBuilder(UnittestProto.TestOneof2 prototype)  | 
UnittestProto.TestOneof2.Builder | 
newBuilderForType()  | 
protected UnittestProto.TestOneof2.Builder | 
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)  | 
static UnittestProto.TestOneof2 | 
parseDelimitedFrom(java.io.InputStream input)  | 
static UnittestProto.TestOneof2 | 
parseDelimitedFrom(java.io.InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static UnittestProto.TestOneof2 | 
parseFrom(byte[] data)  | 
static UnittestProto.TestOneof2 | 
parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static UnittestProto.TestOneof2 | 
parseFrom(com.google.protobuf.ByteString data)  | 
static UnittestProto.TestOneof2 | 
parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static UnittestProto.TestOneof2 | 
parseFrom(com.google.protobuf.CodedInputStream input)  | 
static UnittestProto.TestOneof2 | 
parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
static UnittestProto.TestOneof2 | 
parseFrom(java.io.InputStream input)  | 
static UnittestProto.TestOneof2 | 
parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
UnittestProto.TestOneof2.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.TestOneof2> PARSER
public static final int FOO_INT_FIELD_NUMBER
public static final int FOO_STRING_FIELD_NUMBER
public static final int FOO_CORD_FIELD_NUMBER
public static final int FOO_STRING_PIECE_FIELD_NUMBER
public static final int FOO_BYTES_FIELD_NUMBER
public static final int FOO_ENUM_FIELD_NUMBER
public static final int FOO_MESSAGE_FIELD_NUMBER
public static final int FOOGROUP_FIELD_NUMBER
public static final int FOO_LAZY_MESSAGE_FIELD_NUMBER
public static final int BAR_INT_FIELD_NUMBER
public static final int BAR_STRING_FIELD_NUMBER
public static final int BAR_CORD_FIELD_NUMBER
public static final int BAR_STRING_PIECE_FIELD_NUMBER
public static final int BAR_BYTES_FIELD_NUMBER
public static final int BAR_ENUM_FIELD_NUMBER
public static final int BAZ_INT_FIELD_NUMBER
public static final int BAZ_STRING_FIELD_NUMBER
public static UnittestProto.TestOneof2 getDefaultInstance()
public UnittestProto.TestOneof2 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.TestOneof2> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic UnittestProto.TestOneof2.FooCase getFooCase()
public UnittestProto.TestOneof2.BarCase getBarCase()
public boolean hasFooInt()
optional int32 foo_int = 1;hasFooInt in interface UnittestProto.TestOneof2OrBuilderpublic int getFooInt()
optional int32 foo_int = 1;getFooInt in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooString()
optional string foo_string = 2;hasFooString in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getFooString()
optional string foo_string = 2;getFooString in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getFooStringBytes()
optional string foo_string = 2;getFooStringBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooCord()
optional string foo_cord = 3 [ctype = CORD];hasFooCord in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getFooCord()
optional string foo_cord = 3 [ctype = CORD];getFooCord in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getFooCordBytes()
optional string foo_cord = 3 [ctype = CORD];getFooCordBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];hasFooStringPiece in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getFooStringPiece()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];getFooStringPiece in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getFooStringPieceBytes()
optional string foo_string_piece = 4 [ctype = STRING_PIECE];getFooStringPieceBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooBytes()
optional bytes foo_bytes = 5;hasFooBytes in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getFooBytes()
optional bytes foo_bytes = 5;getFooBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;hasFooEnum in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedEnum getFooEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum foo_enum = 6;getFooEnum in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;hasFooMessage in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedMessage getFooMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;getFooMessage in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedMessageOrBuilder getFooMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_message = 7;getFooMessageOrBuilder in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooGroup()
optional group FooGroup = 8 { ... }hasFooGroup in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.FooGroup getFooGroup()
optional group FooGroup = 8 { ... }getFooGroup in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.FooGroupOrBuilder getFooGroupOrBuilder()
optional group FooGroup = 8 { ... }getFooGroupOrBuilder in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];hasFooLazyMessage in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedMessage getFooLazyMessage()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];getFooLazyMessage in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedMessageOrBuilder getFooLazyMessageOrBuilder()
optional .protobuf_unittest.TestOneof2.NestedMessage foo_lazy_message = 11 [lazy = true];getFooLazyMessageOrBuilder in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarInt()
optional int32 bar_int = 12 [default = 5];hasBarInt in interface UnittestProto.TestOneof2OrBuilderpublic int getBarInt()
optional int32 bar_int = 12 [default = 5];getBarInt in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarString()
optional string bar_string = 13 [default = "STRING"];hasBarString in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getBarString()
optional string bar_string = 13 [default = "STRING"];getBarString in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getBarStringBytes()
optional string bar_string = 13 [default = "STRING"];getBarStringBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];hasBarCord in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getBarCord()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];getBarCord in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getBarCordBytes()
optional string bar_cord = 14 [default = "CORD", ctype = CORD];getBarCordBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];hasBarStringPiece in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getBarStringPiece()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];getBarStringPiece in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getBarStringPieceBytes()
optional string bar_string_piece = 15 [default = "SPIECE", ctype = STRING_PIECE];getBarStringPieceBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];hasBarBytes in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getBarBytes()
optional bytes bar_bytes = 16 [default = "BYTES"];getBarBytes in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];hasBarEnum in interface UnittestProto.TestOneof2OrBuilderpublic UnittestProto.TestOneof2.NestedEnum getBarEnum()
optional .protobuf_unittest.TestOneof2.NestedEnum bar_enum = 17 [default = BAR];getBarEnum in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBazInt()
optional int32 baz_int = 18;hasBazInt in interface UnittestProto.TestOneof2OrBuilderpublic int getBazInt()
optional int32 baz_int = 18;getBazInt in interface UnittestProto.TestOneof2OrBuilderpublic boolean hasBazString()
optional string baz_string = 19 [default = "BAZ"];hasBazString in interface UnittestProto.TestOneof2OrBuilderpublic java.lang.String getBazString()
optional string baz_string = 19 [default = "BAZ"];getBazString in interface UnittestProto.TestOneof2OrBuilderpublic com.google.protobuf.ByteString getBazStringBytes()
optional string baz_string = 19 [default = "BAZ"];getBazStringBytes in interface UnittestProto.TestOneof2OrBuilderpublic 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.TestOneof2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestOneof2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestOneof2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestOneof2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UnittestProto.TestOneof2 parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UnittestProto.TestOneof2.Builder newBuilder()
public UnittestProto.TestOneof2.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UnittestProto.TestOneof2.Builder newBuilder(UnittestProto.TestOneof2 prototype)
public UnittestProto.TestOneof2.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UnittestProto.TestOneof2.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage