Interface GlossaryOrBuilder

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

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

    • getName

      String getName()
       Output only. Identifier. The resource name of the Glossary.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. The resource name of the Glossary.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. System generated unique id for the Glossary. This ID will be
       different if the Glossary is deleted and re-created with the
       same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. System generated unique id for the Glossary. This ID will be
       different if the Glossary is deleted and re-created with the
       same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The bytes for uid.
    • getDisplayName

      String getDisplayName()
       Optional. User friendly display name of the Glossary. This is user-mutable.
       This will be same as the GlossaryId, if not specified.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. User friendly display name of the Glossary. This is user-mutable.
       This will be same as the GlossaryId, if not specified.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       Optional. The user-mutable description of the Glossary.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The user-mutable description of the Glossary.
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time at which the Glossary was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the Glossary was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the Glossary was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time at which the Glossary was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the Glossary was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the Glossary was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. User-defined labels for the Glossary.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. User-defined labels for the Glossary.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. User-defined labels for the Glossary.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for the Glossary.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. User-defined labels for the Glossary.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getTermCount

      int getTermCount()
       Output only. The number of GlossaryTerms in the Glossary.
       
      int32 term_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The termCount.
    • getCategoryCount

      int getCategoryCount()
       Output only. The number of GlossaryCategories in the Glossary.
       
      int32 category_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The categoryCount.
    • getEtag

      String getEtag()
       Optional. Needed for resource freshness validation.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. Needed for resource freshness validation.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.