Interface ApiVersionOrBuilder

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

    public interface ApiVersionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Resource name.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Resource name.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         Human-meaningful name.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         Human-meaningful name.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getDescription

        String getDescription()
         A detailed description.
         
        string description = 3;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         A detailed description.
         
        string description = 3;
        Returns:
        The bytes for description.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getState

        String getState()
         A user-definable description of the lifecycle phase of this API version.
         Format: free-form, but we expect single words that describe API maturity,
         e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
         "DEPRECATED", "RETIRED".
         
        string state = 6;
        Returns:
        The state.
      • getStateBytes

        com.google.protobuf.ByteString getStateBytes()
         A user-definable description of the lifecycle phase of this API version.
         Format: free-form, but we expect single words that describe API maturity,
         e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
         "DEPRECATED", "RETIRED".
         
        string state = 6;
        Returns:
        The bytes for state.
      • getLabelsCount

        int getLabelsCount()
         Labels attach identifying metadata to resources. Identifying metadata can
         be used to filter list operations.
        
         Label keys and values can be no longer than 64 characters
         (Unicode codepoints), can only contain lowercase letters, numeric
         characters, underscores and dashes. International characters are allowed.
         No more than 64 user labels can be associated with one resource (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with
         `apigeeregistry.googleapis.com/` and cannot be changed.
         
        map<string, string> labels = 7;
      • containsLabels

        boolean containsLabels​(String key)
         Labels attach identifying metadata to resources. Identifying metadata can
         be used to filter list operations.
        
         Label keys and values can be no longer than 64 characters
         (Unicode codepoints), can only contain lowercase letters, numeric
         characters, underscores and dashes. International characters are allowed.
         No more than 64 user labels can be associated with one resource (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with
         `apigeeregistry.googleapis.com/` and cannot be changed.
         
        map<string, string> labels = 7;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels attach identifying metadata to resources. Identifying metadata can
         be used to filter list operations.
        
         Label keys and values can be no longer than 64 characters
         (Unicode codepoints), can only contain lowercase letters, numeric
         characters, underscores and dashes. International characters are allowed.
         No more than 64 user labels can be associated with one resource (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with
         `apigeeregistry.googleapis.com/` and cannot be changed.
         
        map<string, string> labels = 7;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels attach identifying metadata to resources. Identifying metadata can
         be used to filter list operations.
        
         Label keys and values can be no longer than 64 characters
         (Unicode codepoints), can only contain lowercase letters, numeric
         characters, underscores and dashes. International characters are allowed.
         No more than 64 user labels can be associated with one resource (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with
         `apigeeregistry.googleapis.com/` and cannot be changed.
         
        map<string, string> labels = 7;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels attach identifying metadata to resources. Identifying metadata can
         be used to filter list operations.
        
         Label keys and values can be no longer than 64 characters
         (Unicode codepoints), can only contain lowercase letters, numeric
         characters, underscores and dashes. International characters are allowed.
         No more than 64 user labels can be associated with one resource (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with
         `apigeeregistry.googleapis.com/` and cannot be changed.
         
        map<string, string> labels = 7;
      • getAnnotationsCount

        int getAnnotationsCount()
         Annotations attach non-identifying metadata to resources.
        
         Annotation keys and values are less restricted than those of labels, but
         should be generally used for small values of broad interest. Larger, topic-
         specific metadata should be stored in Artifacts.
         
        map<string, string> annotations = 8;
      • containsAnnotations

        boolean containsAnnotations​(String key)
         Annotations attach non-identifying metadata to resources.
        
         Annotation keys and values are less restricted than those of labels, but
         should be generally used for small values of broad interest. Larger, topic-
         specific metadata should be stored in Artifacts.
         
        map<string, string> annotations = 8;
      • getAnnotationsMap

        Map<String,​String> getAnnotationsMap()
         Annotations attach non-identifying metadata to resources.
        
         Annotation keys and values are less restricted than those of labels, but
         should be generally used for small values of broad interest. Larger, topic-
         specific metadata should be stored in Artifacts.
         
        map<string, string> annotations = 8;
      • getAnnotationsOrDefault

        String getAnnotationsOrDefault​(String key,
                                       String defaultValue)
         Annotations attach non-identifying metadata to resources.
        
         Annotation keys and values are less restricted than those of labels, but
         should be generally used for small values of broad interest. Larger, topic-
         specific metadata should be stored in Artifacts.
         
        map<string, string> annotations = 8;
      • getAnnotationsOrThrow

        String getAnnotationsOrThrow​(String key)
         Annotations attach non-identifying metadata to resources.
        
         Annotation keys and values are less restricted than those of labels, but
         should be generally used for small values of broad interest. Larger, topic-
         specific metadata should be stored in Artifacts.
         
        map<string, string> annotations = 8;