Interface CreateApiSpecRequestOrBuilder

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

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

      • getParent

        String getParent()
         Required. The parent, which owns this collection of specs.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The parent, which owns this collection of specs.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasApiSpec

        boolean hasApiSpec()
         Required. The spec to create.
         
        .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the apiSpec field is set.
      • getApiSpec

        ApiSpec getApiSpec()
         Required. The spec to create.
         
        .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The apiSpec.
      • getApiSpecOrBuilder

        ApiSpecOrBuilder getApiSpecOrBuilder()
         Required. The spec to create.
         
        .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
      • getApiSpecId

        String getApiSpecId()
         Required. The ID to use for the spec, which will become the final component of
         the spec's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The apiSpecId.
      • getApiSpecIdBytes

        com.google.protobuf.ByteString getApiSpecIdBytes()
         Required. The ID to use for the spec, which will become the final component of
         the spec's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for apiSpecId.