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

Whether the api field is set.