Class UpdatePolicyTagRequest.Builder (1.8.2)

public static final class UpdatePolicyTagRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePolicyTagRequest build()
Returns
TypeDescription
UpdatePolicyTagRequest

buildPartial()

public UpdatePolicyTagRequest buildPartial()
Returns
TypeDescription
UpdatePolicyTagRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePolicyTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdatePolicyTagRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePolicyTagRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePolicyTagRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdatePolicyTagRequest other)

public UpdatePolicyTagRequest.Builder mergeFrom(UpdatePolicyTagRequest other)
Parameter
NameDescription
otherUpdatePolicyTagRequest
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdatePolicyTagRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePolicyTag
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valuePolicyTag
Returns
TypeDescription
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
NameDescription
builderForValuePolicyTag.Builder
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdatePolicyTagRequest.Builder