public static final class TagField.EnumValue.Builder extends GeneratedMessageV3.Builder<TagField.EnumValue.Builder> implements TagField.EnumValueOrBuilder
An enum value.
Protobuf type google.cloud.datacatalog.v1.TagField.EnumValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TagField.EnumValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TagField.EnumValue build()
Returns
buildPartial()
public TagField.EnumValue buildPartial()
Returns
clear()
public TagField.EnumValue.Builder clear()
Returns
Overrides
clearDisplayName()
public TagField.EnumValue.Builder clearDisplayName()
The display name of the enum value.
string display_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public TagField.EnumValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TagField.EnumValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TagField.EnumValue.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TagField.EnumValue getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDisplayName()
public String getDisplayName()
The display name of the enum value.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the enum value.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TagField.EnumValue other)
public TagField.EnumValue.Builder mergeFrom(TagField.EnumValue other)
Parameter
Returns
public TagField.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TagField.EnumValue.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TagField.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDisplayName(String value)
public TagField.EnumValue.Builder setDisplayName(String value)
The display name of the enum value.
string display_name = 1;
Parameter
Name | Description |
value | String
The displayName to set.
|
Returns
setDisplayNameBytes(ByteString value)
public TagField.EnumValue.Builder setDisplayNameBytes(ByteString value)
The display name of the enum value.
string display_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for displayName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TagField.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TagField.EnumValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TagField.EnumValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides