Class UpdatePolicyTagRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder>
com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.Builder
All Implemented Interfaces:
UpdatePolicyTagRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdatePolicyTagRequest

public static final class UpdatePolicyTagRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder> implements UpdatePolicyTagRequestOrBuilder
 Request message for
 [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
 
Protobuf type google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder>
    • getDefaultInstanceForType

      public UpdatePolicyTagRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdatePolicyTagRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdatePolicyTagRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdatePolicyTagRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePolicyTagRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdatePolicyTagRequest.Builder>
    • mergeFrom

      public UpdatePolicyTagRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePolicyTagRequest.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasPolicyTag in interface UpdatePolicyTagRequestOrBuilder
      Returns:
      Whether the policyTag field is set.
    • 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;
      Specified by:
      getPolicyTag in interface UpdatePolicyTagRequestOrBuilder
      Returns:
      The policyTag.
    • setPolicyTag

      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

      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;
    • mergePolicyTag

      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;
    • 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;
    • 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;
      Specified by:
      getPolicyTagOrBuilder in interface UpdatePolicyTagRequestOrBuilder
    • 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;
      Specified by:
      hasUpdateMask in interface UpdatePolicyTagRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.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;
      Specified by:
      getUpdateMask in interface UpdatePolicyTagRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePolicyTagRequest.Builder setUpdateMask(com.google.protobuf.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

      public UpdatePolicyTagRequest.Builder setUpdateMask(com.google.protobuf.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;
    • mergeUpdateMask

      public UpdatePolicyTagRequest.Builder mergeUpdateMask(com.google.protobuf.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;
    • 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;
    • getUpdateMaskBuilder

      public com.google.protobuf.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 com.google.protobuf.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;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePolicyTagRequestOrBuilder