public static final class UnittestProto.TestOneof2.FooGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.FooGroup.Builder> implements UnittestProto.TestOneof2.FooGroupOrBuilder
protobuf_unittest.TestOneof2.FooGroup
Modifier and Type | Method and Description |
---|---|
UnittestProto.TestOneof2.FooGroup |
build() |
UnittestProto.TestOneof2.FooGroup |
buildPartial() |
UnittestProto.TestOneof2.FooGroup.Builder |
clear() |
UnittestProto.TestOneof2.FooGroup.Builder |
clearA()
optional int32 a = 9; |
UnittestProto.TestOneof2.FooGroup.Builder |
clearB()
optional string b = 10; |
UnittestProto.TestOneof2.FooGroup.Builder |
clone() |
int |
getA()
optional int32 a = 9; |
java.lang.String |
getB()
optional string b = 10; |
com.google.protobuf.ByteString |
getBBytes()
optional string b = 10; |
UnittestProto.TestOneof2.FooGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasA()
optional int32 a = 9; |
boolean |
hasB()
optional string b = 10; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnittestProto.TestOneof2.FooGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestOneof2.FooGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnittestProto.TestOneof2.FooGroup.Builder |
mergeFrom(UnittestProto.TestOneof2.FooGroup other) |
UnittestProto.TestOneof2.FooGroup.Builder |
setA(int value)
optional int32 a = 9; |
UnittestProto.TestOneof2.FooGroup.Builder |
setB(java.lang.String value)
optional string b = 10; |
UnittestProto.TestOneof2.FooGroup.Builder |
setBBytes(com.google.protobuf.ByteString value)
optional string b = 10; |
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.FooGroup.Builder>
public UnittestProto.TestOneof2.FooGroup.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.FooGroup.Builder>
public UnittestProto.TestOneof2.FooGroup.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.FooGroup.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.FooGroup.Builder>
public UnittestProto.TestOneof2.FooGroup getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UnittestProto.TestOneof2.FooGroup build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestOneof2.FooGroup buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UnittestProto.TestOneof2.FooGroup.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.FooGroup.Builder>
public UnittestProto.TestOneof2.FooGroup.Builder mergeFrom(UnittestProto.TestOneof2.FooGroup other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof2.FooGroup.Builder>
public UnittestProto.TestOneof2.FooGroup.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.FooGroup.Builder>
java.io.IOException
public boolean hasA()
optional int32 a = 9;
hasA
in interface UnittestProto.TestOneof2.FooGroupOrBuilder
public int getA()
optional int32 a = 9;
getA
in interface UnittestProto.TestOneof2.FooGroupOrBuilder
public UnittestProto.TestOneof2.FooGroup.Builder setA(int value)
optional int32 a = 9;
public UnittestProto.TestOneof2.FooGroup.Builder clearA()
optional int32 a = 9;
public boolean hasB()
optional string b = 10;
hasB
in interface UnittestProto.TestOneof2.FooGroupOrBuilder
public java.lang.String getB()
optional string b = 10;
getB
in interface UnittestProto.TestOneof2.FooGroupOrBuilder
public com.google.protobuf.ByteString getBBytes()
optional string b = 10;
getBBytes
in interface UnittestProto.TestOneof2.FooGroupOrBuilder
public UnittestProto.TestOneof2.FooGroup.Builder setB(java.lang.String value)
optional string b = 10;
public UnittestProto.TestOneof2.FooGroup.Builder clearB()
optional string b = 10;
public UnittestProto.TestOneof2.FooGroup.Builder setBBytes(com.google.protobuf.ByteString value)
optional string b = 10;