Class DeleteTagTemplateFieldRequest.Builder (1.41.0)

public static final class DeleteTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<DeleteTagTemplateFieldRequest.Builder> implements DeleteTagTemplateFieldRequestOrBuilder

Request message for DeleteTagTemplateField.

Protobuf type google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteTagTemplateFieldRequest build()
Returns
TypeDescription
DeleteTagTemplateFieldRequest

buildPartial()

public DeleteTagTemplateFieldRequest buildPartial()
Returns
TypeDescription
DeleteTagTemplateFieldRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public DeleteTagTemplateFieldRequest.Builder clearForce()

Required. Currently, this field must always be set to true. This confirms the deletion of this field from any tags using this field. force = false will be supported in the future.

bool force = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

This builder for chaining.

clearName()

public DeleteTagTemplateFieldRequest.Builder clearName()

Required. The name of the tag template field to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteTagTemplateFieldRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteTagTemplateFieldRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()

Required. Currently, this field must always be set to true. This confirms the deletion of this field from any tags using this field. force = false will be supported in the future.

bool force = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

The force.

getName()

public String getName()

Required. The name of the tag template field to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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 to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteTagTemplateFieldRequest other)

public DeleteTagTemplateFieldRequest.Builder mergeFrom(DeleteTagTemplateFieldRequest other)
Parameter
NameDescription
otherDeleteTagTemplateFieldRequest
Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteTagTemplateFieldRequest.Builder setForce(boolean value)

Required. Currently, this field must always be set to true. This confirms the deletion of this field from any tags using this field. force = false will be supported in the future.

bool force = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

This builder for chaining.

setName(String value)

public DeleteTagTemplateFieldRequest.Builder setName(String value)

Required. The name of the tag template field to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTagTemplateFieldRequest.Builder setNameBytes(ByteString value)

Required. The name of the tag template field to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteTagTemplateFieldRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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