public static final class UpdatePolicyTagRequest.Builder extends GeneratedMessageV3.Builder<UpdatePolicyTagRequest.Builder> implements UpdatePolicyTagRequestOrBuilder
Request message for
UpdatePolicyTag.
Protobuf type google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdatePolicyTagRequest build()
buildPartial()
public UpdatePolicyTagRequest buildPartial()
clear()
public UpdatePolicyTagRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdatePolicyTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePolicyTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicyTag()
public UpdatePolicyTagRequest.Builder clearPolicyTag()
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
clearUpdateMask()
public UpdatePolicyTagRequest.Builder clearUpdateMask()
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdatePolicyTagRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdatePolicyTagRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicyTag()
public PolicyTag getPolicyTag()
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
Returns |
Type |
Description |
PolicyTag |
The policyTag.
|
getPolicyTagBuilder()
public PolicyTag.Builder getPolicyTagBuilder()
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
getPolicyTagOrBuilder()
public PolicyTagOrBuilder getPolicyTagOrBuilder()
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
getUpdateMask()
public FieldMask getUpdateMask()
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
hasPolicyTag()
public boolean hasPolicyTag()
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
Returns |
Type |
Description |
boolean |
Whether the policyTag field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdatePolicyTagRequest other)
public UpdatePolicyTagRequest.Builder mergeFrom(UpdatePolicyTagRequest other)
public UpdatePolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdatePolicyTagRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePolicyTag(PolicyTag value)
public UpdatePolicyTagRequest.Builder mergePolicyTag(PolicyTag value)
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdatePolicyTagRequest.Builder mergeUpdateMask(FieldMask value)
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicyTag(PolicyTag value)
public UpdatePolicyTagRequest.Builder setPolicyTag(PolicyTag value)
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
setPolicyTag(PolicyTag.Builder builderForValue)
public UpdatePolicyTagRequest.Builder setPolicyTag(PolicyTag.Builder builderForValue)
The policy tag to update. Only the description, display_name, and
parent_policy_tag fields can be updated.
.google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePolicyTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdatePolicyTagRequest.Builder setUpdateMask(FieldMask value)
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdatePolicyTagRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including the
FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|