Class TagField.EnumValue.Builder (1.51.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TagField.EnumValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TagField.EnumValue.Builder
Overrides

build()

public TagField.EnumValue build()
Returns
Type Description
TagField.EnumValue

buildPartial()

public TagField.EnumValue buildPartial()
Returns
Type Description
TagField.EnumValue

clear()

public TagField.EnumValue.Builder clear()
Returns
Type Description
TagField.EnumValue.Builder
Overrides

clearDisplayName()

public TagField.EnumValue.Builder clearDisplayName()

The display name of the enum value.

string display_name = 1;

Returns
Type Description
TagField.EnumValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TagField.EnumValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TagField.EnumValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TagField.EnumValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TagField.EnumValue.Builder
Overrides

clone()

public TagField.EnumValue.Builder clone()
Returns
Type Description
TagField.EnumValue.Builder
Overrides

getDefaultInstanceForType()

public TagField.EnumValue getDefaultInstanceForType()
Returns
Type Description
TagField.EnumValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TagField.EnumValue other)

public TagField.EnumValue.Builder mergeFrom(TagField.EnumValue other)
Parameter
Name Description
other TagField.EnumValue
Returns
Type Description
TagField.EnumValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TagField.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField.EnumValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TagField.EnumValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TagField.EnumValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TagField.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TagField.EnumValue.Builder
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
Type Description
TagField.EnumValue.Builder

This builder for chaining.

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
Type Description
TagField.EnumValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TagField.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TagField.EnumValue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TagField.EnumValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TagField.EnumValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TagField.EnumValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TagField.EnumValue.Builder
Overrides