Package com.google.cloud.config.v1
Class Deployment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.Deployment
- All Implemented Interfaces:
DeploymentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Deployment
extends com.google.protobuf.GeneratedMessage
implements DeploymentOrBuilder
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.Protobuf type
google.cloud.config.v1.Deployment- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA Deployment is a group of resources and configs managed and provisioned by Infra Manager.static enumPossible errors that can occur with deployments.static enumPossible lock states of a deployment.static enumPossible states of a deployment.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.booleanDeprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static DeploymentOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.static final com.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanBy default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Deployment>Optional.Optional.Optional.intOptional.intRequired.com.google.protobuf.ByteStringRequired.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.getTfErrors(int index) Output only.intOutput only.Output only.getTfErrorsOrBuilder(int index) Output only.List<? extends TerraformErrorOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOutput only.booleanOutput only.inthashCode()booleanBy default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.booleanOptional.booleanRequired.booleanA blueprint described using Terraform's HashiCorp Configuration Language as a root module.booleanOptional.booleanOutput only.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Deployment.Builderstatic Deployment.BuildernewBuilder(Deployment prototype) protected Deployment.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeploymentparseDelimitedFrom(InputStream input) static DeploymentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentparseFrom(byte[] data) static DeploymentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentparseFrom(com.google.protobuf.ByteString data) static DeploymentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentparseFrom(com.google.protobuf.CodedInputStream input) static DeploymentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentparseFrom(InputStream input) static DeploymentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentparseFrom(ByteBuffer data) static DeploymentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Deployment>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TERRAFORM_BLUEPRINT_FIELD_NUMBER
public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
LATEST_REVISION_FIELD_NUMBER
public static final int LATEST_REVISION_FIELD_NUMBER- See Also:
-
STATE_DETAIL_FIELD_NUMBER
public static final int STATE_DETAIL_FIELD_NUMBER- See Also:
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER- See Also:
-
DELETE_RESULTS_FIELD_NUMBER
public static final int DELETE_RESULTS_FIELD_NUMBER- See Also:
-
DELETE_BUILD_FIELD_NUMBER
public static final int DELETE_BUILD_FIELD_NUMBER- See Also:
-
DELETE_LOGS_FIELD_NUMBER
public static final int DELETE_LOGS_FIELD_NUMBER- See Also:
-
TF_ERRORS_FIELD_NUMBER
public static final int TF_ERRORS_FIELD_NUMBER- See Also:
-
ERROR_LOGS_FIELD_NUMBER
public static final int ERROR_LOGS_FIELD_NUMBER- See Also:
-
ARTIFACTS_GCS_BUCKET_FIELD_NUMBER
public static final int ARTIFACTS_GCS_BUCKET_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
public static final int IMPORT_EXISTING_RESOURCES_FIELD_NUMBER- See Also:
-
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER- See Also:
-
LOCK_STATE_FIELD_NUMBER
public static final int LOCK_STATE_FIELD_NUMBER- See Also:
-
TF_VERSION_CONSTRAINT_FIELD_NUMBER
public static final int TF_VERSION_CONSTRAINT_FIELD_NUMBER- See Also:
-
TF_VERSION_FIELD_NUMBER
public static final int TF_VERSION_FIELD_NUMBER- See Also:
-
QUOTA_VALIDATION_FIELD_NUMBER
public static final int QUOTA_VALIDATION_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
PROVIDER_CONFIG_FIELD_NUMBER
public static final int PROVIDER_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getBlueprintCase
- Specified by:
getBlueprintCasein interfaceDeploymentOrBuilder
-
hasTerraformBlueprint
public boolean hasTerraformBlueprint()A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
hasTerraformBlueprintin interfaceDeploymentOrBuilder- Returns:
- Whether the terraformBlueprint field is set.
-
getTerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
getTerraformBlueprintin interfaceDeploymentOrBuilder- Returns:
- The terraformBlueprint.
-
getTerraformBlueprintOrBuilder
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;- Specified by:
getTerraformBlueprintOrBuilderin interfaceDeploymentOrBuilder
-
getName
Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDeploymentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeploymentOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeploymentOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDeploymentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDeploymentOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDeploymentOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DeploymentOrBuilderOptional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceDeploymentOrBuilder
-
containsLabels
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceDeploymentOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDeploymentOrBuilder
-
getLabelsMap
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceDeploymentOrBuilder
-
getLabelsOrDefault
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceDeploymentOrBuilder
-
getLabelsOrThrow
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceDeploymentOrBuilder
-
getStateValue
public int getStateValue()Output only. Current state of the deployment.
.google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. Current state of the deployment.
.google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDeploymentOrBuilder- Returns:
- The state.
-
getLatestRevision
Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLatestRevisionin interfaceDeploymentOrBuilder- Returns:
- The latestRevision.
-
getLatestRevisionBytes
public com.google.protobuf.ByteString getLatestRevisionBytes()Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLatestRevisionBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for latestRevision.
-
getStateDetail
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailin interfaceDeploymentOrBuilder- Returns:
- The stateDetail.
-
getStateDetailBytes
public com.google.protobuf.ByteString getStateDetailBytes()Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for stateDetail.
-
getErrorCodeValue
public int getErrorCodeValue()Output only. Error code describing errors that may have occurred.
.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodeValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
Output only. Error code describing errors that may have occurred.
.google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodein interfaceDeploymentOrBuilder- Returns:
- The errorCode.
-
hasDeleteResults
public boolean hasDeleteResults()Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteResultsin interfaceDeploymentOrBuilder- Returns:
- Whether the deleteResults field is set.
-
getDeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteResultsin interfaceDeploymentOrBuilder- Returns:
- The deleteResults.
-
getDeleteResultsOrBuilder
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteResultsOrBuilderin interfaceDeploymentOrBuilder
-
getDeleteBuild
Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteBuildin interfaceDeploymentOrBuilder- Returns:
- The deleteBuild.
-
getDeleteBuildBytes
public com.google.protobuf.ByteString getDeleteBuildBytes()Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteBuildBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for deleteBuild.
-
getDeleteLogs
Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteLogsin interfaceDeploymentOrBuilder- Returns:
- The deleteLogs.
-
getDeleteLogsBytes
public com.google.protobuf.ByteString getDeleteLogsBytes()Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteLogsBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for deleteLogs.
-
getTfErrorsList
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsListin interfaceDeploymentOrBuilder
-
getTfErrorsOrBuilderList
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsOrBuilderListin interfaceDeploymentOrBuilder
-
getTfErrorsCount
public int getTfErrorsCount()Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsCountin interfaceDeploymentOrBuilder
-
getTfErrors
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsin interfaceDeploymentOrBuilder
-
getTfErrorsOrBuilder
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfErrorsOrBuilderin interfaceDeploymentOrBuilder
-
getErrorLogs
Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorLogsin interfaceDeploymentOrBuilder- Returns:
- The errorLogs.
-
getErrorLogsBytes
public com.google.protobuf.ByteString getErrorLogsBytes()Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorLogsBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for errorLogs.
-
hasArtifactsGcsBucket
public boolean hasArtifactsGcsBucket()Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presenceoptional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasArtifactsGcsBucketin interfaceDeploymentOrBuilder- Returns:
- Whether the artifactsGcsBucket field is set.
-
getArtifactsGcsBucket
Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presenceoptional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactsGcsBucketin interfaceDeploymentOrBuilder- Returns:
- The artifactsGcsBucket.
-
getArtifactsGcsBucketBytes
public com.google.protobuf.ByteString getArtifactsGcsBucketBytes()Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presenceoptional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArtifactsGcsBucketBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for artifactsGcsBucket.
-
hasServiceAccount
public boolean hasServiceAccount()Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`optional string service_account = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
hasServiceAccountin interfaceDeploymentOrBuilder- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`optional string service_account = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfaceDeploymentOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`optional string service_account = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasImportExistingResources
public boolean hasImportExistingResources()By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.
optional bool import_existing_resources = 17;- Specified by:
hasImportExistingResourcesin interfaceDeploymentOrBuilder- Returns:
- Whether the importExistingResources field is set.
-
getImportExistingResources
public boolean getImportExistingResources()By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.
optional bool import_existing_resources = 17;- Specified by:
getImportExistingResourcesin interfaceDeploymentOrBuilder- Returns:
- The importExistingResources.
-
hasWorkerPool
public boolean hasWorkerPool()Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasWorkerPoolin interfaceDeploymentOrBuilder- Returns:
- Whether the workerPool field is set.
-
getWorkerPool
Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWorkerPoolin interfaceDeploymentOrBuilder- Returns:
- The workerPool.
-
getWorkerPoolBytes
public com.google.protobuf.ByteString getWorkerPoolBytes()Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWorkerPoolBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for workerPool.
-
getLockStateValue
public int getLockStateValue()Output only. Current lock state of the deployment.
.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLockStateValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for lockState.
-
getLockState
Output only. Current lock state of the deployment.
.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLockStatein interfaceDeploymentOrBuilder- Returns:
- The lockState.
-
hasTfVersionConstraint
public boolean hasTfVersionConstraint()Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTfVersionConstraintin interfaceDeploymentOrBuilder- Returns:
- Whether the tfVersionConstraint field is set.
-
getTfVersionConstraint
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTfVersionConstraintin interfaceDeploymentOrBuilder- Returns:
- The tfVersionConstraint.
-
getTfVersionConstraintBytes
public com.google.protobuf.ByteString getTfVersionConstraintBytes()Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTfVersionConstraintBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for tfVersionConstraint.
-
getTfVersion
Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfVersionin interfaceDeploymentOrBuilder- Returns:
- The tfVersion.
-
getTfVersionBytes
public com.google.protobuf.ByteString getTfVersionBytes()Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTfVersionBytesin interfaceDeploymentOrBuilder- Returns:
- The bytes for tfVersion.
-
getQuotaValidationValue
public int getQuotaValidationValue()Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
.google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuotaValidationValuein interfaceDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for quotaValidation.
-
getQuotaValidation
Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
.google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuotaValidationin interfaceDeploymentOrBuilder- Returns:
- The quotaValidation.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:DeploymentOrBuilderOptional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceDeploymentOrBuilder
-
containsAnnotations
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceDeploymentOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceDeploymentOrBuilder
-
getAnnotationsMap
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceDeploymentOrBuilder
-
getAnnotationsOrDefault
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceDeploymentOrBuilder
-
getAnnotationsOrThrow
Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
map<string, string> annotations = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrThrowin interfaceDeploymentOrBuilder
-
hasProviderConfig
public boolean hasProviderConfig()Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProviderConfigin interfaceDeploymentOrBuilder- Returns:
- Whether the providerConfig field is set.
-
getProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProviderConfigin interfaceDeploymentOrBuilder- Returns:
- The providerConfig.
-
getProviderConfigOrBuilder
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProviderConfigOrBuilderin interfaceDeploymentOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Deployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Deployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Deployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Deployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Deployment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-