Class TagField.EnumValue.Builder (1.42.0)

public static final class TagField.EnumValue.Builder extends GeneratedMessageV3.Builder<TagField.EnumValue.Builder> implements TagField.EnumValueOrBuilder

Holds an enum value.

Protobuf type google.cloud.datacatalog.v1beta1.TagField.EnumValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TagField.EnumValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

build()

public TagField.EnumValue build()
Returns
TypeDescription
TagField.EnumValue

buildPartial()

public TagField.EnumValue buildPartial()
Returns
TypeDescription
TagField.EnumValue

clear()

public TagField.EnumValue.Builder clear()
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

clearDisplayName()

public TagField.EnumValue.Builder clearDisplayName()

The display name of the enum value.

string display_name = 1;

Returns
TypeDescription
TagField.EnumValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TagField.EnumValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TagField.EnumValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

clone()

public TagField.EnumValue.Builder clone()
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

getDefaultInstanceForType()

public TagField.EnumValue getDefaultInstanceForType()
Returns
TypeDescription
TagField.EnumValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name of the enum value.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the enum value.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TagField.EnumValue other)

public TagField.EnumValue.Builder mergeFrom(TagField.EnumValue other)
Parameter
NameDescription
otherTagField.EnumValue
Returns
TypeDescription
TagField.EnumValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TagField.EnumValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TagField.EnumValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TagField.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
TagField.EnumValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TagField.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TagField.EnumValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TagField.EnumValue.Builder
Overrides