Class RenameTagTemplateFieldEnumValueRequest.Builder (1.48.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTagTemplateFieldEnumValueRequest build()
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest

buildPartial()

public RenameTagTemplateFieldEnumValueRequest buildPartial()
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest

clear()

public RenameTagTemplateFieldEnumValueRequest.Builder clear()
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RenameTagTemplateFieldEnumValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
RenameTagTemplateFieldEnumValueRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RenameTagTemplateFieldEnumValueRequest.Builder clone()
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

getDefaultInstanceForType()

public RenameTagTemplateFieldEnumValueRequest getDefaultInstanceForType()
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest

getDescriptorForType()

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

The bytes for newEnumValueDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RenameTagTemplateFieldEnumValueRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RenameTagTemplateFieldEnumValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RenameTagTemplateFieldEnumValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The newEnumValueDisplayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for newEnumValueDisplayName to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RenameTagTemplateFieldEnumValueRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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