Package com.google.cloud.config.v1
Class Deployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
com.google.cloud.config.v1.Deployment.Builder
- All Implemented Interfaces:
DeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
implements DeploymentOrBuilder
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.Protobuf type
google.cloud.config.v1.Deployment-
Method Summary
Modifier and TypeMethodDescriptionaddAllTfErrors(Iterable<? extends TerraformError> values) Output only.addTfErrors(int index, TerraformError value) Output only.addTfErrors(int index, TerraformError.Builder builderForValue) Output only.addTfErrors(TerraformError value) Output only.addTfErrors(TerraformError.Builder builderForValue) Output only.Output only.addTfErrorsBuilder(int index) Output only.build()clear()Optional.Output only.Output only.Output only.Output only.Output only.Output only.By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.Output only.Output only.Identifier.Optional.Optional.Required.Output only.Output only.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.Output only.Output only.Optional.Output only.Optional.booleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.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.Deprecated.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.Optional.Optional.Optional.intOptional.Required.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.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.getTfErrors(int index) Output only.getTfErrorsBuilder(int index) Output only.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.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOutput only.booleanOutput only.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) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteResults(ApplyResults value) Output only.mergeFrom(Deployment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) Optional.putAllLabels(Map<String, String> values) Optional.putAnnotations(String key, String value) Optional.Optional.removeAnnotations(String key) Optional.removeLabels(String key) Optional.removeTfErrors(int index) Output only.setArtifactsGcsBucket(String value) Optional.setArtifactsGcsBucketBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteBuild(String value) Output only.setDeleteBuildBytes(com.google.protobuf.ByteString value) Output only.setDeleteLogs(String value) Output only.setDeleteLogsBytes(com.google.protobuf.ByteString value) Output only.setDeleteResults(ApplyResults value) Output only.setDeleteResults(ApplyResults.Builder builderForValue) Output only.setErrorCode(Deployment.ErrorCode value) Output only.setErrorCodeValue(int value) Output only.setErrorLogs(String value) Output only.setErrorLogsBytes(com.google.protobuf.ByteString value) Output only.setImportExistingResources(boolean value) By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.setLatestRevision(String value) Output only.setLatestRevisionBytes(com.google.protobuf.ByteString value) Output only.setLockState(Deployment.LockState value) Output only.setLockStateValue(int value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setProviderConfig(ProviderConfig value) Optional.setProviderConfig(ProviderConfig.Builder builderForValue) Optional.Optional.setQuotaValidationValue(int value) Optional.setServiceAccount(String value) Required.setServiceAccountBytes(com.google.protobuf.ByteString value) Required.setState(Deployment.State value) Output only.setStateDetail(String value) Output only.setStateDetailBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.A blueprint described using Terraform's HashiCorp Configuration Language as a root module.setTerraformBlueprint(TerraformBlueprint.Builder builderForValue) A blueprint described using Terraform's HashiCorp Configuration Language as a root module.setTfErrors(int index, TerraformError value) Output only.setTfErrors(int index, TerraformError.Builder builderForValue) Output only.setTfVersion(String value) Output only.setTfVersionBytes(com.google.protobuf.ByteString value) Output only.setTfVersionConstraint(String value) Optional.setTfVersionConstraintBytes(com.google.protobuf.ByteString value) Optional.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setWorkerPool(String value) Optional.setWorkerPoolBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Deployment.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>- Throws:
IOException
-
getBlueprintCase
- Specified by:
getBlueprintCasein interfaceDeploymentOrBuilder
-
clearBlueprint
-
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.
-
setTerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; -
setTerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; -
mergeTerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; -
clearTerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; -
getTerraformBlueprintBuilder
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; -
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.
-
setName
Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time when the deployment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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.
-
setUpdateTime
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Time when the deployment was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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
-
clearLabels
-
removeLabels
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. User-defined metadata for the deployment.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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.
-
setStateValue
Output only. Current state of the deployment.
.google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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.
-
setState
Output only. Current state of the deployment.
.google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the deployment.
.google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setLatestRevision
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];- Parameters:
value- The latestRevision to set.- Returns:
- This builder for chaining.
-
clearLatestRevision
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];- Returns:
- This builder for chaining.
-
setLatestRevisionBytes
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];- Parameters:
value- The bytes for latestRevision to set.- Returns:
- This builder for chaining.
-
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.
-
setStateDetail
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateDetail to set.- Returns:
- This builder for chaining.
-
clearStateDetail
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateDetailBytes
Output only. Additional information regarding the current state.
string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateDetail to set.- Returns:
- This builder for chaining.
-
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.
-
setErrorCodeValue
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];- Parameters:
value- The enum numeric value on the wire for errorCode to set.- Returns:
- This builder for chaining.
-
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.
-
setErrorCode
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];- Parameters:
value- The errorCode to set.- Returns:
- This builder for chaining.
-
clearErrorCode
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];- Returns:
- This builder for chaining.
-
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.
-
setDeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteResults
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteResultsBuilder
Output only. Location of artifacts from a DeleteDeployment operation.
.google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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.
-
setDeleteBuild
Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The deleteBuild to set.- Returns:
- This builder for chaining.
-
clearDeleteBuild
Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDeleteBuildBytes
Output only. Cloud Build instance UUID associated with deleting this deployment.
string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for deleteBuild to set.- Returns:
- This builder for chaining.
-
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.
-
setDeleteLogs
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];- Parameters:
value- The deleteLogs to set.- Returns:
- This builder for chaining.
-
clearDeleteLogs
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];- Returns:
- This builder for chaining.
-
setDeleteLogsBytes
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];- Parameters:
value- The bytes for deleteLogs to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setTfErrors
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]; -
setTfErrors
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]; -
addTfErrors
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]; -
addTfErrors
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]; -
addTfErrors
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]; -
addTfErrors
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]; -
addAllTfErrors
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]; -
clearTfErrors
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]; -
removeTfErrors
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]; -
getTfErrorsBuilder
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]; -
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
-
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
-
addTfErrorsBuilder
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]; -
addTfErrorsBuilder
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]; -
getTfErrorsBuilderList
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]; -
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.
-
setErrorLogs
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];- Parameters:
value- The errorLogs to set.- Returns:
- This builder for chaining.
-
clearErrorLogs
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];- Returns:
- This builder for chaining.
-
setErrorLogsBytes
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];- Parameters:
value- The bytes for errorLogs to set.- Returns:
- This builder for chaining.
-
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.
-
setArtifactsGcsBucket
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];- Parameters:
value- The artifactsGcsBucket to set.- Returns:
- This builder for chaining.
-
clearArtifactsGcsBucket
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];- Returns:
- This builder for chaining.
-
setArtifactsGcsBucketBytes
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];- Parameters:
value- The bytes for artifactsGcsBucket to set.- Returns:
- This builder for chaining.
-
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.
-
setServiceAccount
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) = { ... }- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
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) = { ... }- Returns:
- This builder for chaining.
-
setServiceAccountBytes
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) = { ... }- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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.
-
setImportExistingResources
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;- Parameters:
value- The importExistingResources to set.- Returns:
- This builder for chaining.
-
clearImportExistingResources
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;- Returns:
- This builder for chaining.
-
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.
-
setWorkerPool
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) = { ... }- Parameters:
value- The workerPool to set.- Returns:
- This builder for chaining.
-
clearWorkerPool
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) = { ... }- Returns:
- This builder for chaining.
-
setWorkerPoolBytes
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) = { ... }- Parameters:
value- The bytes for workerPool to set.- Returns:
- This builder for chaining.
-
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.
-
setLockStateValue
Output only. Current lock state of the deployment.
.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for lockState to set.- Returns:
- This builder for chaining.
-
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.
-
setLockState
Output only. Current lock state of the deployment.
.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lockState to set.- Returns:
- This builder for chaining.
-
clearLockState
Output only. Current lock state of the deployment.
.google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setTfVersionConstraint
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The tfVersionConstraint to set.- Returns:
- This builder for chaining.
-
clearTfVersionConstraint
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setTfVersionConstraintBytes
Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for tfVersionConstraint to set.- Returns:
- This builder for chaining.
-
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.
-
setTfVersion
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];- Parameters:
value- The tfVersion to set.- Returns:
- This builder for chaining.
-
clearTfVersion
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];- Returns:
- This builder for chaining.
-
setTfVersionBytes
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];- Parameters:
value- The bytes for tfVersion to set.- Returns:
- This builder for chaining.
-
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.
-
setQuotaValidationValue
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];- Parameters:
value- The enum numeric value on the wire for quotaValidation to set.- Returns:
- This builder for chaining.
-
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.
-
setQuotaValidation
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];- Parameters:
value- The quotaValidation to set.- Returns:
- This builder for chaining.
-
clearQuotaValidation
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];- Returns:
- This builder for chaining.
-
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
-
clearAnnotations
-
removeAnnotations
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]; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
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]; -
putAllAnnotations
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]; -
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.
-
setProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL]; -
setProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL]; -
mergeProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL]; -
clearProviderConfig
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL]; -
getProviderConfigBuilder
Optional. This field specifies the provider configurations.
.google.cloud.config.v1.ProviderConfig provider_config = 25 [(.google.api.field_behavior) = OPTIONAL]; -
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
-