Class DeleteTagTemplateFieldRequest.Builder

public static final class DeleteTagTemplateFieldRequest.Builder extends GeneratedMessageV3.Builder<DeleteTagTemplateFieldRequest.Builder> implements DeleteTagTemplateFieldRequestOrBuilder
Request message for
 [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].

Protobuf type google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest

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. If true, deletes this field from any tags that use it.
 Currently, `true` is the only supported value.

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.

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

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()
Required. If true, deletes this field from any tags that use it.
 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 field 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 field 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(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. If true, deletes this field from any tags that use it.
 Currently, `true` is the only supported value.

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.

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.

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