Interface CreateApiRequestOrBuilder (2.17.0)

public interface CreateApiRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApi()

public abstract Api getApi()

Required. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Api

The api.

getApiId()

public abstract String getApiId()

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

string api_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The apiId.

getApiIdBytes()

public abstract ByteString getApiIdBytes()

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

string api_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for apiId.

getApiOrBuilder()

public abstract ApiOrBuilder getApiOrBuilder()

Required. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ApiOrBuilder

getParent()

public abstract String getParent()

Required. Parent resource of the API, of the form: projects/*/locations/global

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent resource of the API, of the form: projects/*/locations/global

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. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the api field is set.