public static final class DescriptorProtos.EnumDescriptorProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumDescriptorProto.Builder> implements DescriptorProtos.EnumDescriptorProtoOrBuilder
Describes an enum type.Protobuf type
google.protobuf.EnumDescriptorProto
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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DescriptorProtos.EnumDescriptorProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.EnumDescriptorProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.Builder mergeFrom(DescriptorProtos.EnumDescriptorProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumDescriptorProto.Builder>
public DescriptorProtos.EnumDescriptorProto.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.EnumDescriptorProto.Builder>
IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public String getName()
optional string name = 1;
getName
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumDescriptorProto.Builder setName(String value)
optional string name = 1;
public DescriptorProtos.EnumDescriptorProto.Builder clearName()
optional string name = 1;
public DescriptorProtos.EnumDescriptorProto.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
public List<DescriptorProtos.EnumValueDescriptorProto> getValueList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
getValueList
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public int getValueCount()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
getValueCount
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueDescriptorProto getValue(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
getValue
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumDescriptorProto.Builder setValue(int index, DescriptorProtos.EnumValueDescriptorProto value)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder setValue(int index, DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder addValue(DescriptorProtos.EnumValueDescriptorProto value)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder addValue(int index, DescriptorProtos.EnumValueDescriptorProto value)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder addValue(DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder addValue(int index, DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder addAllValue(Iterable<? extends DescriptorProtos.EnumValueDescriptorProto> values)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder clearValue()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumDescriptorProto.Builder removeValue(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumValueDescriptorProto.Builder getValueBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
getValueOrBuilder
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public List<? extends DescriptorProtos.EnumValueDescriptorProtoOrBuilder> getValueOrBuilderList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
getValueOrBuilderList
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public List<DescriptorProtos.EnumValueDescriptorProto.Builder> getValueBuilderList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
public boolean hasOptions()
optional .google.protobuf.EnumOptions options = 3;
hasOptions
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumOptions getOptions()
optional .google.protobuf.EnumOptions options = 3;
getOptions
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public DescriptorProtos.EnumDescriptorProto.Builder setOptions(DescriptorProtos.EnumOptions value)
optional .google.protobuf.EnumOptions options = 3;
public DescriptorProtos.EnumDescriptorProto.Builder setOptions(DescriptorProtos.EnumOptions.Builder builderForValue)
optional .google.protobuf.EnumOptions options = 3;
public DescriptorProtos.EnumDescriptorProto.Builder mergeOptions(DescriptorProtos.EnumOptions value)
optional .google.protobuf.EnumOptions options = 3;
public DescriptorProtos.EnumDescriptorProto.Builder clearOptions()
optional .google.protobuf.EnumOptions options = 3;
public DescriptorProtos.EnumOptions.Builder getOptionsBuilder()
optional .google.protobuf.EnumOptions options = 3;
public DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumOptions options = 3;
getOptionsOrBuilder
in interface DescriptorProtos.EnumDescriptorProtoOrBuilder
public final DescriptorProtos.EnumDescriptorProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumDescriptorProto.Builder>
public final DescriptorProtos.EnumDescriptorProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.EnumDescriptorProto.Builder>
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.