Interface CreateApiRequestOrBuilder (0.3.0)

public interface CreateApiRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApi()

public abstract Api getApi()

Required. The API to create.

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

Returns
TypeDescription
Api

The api.

getApiId()

public abstract String getApiId()

Required. The ID to use for the API, which will become the final component of the API'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_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The apiId.

getApiIdBytes()

public abstract ByteString getApiIdBytes()

Required. The ID to use for the API, which will become the final component of the API'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_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for apiId.

getApiOrBuilder()

public abstract ApiOrBuilder getApiOrBuilder()

Required. The API to create.

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

Returns
TypeDescription
ApiOrBuilder

getParent()

public abstract String getParent()

Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasApi()

public abstract boolean hasApi()

Required. The API to create.

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

Returns
TypeDescription
boolean

Whether the api field is set.