Interface CreateApiSpecRequestOrBuilder (0.54.0)

public interface CreateApiSpecRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiSpec()

public abstract ApiSpec getApiSpec()

Required. The spec to create.

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiSpec

The apiSpec.

getApiSpecId()

public abstract 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-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apiSpecId.

getApiSpecIdBytes()

public abstract 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-/.

Following AIP-162, IDs must not have the form of a UUID.

string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apiSpecId.

getApiSpecOrBuilder()

public abstract ApiSpecOrBuilder getApiSpecOrBuilder()

Required. The spec to create.

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiSpecOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

hasApiSpec()

public abstract boolean hasApiSpec()

Required. The spec to create.

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiSpec field is set.