Class RenameTagTemplateFieldEnumValueRequest.Builder (1.34.0)

public static final class RenameTagTemplateFieldEnumValueRequest.Builder extends GeneratedMessageV3.Builder<RenameTagTemplateFieldEnumValueRequest.Builder> implements RenameTagTemplateFieldEnumValueRequestOrBuilder

Request message for RenameTagTemplateFieldEnumValue.

Protobuf type google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTagTemplateFieldEnumValueRequest build()
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest

buildPartial()

public RenameTagTemplateFieldEnumValueRequest buildPartial()
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest

clear()

public RenameTagTemplateFieldEnumValueRequest.Builder clear()
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RenameTagTemplateFieldEnumValueRequest.Builder clearName()

Required. The name of the enum field value.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

clearNewEnumValueDisplayName()

public RenameTagTemplateFieldEnumValueRequest.Builder clearNewEnumValueDisplayName()

Required. The new display name of the enum value. For example, my_new_enum_value.

string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RenameTagTemplateFieldEnumValueRequest.Builder clone()
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

getDefaultInstanceForType()

public RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType()
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the enum field value.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the enum field value.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getNewEnumValueDisplayName()

public String getNewEnumValueDisplayName()

Required. The new display name of the enum value. For example, my_new_enum_value.

string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The newEnumValueDisplayName.

getNewEnumValueDisplayNameBytes()

public ByteString getNewEnumValueDisplayNameBytes()

Required. The new display name of the enum value. For example, my_new_enum_value.

string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for newEnumValueDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RenameTagTemplateFieldEnumValueRequest other)

public RenameTagTemplateFieldEnumValueRequest.Builder mergeFrom(RenameTagTemplateFieldEnumValueRequest other)
Parameter
NameDescription
otherRenameTagTemplateFieldEnumValueRequest
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RenameTagTemplateFieldEnumValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RenameTagTemplateFieldEnumValueRequest.Builder setName(String value)

Required. The name of the enum field value.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RenameTagTemplateFieldEnumValueRequest.Builder setNameBytes(ByteString value)

Required. The name of the enum field value.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

setNewEnumValueDisplayName(String value)

public RenameTagTemplateFieldEnumValueRequest.Builder setNewEnumValueDisplayName(String value)

Required. The new display name of the enum value. For example, my_new_enum_value.

string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The newEnumValueDisplayName to set.

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

setNewEnumValueDisplayNameBytes(ByteString value)

public RenameTagTemplateFieldEnumValueRequest.Builder setNewEnumValueDisplayNameBytes(ByteString value)

Required. The new display name of the enum value. For example, my_new_enum_value.

string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for newEnumValueDisplayName to set.

Returns
TypeDescription
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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