Interface AspectType.MetadataTemplate.AnnotationsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AspectType.MetadataTemplate.Annotations, AspectType.MetadataTemplate.Annotations.Builder
Enclosing class:
AspectType.MetadataTemplate

public static interface AspectType.MetadataTemplate.AnnotationsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDeprecated

      String getDeprecated()
       Optional. Marks a field as deprecated. You can include a deprecation
       message.
       
      string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deprecated.
    • getDeprecatedBytes

      com.google.protobuf.ByteString getDeprecatedBytes()
       Optional. Marks a field as deprecated. You can include a deprecation
       message.
       
      string deprecated = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for deprecated.
    • getDisplayName

      String getDisplayName()
       Optional. Display name for a field.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name for a field.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       Optional. Description for a field.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description for a field.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getDisplayOrder

      int getDisplayOrder()
       Optional. Display order for a field. You can use this to reorder where
       a field is rendered.
       
      int32 display_order = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayOrder.
    • getStringType

      String getStringType()
       Optional. You can use String Type annotations to specify special
       meaning to string fields. The following values are supported:
      
       * richText: The field must be interpreted as a rich text field.
       * url: A fully qualified URL link.
       * resource: A service qualified resource reference.
       
      string string_type = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The stringType.
    • getStringTypeBytes

      com.google.protobuf.ByteString getStringTypeBytes()
       Optional. You can use String Type annotations to specify special
       meaning to string fields. The following values are supported:
      
       * richText: The field must be interpreted as a rich text field.
       * url: A fully qualified URL link.
       * resource: A service qualified resource reference.
       
      string string_type = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for stringType.
    • getStringValuesList

      List<String> getStringValuesList()
       Optional. Suggested hints for string fields. You can use them to
       suggest values to users through console.
       
      repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the stringValues.
    • getStringValuesCount

      int getStringValuesCount()
       Optional. Suggested hints for string fields. You can use them to
       suggest values to users through console.
       
      repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of stringValues.
    • getStringValues

      String getStringValues(int index)
       Optional. Suggested hints for string fields. You can use them to
       suggest values to users through console.
       
      repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The stringValues at the given index.
    • getStringValuesBytes

      com.google.protobuf.ByteString getStringValuesBytes(int index)
       Optional. Suggested hints for string fields. You can use them to
       suggest values to users through console.
       
      repeated string string_values = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stringValues at the given index.