Interface CreateApiRequestOrBuilder (0.44.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the api field is set.