Class FieldType.EnumType.EnumValue.Builder (1.24.0)

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

Protobuf type google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FieldType.EnumType.EnumValue build()
Returns
TypeDescription
FieldType.EnumType.EnumValue

buildPartial()

public FieldType.EnumType.EnumValue buildPartial()
Returns
TypeDescription
FieldType.EnumType.EnumValue

clear()

public FieldType.EnumType.EnumValue.Builder clear()
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder
Overrides

clearDisplayName()

public FieldType.EnumType.EnumValue.Builder clearDisplayName()

Required. The display name of the enum value. Must not be an empty string.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FieldType.EnumType.EnumValue.Builder clone()
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder
Overrides

getDefaultInstanceForType()

public FieldType.EnumType.EnumValue getDefaultInstanceForType()
Returns
TypeDescription
FieldType.EnumType.EnumValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the enum value. Must not be an empty string.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the enum value. Must not be an empty string.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

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(FieldType.EnumType.EnumValue other)

public FieldType.EnumType.EnumValue.Builder mergeFrom(FieldType.EnumType.EnumValue other)
Parameter
NameDescription
otherFieldType.EnumType.EnumValue
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FieldType.EnumType.EnumValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder
Overrides

setDisplayName(String value)

public FieldType.EnumType.EnumValue.Builder setDisplayName(String value)

Required. The display name of the enum value. Must not be an empty string.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public FieldType.EnumType.EnumValue.Builder setDisplayNameBytes(ByteString value)

Required. The display name of the enum value. Must not be an empty string.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FieldType.EnumType.EnumValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder
Overrides

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

public FieldType.EnumType.EnumValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FieldType.EnumType.EnumValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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