Class Revision.Builder

  • All Implemented Interfaces:
    RevisionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Revision

    public static final class Revision.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
    implements RevisionOrBuilder
     A child resource of a Deployment generated by a 'CreateDeployment' or
     'UpdateDeployment' call. Each Revision contains metadata pertaining to a
     snapshot of a particular Deployment.
     
    Protobuf type google.cloud.config.v1.Revision
    • Method Detail

      • getDescriptor

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

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

        public Revision.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<Revision.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<Revision.Builder>
      • getDefaultInstanceForType

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

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

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

        public Revision.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<Revision.Builder>
      • setField

        public Revision.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<Revision.Builder>
      • clearField

        public Revision.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<Revision.Builder>
      • clearOneof

        public Revision.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<Revision.Builder>
      • setRepeatedField

        public Revision.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<Revision.Builder>
      • addRepeatedField

        public Revision.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<Revision.Builder>
      • mergeFrom

        public Revision.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<Revision.Builder>
      • isInitialized

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

        public Revision.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<Revision.Builder>
        Throws:
        IOException
      • hasTerraformBlueprint

        public boolean hasTerraformBlueprint()
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTerraformBlueprint in interface RevisionOrBuilder
        Returns:
        Whether the terraformBlueprint field is set.
      • getTerraformBlueprint

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

        public Revision.Builder setTerraformBlueprint​(TerraformBlueprint value)
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setTerraformBlueprint

        public Revision.Builder setTerraformBlueprint​(TerraformBlueprint.Builder builderForValue)
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeTerraformBlueprint

        public Revision.Builder mergeTerraformBlueprint​(TerraformBlueprint value)
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearTerraformBlueprint

        public Revision.Builder clearTerraformBlueprint()
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTerraformBlueprintBuilder

        public TerraformBlueprint.Builder getTerraformBlueprintBuilder()
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTerraformBlueprintOrBuilder

        public TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder()
         Output only. A blueprint described using Terraform's HashiCorp
         Configuration Language as a root module.
         
        .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTerraformBlueprintOrBuilder in interface RevisionOrBuilder
      • getName

        public String getName()
         Revision name. Format:
         `projects/{project}/locations/{location}/deployments/{deployment}/
         revisions/{revision}`
         
        string name = 1;
        Specified by:
        getName in interface RevisionOrBuilder
        Returns:
        The name.
      • getNameBytes

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

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

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

        public Revision.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Revision name. Format:
         `projects/{project}/locations/{location}/deployments/{deployment}/
         revisions/{revision}`
         
        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 revision was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface RevisionOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time when the revision was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface RevisionOrBuilder
        Returns:
        The createTime.
      • setCreateTime

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

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

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

        public Revision.Builder clearCreateTime()
         Output only. Time when the revision 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 revision 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 revision was created.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface RevisionOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Time when the revision was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface RevisionOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Time when the revision was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface RevisionOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

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

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

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

        public Revision.Builder clearUpdateTime()
         Output only. Time when the revision 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 revision 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 revision was last modified.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface RevisionOrBuilder
      • getActionValue

        public int getActionValue()
         Output only. The action which created this revision
         
        .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getActionValue in interface RevisionOrBuilder
        Returns:
        The enum numeric value on the wire for action.
      • setActionValue

        public Revision.Builder setActionValue​(int value)
         Output only. The action which created this revision
         
        .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for action to set.
        Returns:
        This builder for chaining.
      • getAction

        public Revision.Action getAction()
         Output only. The action which created this revision
         
        .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAction in interface RevisionOrBuilder
        Returns:
        The action.
      • setAction

        public Revision.Builder setAction​(Revision.Action value)
         Output only. The action which created this revision
         
        .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public Revision.Builder clearAction()
         Output only. The action which created this revision
         
        .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. Current state of the revision.
         
        .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface RevisionOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Revision.Builder setStateValue​(int value)
         Output only. Current state of the revision.
         
        .google.cloud.config.v1.Revision.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 Revision.State getState()
         Output only. Current state of the revision.
         
        .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface RevisionOrBuilder
        Returns:
        The state.
      • setState

        public Revision.Builder setState​(Revision.State value)
         Output only. Current state of the revision.
         
        .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Revision.Builder clearState()
         Output only. Current state of the revision.
         
        .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasApplyResults

        public boolean hasApplyResults()
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasApplyResults in interface RevisionOrBuilder
        Returns:
        Whether the applyResults field is set.
      • getApplyResults

        public ApplyResults getApplyResults()
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApplyResults in interface RevisionOrBuilder
        Returns:
        The applyResults.
      • setApplyResults

        public Revision.Builder setApplyResults​(ApplyResults value)
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setApplyResults

        public Revision.Builder setApplyResults​(ApplyResults.Builder builderForValue)
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeApplyResults

        public Revision.Builder mergeApplyResults​(ApplyResults value)
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearApplyResults

        public Revision.Builder clearApplyResults()
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getApplyResultsBuilder

        public ApplyResults.Builder getApplyResultsBuilder()
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getApplyResultsOrBuilder

        public ApplyResultsOrBuilder getApplyResultsOrBuilder()
         Output only. Outputs and artifacts from applying a deployment.
         
        .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApplyResultsOrBuilder in interface RevisionOrBuilder
      • getStateDetail

        public String getStateDetail()
         Output only. Additional info regarding the current state.
         
        string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetail in interface RevisionOrBuilder
        Returns:
        The stateDetail.
      • getStateDetailBytes

        public com.google.protobuf.ByteString getStateDetailBytes()
         Output only. Additional info regarding the current state.
         
        string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetailBytes in interface RevisionOrBuilder
        Returns:
        The bytes for stateDetail.
      • setStateDetail

        public Revision.Builder setStateDetail​(String value)
         Output only. Additional info regarding the current state.
         
        string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateDetail to set.
        Returns:
        This builder for chaining.
      • clearStateDetail

        public Revision.Builder clearStateDetail()
         Output only. Additional info regarding the current state.
         
        string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStateDetailBytes

        public Revision.Builder setStateDetailBytes​(com.google.protobuf.ByteString value)
         Output only. Additional info regarding the current state.
         
        string state_detail = 8 [(.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. Code describing any errors that may have occurred.
         
        .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorCodeValue in interface RevisionOrBuilder
        Returns:
        The enum numeric value on the wire for errorCode.
      • setErrorCodeValue

        public Revision.Builder setErrorCodeValue​(int value)
         Output only. Code describing any errors that may have occurred.
         
        .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.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 Revision.ErrorCode getErrorCode()
         Output only. Code describing any errors that may have occurred.
         
        .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorCode in interface RevisionOrBuilder
        Returns:
        The errorCode.
      • setErrorCode

        public Revision.Builder setErrorCode​(Revision.ErrorCode value)
         Output only. Code describing any errors that may have occurred.
         
        .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The errorCode to set.
        Returns:
        This builder for chaining.
      • clearErrorCode

        public Revision.Builder clearErrorCode()
         Output only. Code describing any errors that may have occurred.
         
        .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getBuild

        public String getBuild()
         Output only. Cloud Build instance UUID associated with this revision.
         
        string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBuild in interface RevisionOrBuilder
        Returns:
        The build.
      • getBuildBytes

        public com.google.protobuf.ByteString getBuildBytes()
         Output only. Cloud Build instance UUID associated with this revision.
         
        string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBuildBytes in interface RevisionOrBuilder
        Returns:
        The bytes for build.
      • setBuild

        public Revision.Builder setBuild​(String value)
         Output only. Cloud Build instance UUID associated with this revision.
         
        string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The build to set.
        Returns:
        This builder for chaining.
      • clearBuild

        public Revision.Builder clearBuild()
         Output only. Cloud Build instance UUID associated with this revision.
         
        string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setBuildBytes

        public Revision.Builder setBuildBytes​(com.google.protobuf.ByteString value)
         Output only. Cloud Build instance UUID associated with this revision.
         
        string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for build to set.
        Returns:
        This builder for chaining.
      • getLogs

        public String getLogs()
         Output only. Location of Revision operation logs in
         `gs://{bucket}/{object}` format.
         
        string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLogs in interface RevisionOrBuilder
        Returns:
        The logs.
      • getLogsBytes

        public com.google.protobuf.ByteString getLogsBytes()
         Output only. Location of Revision operation logs in
         `gs://{bucket}/{object}` format.
         
        string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLogsBytes in interface RevisionOrBuilder
        Returns:
        The bytes for logs.
      • setLogs

        public Revision.Builder setLogs​(String value)
         Output only. Location of Revision operation logs in
         `gs://{bucket}/{object}` format.
         
        string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The logs to set.
        Returns:
        This builder for chaining.
      • clearLogs

        public Revision.Builder clearLogs()
         Output only. Location of Revision operation logs in
         `gs://{bucket}/{object}` format.
         
        string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLogsBytes

        public Revision.Builder setLogsBytes​(com.google.protobuf.ByteString value)
         Output only. Location of Revision operation logs in
         `gs://{bucket}/{object}` format.
         
        string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for logs to set.
        Returns:
        This builder for chaining.
      • getTfErrorsList

        public List<TerraformError> getTfErrorsList()
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTfErrorsList in interface RevisionOrBuilder
      • getTfErrorsCount

        public int getTfErrorsCount()
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTfErrorsCount in interface RevisionOrBuilder
      • getTfErrors

        public TerraformError getTfErrors​(int index)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTfErrors in interface RevisionOrBuilder
      • setTfErrors

        public Revision.Builder setTfErrors​(int index,
                                            TerraformError value)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setTfErrors

        public Revision.Builder setTfErrors​(int index,
                                            TerraformError.Builder builderForValue)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTfErrors

        public Revision.Builder addTfErrors​(TerraformError value)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTfErrors

        public Revision.Builder addTfErrors​(int index,
                                            TerraformError value)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTfErrors

        public Revision.Builder addTfErrors​(TerraformError.Builder builderForValue)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTfErrors

        public Revision.Builder addTfErrors​(int index,
                                            TerraformError.Builder builderForValue)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllTfErrors

        public Revision.Builder addAllTfErrors​(Iterable<? extends TerraformError> values)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearTfErrors

        public Revision.Builder clearTfErrors()
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeTfErrors

        public Revision.Builder removeTfErrors​(int index)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTfErrorsBuilder

        public TerraformError.Builder getTfErrorsBuilder​(int index)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTfErrorsOrBuilder

        public TerraformErrorOrBuilder getTfErrorsOrBuilder​(int index)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTfErrorsOrBuilder in interface RevisionOrBuilder
      • getTfErrorsOrBuilderList

        public List<? extends TerraformErrorOrBuilder> getTfErrorsOrBuilderList()
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTfErrorsOrBuilderList in interface RevisionOrBuilder
      • addTfErrorsBuilder

        public TerraformError.Builder addTfErrorsBuilder()
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addTfErrorsBuilder

        public TerraformError.Builder addTfErrorsBuilder​(int index)
         Output only. Errors encountered when creating or updating 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTfErrorsBuilderList

        public List<TerraformError.Builder> getTfErrorsBuilderList()
         Output only. Errors encountered when creating or updating 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 = 12 [(.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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorLogs in interface RevisionOrBuilder
        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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorLogsBytes in interface RevisionOrBuilder
        Returns:
        The bytes for errorLogs.
      • setErrorLogs

        public Revision.Builder setErrorLogs​(String value)
         Output only. Location of Terraform error logs in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`.
         
        string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The errorLogs to set.
        Returns:
        This builder for chaining.
      • clearErrorLogs

        public Revision.Builder clearErrorLogs()
         Output only. Location of Terraform error logs in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`.
         
        string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setErrorLogsBytes

        public Revision.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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for errorLogs to set.
        Returns:
        This builder for chaining.
      • getServiceAccount

        public String getServiceAccount()
         Output only. User-specified Service Account (SA) to be used as credential
         to manage resources. Format:
         `projects/{projectID}/serviceAccounts/{serviceAccount}`
         
        string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceAccount in interface RevisionOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         Output only. User-specified Service Account (SA) to be used as credential
         to manage resources. Format:
         `projects/{projectID}/serviceAccounts/{serviceAccount}`
         
        string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceAccountBytes in interface RevisionOrBuilder
        Returns:
        The bytes for serviceAccount.
      • setServiceAccount

        public Revision.Builder setServiceAccount​(String value)
         Output only. User-specified Service Account (SA) to be used as credential
         to manage resources. Format:
         `projects/{projectID}/serviceAccounts/{serviceAccount}`
         
        string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        public Revision.Builder clearServiceAccount()
         Output only. User-specified Service Account (SA) to be used as credential
         to manage resources. Format:
         `projects/{projectID}/serviceAccounts/{serviceAccount}`
         
        string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        public Revision.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
         Output only. User-specified Service Account (SA) to be used as credential
         to manage resources. Format:
         `projects/{projectID}/serviceAccounts/{serviceAccount}`
         
        string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for serviceAccount to set.
        Returns:
        This builder for chaining.
      • getImportExistingResources

        public boolean getImportExistingResources()
         Output only. 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.
         
        bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getImportExistingResources in interface RevisionOrBuilder
        Returns:
        The importExistingResources.
      • setImportExistingResources

        public Revision.Builder setImportExistingResources​(boolean value)
         Output only. 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.
         
        bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The importExistingResources to set.
        Returns:
        This builder for chaining.
      • clearImportExistingResources

        public Revision.Builder clearImportExistingResources()
         Output only. 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.
         
        bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getWorkerPool

        public String getWorkerPool()
         Output only. 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.
         
        string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getWorkerPool in interface RevisionOrBuilder
        Returns:
        The workerPool.
      • getWorkerPoolBytes

        public com.google.protobuf.ByteString getWorkerPoolBytes()
         Output only. 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.
         
        string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getWorkerPoolBytes in interface RevisionOrBuilder
        Returns:
        The bytes for workerPool.
      • setWorkerPool

        public Revision.Builder setWorkerPool​(String value)
         Output only. 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.
         
        string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The workerPool to set.
        Returns:
        This builder for chaining.
      • clearWorkerPool

        public Revision.Builder clearWorkerPool()
         Output only. 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.
         
        string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setWorkerPoolBytes

        public Revision.Builder setWorkerPoolBytes​(com.google.protobuf.ByteString value)
         Output only. 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.
         
        string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for workerPool to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Revision.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<Revision.Builder>
      • mergeUnknownFields

        public final Revision.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<Revision.Builder>