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. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasApi
boolean hasApi()
Required. The API to create.
.google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the api field is set.
-
getApi
Api getApi()
Required. The API to create.
.google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The api.
-
getApiOrBuilder
ApiOrBuilder getApiOrBuilder()
Required. The API to create.
.google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED];
-
getApiId
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][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
string api_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The apiId.
-
getApiIdBytes
com.google.protobuf.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][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
string api_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for apiId.
-
-