Class RenameTagTemplateFieldRequest.Builder (1.58.0)

public static final class RenameTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<RenameTagTemplateFieldRequest.Builder> implements RenameTagTemplateFieldRequestOrBuilder

Request message for RenameTagTemplateField.

Protobuf type google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTagTemplateFieldRequest build()
Returns
Type Description
RenameTagTemplateFieldRequest

buildPartial()

public RenameTagTemplateFieldRequest buildPartial()
Returns
Type Description
RenameTagTemplateFieldRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RenameTagTemplateFieldRequest.Builder clearName()

Required. The name of the tag template field.

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

Returns
Type Description
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

clearNewTagTemplateFieldId()

public RenameTagTemplateFieldRequest.Builder clearNewTagTemplateFieldId()

Required. The new ID of this tag template field. For example, my_new_field.

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

Returns
Type Description
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RenameTagTemplateFieldRequest getDefaultInstanceForType()
Returns
Type Description
RenameTagTemplateFieldRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the tag template field.

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 tag template field.

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

Returns
Type Description
ByteString

The bytes for name.

getNewTagTemplateFieldId()

public String getNewTagTemplateFieldId()

Required. The new ID of this tag template field. For example, my_new_field.

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

Returns
Type Description
String

The newTagTemplateFieldId.

getNewTagTemplateFieldIdBytes()

public ByteString getNewTagTemplateFieldIdBytes()

Required. The new ID of this tag template field. For example, my_new_field.

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

Returns
Type Description
ByteString

The bytes for newTagTemplateFieldId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RenameTagTemplateFieldRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RenameTagTemplateFieldRequest.Builder setName(String value)

Required. The name of the tag template field.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RenameTagTemplateFieldRequest.Builder setNameBytes(ByteString value)

Required. The name of the tag template field.

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
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

setNewTagTemplateFieldId(String value)

public RenameTagTemplateFieldRequest.Builder setNewTagTemplateFieldId(String value)

Required. The new ID of this tag template field. For example, my_new_field.

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

Parameter
Name Description
value String

The newTagTemplateFieldId to set.

Returns
Type Description
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

setNewTagTemplateFieldIdBytes(ByteString value)

public RenameTagTemplateFieldRequest.Builder setNewTagTemplateFieldIdBytes(ByteString value)

Required. The new ID of this tag template field. For example, my_new_field.

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

Parameter
Name Description
value ByteString

The bytes for newTagTemplateFieldId to set.

Returns
Type Description
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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