Class DeleteTagTemplateRequest.Builder (1.37.0)

public static final class DeleteTagTemplateRequest.Builder extends GeneratedMessageV3.Builder<DeleteTagTemplateRequest.Builder> implements DeleteTagTemplateRequestOrBuilder

Request message for DeleteTagTemplate.

Protobuf type google.cloud.datacatalog.v1.DeleteTagTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteTagTemplateRequest build()
Returns
TypeDescription
DeleteTagTemplateRequest

buildPartial()

public DeleteTagTemplateRequest buildPartial()
Returns
TypeDescription
DeleteTagTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForce()

public DeleteTagTemplateRequest.Builder clearForce()

Required. If true, deletes all tags that use this template.

Currently, true is the only supported value.

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

Returns
TypeDescription
DeleteTagTemplateRequest.Builder

This builder for chaining.

clearName()

public DeleteTagTemplateRequest.Builder clearName()

Required. The name of the tag template to delete.

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

Returns
TypeDescription
DeleteTagTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteTagTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteTagTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()

Required. If true, deletes all tags that use this template.

Currently, true is the only supported value.

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

Returns
TypeDescription
boolean

The force.

getName()

public String getName()

Required. The name of the tag template to delete.

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

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(DeleteTagTemplateRequest other)

public DeleteTagTemplateRequest.Builder mergeFrom(DeleteTagTemplateRequest other)
Parameter
NameDescription
otherDeleteTagTemplateRequest
Returns
TypeDescription
DeleteTagTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteTagTemplateRequest.Builder setForce(boolean value)

Required. If true, deletes all tags that use this template.

Currently, true is the only supported value.

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

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
DeleteTagTemplateRequest.Builder

This builder for chaining.

setName(String value)

public DeleteTagTemplateRequest.Builder setName(String value)

Required. The name of the tag template to delete.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteTagTemplateRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTagTemplateRequest.Builder setNameBytes(ByteString value)

Required. The name of the tag template to delete.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteTagTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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