Interface CreateApiHubInstanceRequestOrBuilder

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

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

    • getParent

      String getParent()
       Required. The parent resource for the Api Hub instance resource.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource for the Api Hub instance resource.
       Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getApiHubInstanceId

      String getApiHubInstanceId()
       Optional. Identifier to assign to the Api Hub instance. Must be unique
       within scope of the parent resource. If the field is not provided, system
       generated id will be used.
      
       This value should be 4-40 characters, and valid characters
       are `/[a-z][A-Z][0-9]-_/`.
       
      string api_hub_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The apiHubInstanceId.
    • getApiHubInstanceIdBytes

      com.google.protobuf.ByteString getApiHubInstanceIdBytes()
       Optional. Identifier to assign to the Api Hub instance. Must be unique
       within scope of the parent resource. If the field is not provided, system
       generated id will be used.
      
       This value should be 4-40 characters, and valid characters
       are `/[a-z][A-Z][0-9]-_/`.
       
      string api_hub_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for apiHubInstanceId.
    • hasApiHubInstance

      boolean hasApiHubInstance()
       Required. The ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the apiHubInstance field is set.
    • getApiHubInstance

      ApiHubInstance getApiHubInstance()
       Required. The ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The apiHubInstance.
    • getApiHubInstanceOrBuilder

      ApiHubInstanceOrBuilder getApiHubInstanceOrBuilder()
       Required. The ApiHub instance.
       
      .google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];