public static final class UnittestProto.TestOneof.FooGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder> implements UnittestProto.TestOneof.FooGroupOrBuilder
protobuf_unittest.TestOneof.FooGroup| Modifier and Type | Method and Description |
|---|---|
UnittestProto.TestOneof.FooGroup |
build() |
UnittestProto.TestOneof.FooGroup |
buildPartial() |
UnittestProto.TestOneof.FooGroup.Builder |
clear() |
UnittestProto.TestOneof.FooGroup.Builder |
clearA()
optional int32 a = 5; |
UnittestProto.TestOneof.FooGroup.Builder |
clearB()
optional string b = 6; |
UnittestProto.TestOneof.FooGroup.Builder |
clone() |
int |
getA()
optional int32 a = 5; |
java.lang.String |
getB()
optional string b = 6; |
com.google.protobuf.ByteString |
getBBytes()
optional string b = 6; |
UnittestProto.TestOneof.FooGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasA()
optional int32 a = 5; |
boolean |
hasB()
optional string b = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnittestProto.TestOneof.FooGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnittestProto.TestOneof.FooGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnittestProto.TestOneof.FooGroup.Builder |
mergeFrom(UnittestProto.TestOneof.FooGroup other) |
UnittestProto.TestOneof.FooGroup.Builder |
setA(int value)
optional int32 a = 5; |
UnittestProto.TestOneof.FooGroup.Builder |
setB(java.lang.String value)
optional string b = 6; |
UnittestProto.TestOneof.FooGroup.Builder |
setBBytes(com.google.protobuf.ByteString value)
optional string b = 6; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public UnittestProto.TestOneof.FooGroup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public UnittestProto.TestOneof.FooGroup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public UnittestProto.TestOneof.FooGroup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UnittestProto.TestOneof.FooGroup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UnittestProto.TestOneof.FooGroup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UnittestProto.TestOneof.FooGroup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public UnittestProto.TestOneof.FooGroup.Builder mergeFrom(UnittestProto.TestOneof.FooGroup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>public UnittestProto.TestOneof.FooGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UnittestProto.TestOneof.FooGroup.Builder>java.io.IOExceptionpublic boolean hasA()
optional int32 a = 5;hasA in interface UnittestProto.TestOneof.FooGroupOrBuilderpublic int getA()
optional int32 a = 5;getA in interface UnittestProto.TestOneof.FooGroupOrBuilderpublic UnittestProto.TestOneof.FooGroup.Builder setA(int value)
optional int32 a = 5;public UnittestProto.TestOneof.FooGroup.Builder clearA()
optional int32 a = 5;public boolean hasB()
optional string b = 6;hasB in interface UnittestProto.TestOneof.FooGroupOrBuilderpublic java.lang.String getB()
optional string b = 6;getB in interface UnittestProto.TestOneof.FooGroupOrBuilderpublic com.google.protobuf.ByteString getBBytes()
optional string b = 6;getBBytes in interface UnittestProto.TestOneof.FooGroupOrBuilderpublic UnittestProto.TestOneof.FooGroup.Builder setB(java.lang.String value)
optional string b = 6;public UnittestProto.TestOneof.FooGroup.Builder clearB()
optional string b = 6;public UnittestProto.TestOneof.FooGroup.Builder setBBytes(com.google.protobuf.ByteString value)
optional string b = 6;