Class UpdateTagTemplateFieldRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
All Implemented Interfaces:
UpdateTagTemplateFieldRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpdateTagTemplateFieldRequest extends com.google.protobuf.GeneratedMessage implements UpdateTagTemplateFieldRequestOrBuilder
 Request message for
 [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
 
Protobuf type google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TAG_TEMPLATE_FIELD_FIELD_NUMBER

      public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER
      See Also:
    • UPDATE_MASK_FIELD_NUMBER

      public static final int UPDATE_MASK_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateTagTemplateFieldRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateTagTemplateFieldRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateTagTemplateFieldRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static UpdateTagTemplateFieldRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateTagTemplateFieldRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpdateTagTemplateFieldRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateTagTemplateFieldRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateTagTemplateFieldRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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