Class RenameTagTemplateFieldRequest.Builder (1.9.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTagTemplateFieldRequest build()
Returns
TypeDescription
RenameTagTemplateFieldRequest

buildPartial()

public RenameTagTemplateFieldRequest buildPartial()
Returns
TypeDescription
RenameTagTemplateFieldRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RenameTagTemplateFieldRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RenameTagTemplateFieldRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RenameTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
RenameTagTemplateFieldRequest

getDescriptorForType()

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

The bytes for newTagTemplateFieldId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RenameTagTemplateFieldRequest other)

public RenameTagTemplateFieldRequest.Builder mergeFrom(RenameTagTemplateFieldRequest other)
Parameter
NameDescription
otherRenameTagTemplateFieldRequest
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The newTagTemplateFieldId to set.

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

The bytes for newTagTemplateFieldId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RenameTagTemplateFieldRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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