Interface ApiHubInstanceOrBuilder

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

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

    • getName

      String getName()
       Identifier. Format:
       `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Format:
       `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Creation timestamp.
       
      .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. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

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

      boolean hasUpdateTime()
       Output only. Last update timestamp.
       
      .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. Last update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateValue

      int getStateValue()
       Output only. The current state of the ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The current state of the ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getStateMessage

      String getStateMessage()
       Output only. Extra information about ApiHub instance state. Currently the
       message would be populated when state is `FAILED`.
       
      string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The stateMessage.
    • getStateMessageBytes

      com.google.protobuf.ByteString getStateMessageBytes()
       Output only. Extra information about ApiHub instance state. Currently the
       message would be populated when state is `FAILED`.
       
      string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for stateMessage.
    • hasConfig

      boolean hasConfig()
       Required. Config of the ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance.Config config = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the config field is set.
    • getConfig

       Required. Config of the ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance.Config config = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The config.
    • getConfigOrBuilder

      ApiHubInstance.ConfigOrBuilder getConfigOrBuilder()
       Required. Config of the ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance.Config config = 6 [(.google.api.field_behavior) = REQUIRED];
    • getLabelsCount

      int getLabelsCount()
       Optional. Instance 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 = 7 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Instance 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 = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Instance 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 = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Instance 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 = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Instance 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 = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

      String getDescription()
       Optional. Description of the ApiHub instance.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the ApiHub instance.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.