Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • clear

        public Deployment.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • getDefaultInstanceForType

        public Deployment getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Deployment build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Deployment buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Deployment.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • setField

        public Deployment.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • clearField

        public Deployment.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • clearOneof

        public Deployment.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • setRepeatedField

        public Deployment.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • addRepeatedField

        public Deployment.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • mergeFrom

        public Deployment.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • mergeFrom

        public Deployment.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
        Throws:
        IOException
      • 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:
        hasTerraformBlueprint in interface DeploymentOrBuilder
        Returns:
        Whether the terraformBlueprint field is set.
      • getTerraformBlueprint

        public TerraformBlueprint getTerraformBlueprint()
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
        Specified by:
        getTerraformBlueprint in interface DeploymentOrBuilder
        Returns:
        The terraformBlueprint.
      • setTerraformBlueprint

        public Deployment.Builder setTerraformBlueprint​(TerraformBlueprint value)
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      • setTerraformBlueprint

        public Deployment.Builder setTerraformBlueprint​(TerraformBlueprint.Builder builderForValue)
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      • mergeTerraformBlueprint

        public Deployment.Builder mergeTerraformBlueprint​(TerraformBlueprint value)
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      • clearTerraformBlueprint

        public Deployment.Builder clearTerraformBlueprint()
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      • getTerraformBlueprintBuilder

        public TerraformBlueprint.Builder getTerraformBlueprintBuilder()
         A blueprint described using Terraform's HashiCorp Configuration Language
         as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      • getName

        public String getName()
         Resource name of the deployment.
         Format: `projects/{project}/locations/{location}/deployments/{deployment}`
         
        string name = 1;
        Specified by:
        getName in interface DeploymentOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Resource name of the deployment.
         Format: `projects/{project}/locations/{location}/deployments/{deployment}`
         
        string name = 1;
        Specified by:
        getNameBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Deployment.Builder setName​(String value)
         Resource name of the deployment.
         Format: `projects/{project}/locations/{location}/deployments/{deployment}`
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Deployment.Builder clearName()
         Resource name of the deployment.
         Format: `projects/{project}/locations/{location}/deployments/{deployment}`
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Deployment.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Resource name of the deployment.
         Format: `projects/{project}/locations/{location}/deployments/{deployment}`
         
        string name = 1;
        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:
        hasCreateTime in interface DeploymentOrBuilder
        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:
        getCreateTime in interface DeploymentOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Deployment.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the deployment was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Deployment.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the deployment was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Deployment.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the deployment was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Deployment.Builder 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:
        getCreateTimeOrBuilder in interface DeploymentOrBuilder
      • 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:
        hasUpdateTime in interface DeploymentOrBuilder
        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:
        getUpdateTime in interface DeploymentOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Deployment.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the deployment was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Deployment.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the deployment was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Deployment.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the deployment was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Deployment.Builder 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:
        getUpdateTimeOrBuilder in interface DeploymentOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         User-defined metadata for the deployment.
         
        map<string, string> labels = 4;
        Specified by:
        containsLabels in interface DeploymentOrBuilder
      • removeLabels

        public Deployment.Builder removeLabels​(String key)
         User-defined metadata for the deployment.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Deployment.Builder putLabels​(String key,
                                            String value)
         User-defined metadata for the deployment.
         
        map<string, string> labels = 4;
      • 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:
        getStateValue in interface DeploymentOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Deployment.Builder setStateValue​(int value)
         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

        public Deployment.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:
        getState in interface DeploymentOrBuilder
        Returns:
        The state.
      • setState

        public Deployment.Builder setState​(Deployment.State value)
         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

        public Deployment.Builder 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

        public String 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:
        getLatestRevision in interface DeploymentOrBuilder
        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:
        getLatestRevisionBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for latestRevision.
      • setLatestRevision

        public Deployment.Builder setLatestRevision​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setLatestRevisionBytes​(com.google.protobuf.ByteString value)
         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

        public String getStateDetail()
         Output only. Additional information regarding the current state.
         
        string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetail in interface DeploymentOrBuilder
        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:
        getStateDetailBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for stateDetail.
      • setStateDetail

        public Deployment.Builder setStateDetail​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setStateDetailBytes​(com.google.protobuf.ByteString value)
         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:
        getErrorCodeValue in interface DeploymentOrBuilder
        Returns:
        The enum numeric value on the wire for errorCode.
      • setErrorCodeValue

        public Deployment.Builder setErrorCodeValue​(int value)
         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

        public Deployment.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:
        getErrorCode in interface DeploymentOrBuilder
        Returns:
        The errorCode.
      • setErrorCode

        public Deployment.Builder setErrorCode​(Deployment.ErrorCode value)
         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

        public Deployment.Builder 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:
        hasDeleteResults in interface DeploymentOrBuilder
        Returns:
        Whether the deleteResults field is set.
      • getDeleteResults

        public ApplyResults 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:
        getDeleteResults in interface DeploymentOrBuilder
        Returns:
        The deleteResults.
      • setDeleteResults

        public Deployment.Builder setDeleteResults​(ApplyResults value)
         Output only. Location of artifacts from a DeleteDeployment operation.
         
        .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDeleteResults

        public Deployment.Builder setDeleteResults​(ApplyResults.Builder builderForValue)
         Output only. Location of artifacts from a DeleteDeployment operation.
         
        .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDeleteResults

        public Deployment.Builder mergeDeleteResults​(ApplyResults value)
         Output only. Location of artifacts from a DeleteDeployment operation.
         
        .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDeleteResults

        public Deployment.Builder 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

        public ApplyResults.Builder 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

        public ApplyResultsOrBuilder 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:
        getDeleteResultsOrBuilder in interface DeploymentOrBuilder
      • getDeleteBuild

        public String getDeleteBuild()
         Output only. Cloud Build instance UUID associated with deleting this
         deployment.
         
        string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteBuild in interface DeploymentOrBuilder
        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:
        getDeleteBuildBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for deleteBuild.
      • setDeleteBuild

        public Deployment.Builder setDeleteBuild​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setDeleteBuildBytes​(com.google.protobuf.ByteString value)
         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

        public String 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:
        getDeleteLogs in interface DeploymentOrBuilder
        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:
        getDeleteLogsBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for deleteLogs.
      • setDeleteLogs

        public Deployment.Builder setDeleteLogs​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setDeleteLogsBytes​(com.google.protobuf.ByteString value)
         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

        public List<TerraformError> 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:
        getTfErrorsList in interface DeploymentOrBuilder
      • 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:
        getTfErrorsCount in interface DeploymentOrBuilder
      • getTfErrors

        public TerraformError getTfErrors​(int index)
         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:
        getTfErrors in interface DeploymentOrBuilder
      • setTfErrors

        public Deployment.Builder setTfErrors​(int index,
                                              TerraformError value)
         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

        public Deployment.Builder setTfErrors​(int index,
                                              TerraformError.Builder builderForValue)
         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

        public Deployment.Builder addTfErrors​(TerraformError value)
         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

        public Deployment.Builder addTfErrors​(int index,
                                              TerraformError value)
         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

        public Deployment.Builder addTfErrors​(TerraformError.Builder builderForValue)
         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

        public Deployment.Builder addTfErrors​(int index,
                                              TerraformError.Builder builderForValue)
         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

        public Deployment.Builder addAllTfErrors​(Iterable<? extends TerraformError> values)
         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

        public Deployment.Builder 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

        public Deployment.Builder removeTfErrors​(int index)
         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

        public TerraformError.Builder getTfErrorsBuilder​(int index)
         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

        public TerraformErrorOrBuilder getTfErrorsOrBuilder​(int index)
         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:
        getTfErrorsOrBuilder in interface DeploymentOrBuilder
      • getTfErrorsOrBuilderList

        public List<? extends TerraformErrorOrBuilder> 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:
        getTfErrorsOrBuilderList in interface DeploymentOrBuilder
      • addTfErrorsBuilder

        public TerraformError.Builder 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

        public TerraformError.Builder addTfErrorsBuilder​(int index)
         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

        public List<TerraformError.Builder> 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

        public String 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:
        getErrorLogs in interface DeploymentOrBuilder
        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:
        getErrorLogsBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for errorLogs.
      • setErrorLogs

        public Deployment.Builder setErrorLogs​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setErrorLogsBytes​(com.google.protobuf.ByteString value)
         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 presence
         
        optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasArtifactsGcsBucket in interface DeploymentOrBuilder
        Returns:
        Whether the artifactsGcsBucket field is set.
      • getArtifactsGcsBucket

        public String 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 presence
         
        optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArtifactsGcsBucket in interface DeploymentOrBuilder
        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 presence
         
        optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArtifactsGcsBucketBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for artifactsGcsBucket.
      • setArtifactsGcsBucket

        public Deployment.Builder setArtifactsGcsBucket​(String value)
         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 presence
         
        optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The artifactsGcsBucket to set.
        Returns:
        This builder for chaining.
      • clearArtifactsGcsBucket

        public Deployment.Builder 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 presence
         
        optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setArtifactsGcsBucketBytes

        public Deployment.Builder setArtifactsGcsBucketBytes​(com.google.protobuf.ByteString value)
         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 presence
         
        optional 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()
         Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Specified by:
        hasServiceAccount in interface DeploymentOrBuilder
        Returns:
        Whether the serviceAccount field is set.
      • getServiceAccount

        public String getServiceAccount()
         Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceAccount in interface DeploymentOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceAccountBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for serviceAccount.
      • setServiceAccount

        public Deployment.Builder setServiceAccount​(String value)
         Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        public Deployment.Builder clearServiceAccount()
         Optional. 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) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        public Deployment.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
         Optional. 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) = OPTIONAL, (.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:
        hasImportExistingResources in interface DeploymentOrBuilder
        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:
        getImportExistingResources in interface DeploymentOrBuilder
        Returns:
        The importExistingResources.
      • setImportExistingResources

        public Deployment.Builder setImportExistingResources​(boolean value)
         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

        public Deployment.Builder 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:
        hasWorkerPool in interface DeploymentOrBuilder
        Returns:
        Whether the workerPool field is set.
      • getWorkerPool

        public String 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:
        getWorkerPool in interface DeploymentOrBuilder
        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:
        getWorkerPoolBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for workerPool.
      • setWorkerPool

        public Deployment.Builder setWorkerPool​(String value)
         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

        public Deployment.Builder 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

        public Deployment.Builder setWorkerPoolBytes​(com.google.protobuf.ByteString value)
         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:
        getLockStateValue in interface DeploymentOrBuilder
        Returns:
        The enum numeric value on the wire for lockState.
      • setLockStateValue

        public Deployment.Builder setLockStateValue​(int value)
         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

        public Deployment.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:
        getLockState in interface DeploymentOrBuilder
        Returns:
        The lockState.
      • setLockState

        public Deployment.Builder setLockState​(Deployment.LockState value)
         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

        public Deployment.Builder 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.
      • setUnknownFields

        public final Deployment.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
      • mergeUnknownFields

        public final Deployment.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>