Interface ApiOrBuilder

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

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

      • getName

        String getName()
         Output only. Resource name of the API.
         Format: projects/{project}/locations/global/apis/{api}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the API.
         Format: projects/{project}/locations/global/apis/{api}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • hasCreateTime

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

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

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Created time.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

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

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. Updated time.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Updated time.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsCount

        int getLabelsCount()
         Optional. Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • containsLabels

        boolean containsLabels​(String key)
         Optional. Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Optional. Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Optional. Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Optional. Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getDisplayName

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

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

        String getManagedService()
         Optional. Immutable. The name of a Google Managed Service (
         https://cloud.google.com/service-infrastructure/docs/glossary#managed). If
         not specified, a new Service will automatically be created in the same
         project as this API.
         
        string managed_service = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        The managedService.
      • getManagedServiceBytes

        com.google.protobuf.ByteString getManagedServiceBytes()
         Optional. Immutable. The name of a Google Managed Service (
         https://cloud.google.com/service-infrastructure/docs/glossary#managed). If
         not specified, a new Service will automatically be created in the same
         project as this API.
         
        string managed_service = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for managedService.
      • getStateValue

        int getStateValue()
         Output only. State of the API.
         
        .google.cloud.apigateway.v1.Api.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Api.State getState()
         Output only. State of the API.
         
        .google.cloud.apigateway.v1.Api.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.