public static final class DescriptorProtos.EnumValueDescriptorProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder> implements DescriptorProtos.EnumValueDescriptorProtoOrBuilder
Describes a value within an enum.Protobuf type
google.protobuf.EnumValueDescriptorProto
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.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.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DescriptorProtos.EnumValueDescriptorProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.EnumValueDescriptorProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.EnumValueDescriptorProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder mergeFrom(DescriptorProtos.EnumValueDescriptorProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public DescriptorProtos.EnumValueDescriptorProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<DescriptorProtos.EnumValueDescriptorProto.Builder>
IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public String getName()
optional string name = 1;
getName
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueDescriptorProto.Builder setName(String value)
optional string name = 1;
public DescriptorProtos.EnumValueDescriptorProto.Builder clearName()
optional string name = 1;
public DescriptorProtos.EnumValueDescriptorProto.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
public boolean hasNumber()
optional int32 number = 2;
hasNumber
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public int getNumber()
optional int32 number = 2;
getNumber
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueDescriptorProto.Builder setNumber(int value)
optional int32 number = 2;
public DescriptorProtos.EnumValueDescriptorProto.Builder clearNumber()
optional int32 number = 2;
public boolean hasOptions()
optional .google.protobuf.EnumValueOptions options = 3;
hasOptions
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueOptions getOptions()
optional .google.protobuf.EnumValueOptions options = 3;
getOptions
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueDescriptorProto.Builder setOptions(DescriptorProtos.EnumValueOptions value)
optional .google.protobuf.EnumValueOptions options = 3;
public DescriptorProtos.EnumValueDescriptorProto.Builder setOptions(DescriptorProtos.EnumValueOptions.Builder builderForValue)
optional .google.protobuf.EnumValueOptions options = 3;
public DescriptorProtos.EnumValueDescriptorProto.Builder mergeOptions(DescriptorProtos.EnumValueOptions value)
optional .google.protobuf.EnumValueOptions options = 3;
public DescriptorProtos.EnumValueDescriptorProto.Builder clearOptions()
optional .google.protobuf.EnumValueOptions options = 3;
public DescriptorProtos.EnumValueOptions.Builder getOptionsBuilder()
optional .google.protobuf.EnumValueOptions options = 3;
public DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumValueOptions options = 3;
getOptionsOrBuilder
in interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
public final DescriptorProtos.EnumValueDescriptorProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
public final DescriptorProtos.EnumValueDescriptorProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumValueDescriptorProto.Builder>
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.