Class DeletePolicyTagRequest.Builder (1.36.0)

public static final class DeletePolicyTagRequest.Builder extends GeneratedMessageV3.Builder<DeletePolicyTagRequest.Builder> implements DeletePolicyTagRequestOrBuilder

Request message for DeletePolicyTag.

Protobuf type google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeletePolicyTagRequest build()
Returns
TypeDescription
DeletePolicyTagRequest

buildPartial()

public DeletePolicyTagRequest buildPartial()
Returns
TypeDescription
DeletePolicyTagRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeletePolicyTagRequest.Builder clearName()

Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

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

Returns
TypeDescription
DeletePolicyTagRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeletePolicyTagRequest getDefaultInstanceForType()
Returns
TypeDescription
DeletePolicyTagRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

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

public DeletePolicyTagRequest.Builder mergeFrom(DeletePolicyTagRequest other)
Parameter
NameDescription
otherDeletePolicyTagRequest
Returns
TypeDescription
DeletePolicyTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeletePolicyTagRequest.Builder setName(String value)

Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeletePolicyTagRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePolicyTagRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeletePolicyTagRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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