Package com.google.cloud.apigateway.v1
Interface CreateApiRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateApiRequest
,CreateApiRequest.Builder
public interface CreateApiRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Api
getApi()
Required.String
getApiId()
Required.com.google.protobuf.ByteString
getApiIdBytes()
Required.ApiOrBuilder
getApiOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasApi()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getApiId
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:
- The apiId.
-
getApiIdBytes
com.google.protobuf.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:
- The bytes for apiId.
-
hasApi
boolean hasApi()
Required. API resource.
.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the api field is set.
-
getApi
Api getApi()
Required. API resource.
.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The api.
-
getApiOrBuilder
ApiOrBuilder getApiOrBuilder()
Required. API resource.
.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];
-
-