Class UpdatePolicyTagRequest.Builder (1.89.0)

public static final class UpdatePolicyTagRequest.Builder extends GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder> implements UpdatePolicyTagRequestOrBuilder

Request message for UpdatePolicyTag.

Protobuf type google.cloud.datacatalog.v1.UpdatePolicyTagRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdatePolicyTagRequest build()
Returns
Type Description
UpdatePolicyTagRequest

buildPartial()

public UpdatePolicyTagRequest buildPartial()
Returns
Type Description
UpdatePolicyTagRequest

clear()

public UpdatePolicyTagRequest.Builder clear()
Returns
Type Description
UpdatePolicyTagRequest.Builder
Overrides

clearPolicyTag()

public UpdatePolicyTagRequest.Builder clearPolicyTag()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
UpdatePolicyTagRequest.Builder

clearUpdateMask()

public UpdatePolicyTagRequest.Builder clearUpdateMask()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdatePolicyTagRequest.Builder

getDefaultInstanceForType()

public UpdatePolicyTagRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePolicyTagRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPolicyTag()

public PolicyTag getPolicyTag()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
PolicyTag

The policyTag.

getPolicyTagBuilder()

public PolicyTag.Builder getPolicyTagBuilder()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
PolicyTag.Builder

getPolicyTagOrBuilder()

public PolicyTagOrBuilder getPolicyTagOrBuilder()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
PolicyTagOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasPolicyTag()

public boolean hasPolicyTag()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
boolean

Whether the policyTag field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePolicyTagRequest other)

public UpdatePolicyTagRequest.Builder mergeFrom(UpdatePolicyTagRequest other)
Parameter
Name Description
other UpdatePolicyTagRequest
Returns
Type Description
UpdatePolicyTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePolicyTagRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdatePolicyTagRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdatePolicyTagRequest.Builder
Overrides

mergePolicyTag(PolicyTag value)

public UpdatePolicyTagRequest.Builder mergePolicyTag(PolicyTag value)

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Parameter
Name Description
value PolicyTag
Returns
Type Description
UpdatePolicyTagRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdatePolicyTagRequest.Builder mergeUpdateMask(FieldMask value)

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePolicyTagRequest.Builder

setPolicyTag(PolicyTag value)

public UpdatePolicyTagRequest.Builder setPolicyTag(PolicyTag value)

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Parameter
Name Description
value PolicyTag
Returns
Type Description
UpdatePolicyTagRequest.Builder

setPolicyTag(PolicyTag.Builder builderForValue)

public UpdatePolicyTagRequest.Builder setPolicyTag(PolicyTag.Builder builderForValue)

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Parameter
Name Description
builderForValue PolicyTag.Builder
Returns
Type Description
UpdatePolicyTagRequest.Builder

setUpdateMask(FieldMask value)

public UpdatePolicyTagRequest.Builder setUpdateMask(FieldMask value)

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePolicyTagRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePolicyTagRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePolicyTagRequest.Builder