Package com.google.cloud.apihub.v1
Interface CreateDeploymentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDeploymentRequest,CreateDeploymentRequest.Builder
@Generated
public interface CreateDeploymentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The parent resource for the deployment resource. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource for the deployment resource. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getDeploymentId
String getDeploymentId()Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
string deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The deploymentId.
-
getDeploymentIdBytes
com.google.protobuf.ByteString getDeploymentIdBytes()Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
string deployment_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for deploymentId.
-
hasDeployment
boolean hasDeployment()Required. The deployment resource to create.
.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the deployment field is set.
-
getDeployment
Deployment getDeployment()Required. The deployment resource to create.
.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The deployment.
-
getDeploymentOrBuilder
DeploymentOrBuilder getDeploymentOrBuilder()Required. The deployment resource to create.
.google.cloud.apihub.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED];
-