Interface TagTemplateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TagTemplate, TagTemplate.Builder

@Generated public interface TagTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of the tag template in URL format.
      
       Note: The tag template itself and its child resources might not be
       stored in the location specified in its name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the tag template in URL format.
      
       Note: The tag template itself and its child resources might not be
       stored in the location specified in its name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Display name for this template. Defaults to an empty string.
      
       The name must contain only Unicode letters, numbers (0-9), underscores (_),
       dashes (-), spaces ( ), and can't start or end with spaces.
       The maximum length is 200 characters.
       
      string display_name = 2;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Display name for this template. Defaults to an empty string.
      
       The name must contain only Unicode letters, numbers (0-9), underscores (_),
       dashes (-), spaces ( ), and can't start or end with spaces.
       The maximum length is 200 characters.
       
      string display_name = 2;
      Returns:
      The bytes for displayName.
    • getIsPubliclyReadable

      boolean getIsPubliclyReadable()
       Indicates whether tags created with this template are public. Public tags
       do not require tag template access to appear in
       [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags] API response.
      
       Additionally, you can search for a public tag by value with a
       simple search query in addition to using a ``tag:`` predicate.
       
      bool is_publicly_readable = 5;
      Returns:
      The isPubliclyReadable.
    • getFieldsCount

      int getFieldsCount()
       Required. Map of tag template field IDs to the settings for the field.
       This map is an exhaustive list of the allowed fields. The map must contain
       at least one field and at most 500 fields.
      
       The keys to this map are tag template field IDs. The IDs have the
       following limitations:
      
       * Can contain uppercase and lowercase letters, numbers (0-9) and
       underscores (_).
       * Must be at least 1 character and at most 64 characters long.
       * Must start with a letter or underscore.
       
      map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
    • containsFields

      boolean containsFields(String key)
       Required. Map of tag template field IDs to the settings for the field.
       This map is an exhaustive list of the allowed fields. The map must contain
       at least one field and at most 500 fields.
      
       The keys to this map are tag template field IDs. The IDs have the
       following limitations:
      
       * Can contain uppercase and lowercase letters, numbers (0-9) and
       underscores (_).
       * Must be at least 1 character and at most 64 characters long.
       * Must start with a letter or underscore.
       
      map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
    • getFields

      Deprecated.
      Use getFieldsMap() instead.
    • getFieldsMap

      Map<String,TagTemplateField> getFieldsMap()
       Required. Map of tag template field IDs to the settings for the field.
       This map is an exhaustive list of the allowed fields. The map must contain
       at least one field and at most 500 fields.
      
       The keys to this map are tag template field IDs. The IDs have the
       following limitations:
      
       * Can contain uppercase and lowercase letters, numbers (0-9) and
       underscores (_).
       * Must be at least 1 character and at most 64 characters long.
       * Must start with a letter or underscore.
       
      map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
    • getFieldsOrDefault

      TagTemplateField getFieldsOrDefault(String key, TagTemplateField defaultValue)
       Required. Map of tag template field IDs to the settings for the field.
       This map is an exhaustive list of the allowed fields. The map must contain
       at least one field and at most 500 fields.
      
       The keys to this map are tag template field IDs. The IDs have the
       following limitations:
      
       * Can contain uppercase and lowercase letters, numbers (0-9) and
       underscores (_).
       * Must be at least 1 character and at most 64 characters long.
       * Must start with a letter or underscore.
       
      map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
    • getFieldsOrThrow

      TagTemplateField getFieldsOrThrow(String key)
       Required. Map of tag template field IDs to the settings for the field.
       This map is an exhaustive list of the allowed fields. The map must contain
       at least one field and at most 500 fields.
      
       The keys to this map are tag template field IDs. The IDs have the
       following limitations:
      
       * Can contain uppercase and lowercase letters, numbers (0-9) and
       underscores (_).
       * Must be at least 1 character and at most 64 characters long.
       * Must start with a letter or underscore.
       
      map<string, .google.cloud.datacatalog.v1.TagTemplateField> fields = 3 [(.google.api.field_behavior) = REQUIRED];
    • getDataplexTransferStatusValue

      int getDataplexTransferStatusValue()
       Optional. Transfer status of the TagTemplate
       
      .google.cloud.datacatalog.v1.TagTemplate.DataplexTransferStatus dataplex_transfer_status = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for dataplexTransferStatus.
    • getDataplexTransferStatus

      TagTemplate.DataplexTransferStatus getDataplexTransferStatus()
       Optional. Transfer status of the TagTemplate
       
      .google.cloud.datacatalog.v1.TagTemplate.DataplexTransferStatus dataplex_transfer_status = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The dataplexTransferStatus.