Class UpdateTagTemplateFieldRequest.Builder

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

public static final class UpdateTagTemplateFieldRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateTagTemplateFieldRequest.Builder> implements UpdateTagTemplateFieldRequestOrBuilder
 Request message for
 [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
 
Protobuf type google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
  • 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<UpdateTagTemplateFieldRequest.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<UpdateTagTemplateFieldRequest.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<UpdateTagTemplateFieldRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public UpdateTagTemplateFieldRequest.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<UpdateTagTemplateFieldRequest.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<UpdateTagTemplateFieldRequest.Builder>
    • mergeFrom

      public UpdateTagTemplateFieldRequest.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<UpdateTagTemplateFieldRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The name of the tag template field. Example:
      
       * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the tag template field. Example:
      
       * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the tag template field. Example:
      
       * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The name of the tag template field. Example:
      
       * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public UpdateTagTemplateFieldRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the tag template field. Example:
      
       * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTagTemplateField

      public boolean hasTagTemplateField()
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTagTemplateField in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      Whether the tagTemplateField field is set.
    • getTagTemplateField

      public TagTemplateField getTagTemplateField()
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTagTemplateField in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      The tagTemplateField.
    • setTagTemplateField

      public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField value)
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
    • setTagTemplateField

      public UpdateTagTemplateFieldRequest.Builder setTagTemplateField(TagTemplateField.Builder builderForValue)
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeTagTemplateField

      public UpdateTagTemplateFieldRequest.Builder mergeTagTemplateField(TagTemplateField value)
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearTagTemplateField

      public UpdateTagTemplateFieldRequest.Builder clearTagTemplateField()
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTagTemplateFieldBuilder

      public TagTemplateField.Builder getTagTemplateFieldBuilder()
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTagTemplateFieldOrBuilder

      public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder()
       Required. The template to update.
       
      .google.cloud.datacatalog.v1beta1.TagTemplateField tag_template_field = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTagTemplateFieldOrBuilder in interface UpdateTagTemplateFieldRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateTagTemplateFieldRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateTagTemplateFieldRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateTagTemplateFieldRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateTagTemplateFieldRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateTagTemplateFieldRequest.Builder clearUpdateMask()
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Names of fields whose values to overwrite on an individual field
       of a tag template. The following fields are modifiable:
      
       * `display_name`
       * `type.enum_type`
       * `is_required`
      
       If this parameter is absent or empty, all modifiable fields
       are overwritten. If such fields are non-required and omitted in the request
       body, their values are emptied with one exception: when updating an enum
       type, the provided values are merged with the existing values. Therefore,
       enum values can only be added, existing enum values cannot be deleted or
       renamed.
      
       Additionally, updating a template field from optional to required is
       *not* allowed.
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateTagTemplateFieldRequestOrBuilder