Class AutomationRun.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutomationRun.Builder>
com.google.cloud.deploy.v1.AutomationRun.Builder
All Implemented Interfaces:
AutomationRunOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AutomationRun

public static final class AutomationRun.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutomationRun.Builder> implements AutomationRunOrBuilder
 An `AutomationRun` resource in the Cloud Deploy API.

 An `AutomationRun` represents an execution instance of an
 automation rule.
 
Protobuf type google.cloud.deploy.v1.AutomationRun
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

      public AutomationRun.Builder mergeFrom(AutomationRun other)
    • isInitialized

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

      public AutomationRun.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<AutomationRun.Builder>
      Throws:
      IOException
    • getOperationCase

      public AutomationRun.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface AutomationRunOrBuilder
    • clearOperation

      public AutomationRun.Builder clearOperation()
    • getName

      public String getName()
       Output only. Name of the `AutomationRun`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface AutomationRunOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Name of the `AutomationRun`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AutomationRun.Builder setName(String value)
       Output only. Name of the `AutomationRun`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AutomationRun.Builder clearName()
       Output only. Name of the `AutomationRun`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public AutomationRun.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Name of the `AutomationRun`. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AutomationRunOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

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

      public AutomationRun.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public AutomationRun.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public AutomationRun.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public AutomationRun.Builder clearCreateTime()
       Output only. Time at which the `AutomationRun` 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 at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time at which the `AutomationRun` was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface AutomationRunOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface AutomationRunOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface AutomationRunOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public AutomationRun.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public AutomationRun.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public AutomationRun.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public AutomationRun.Builder clearUpdateTime()
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time at which the automationRun was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface AutomationRunOrBuilder
    • getEtag

      public String getEtag()
       Output only. The weak etag of the `AutomationRun` resource.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface AutomationRunOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. The weak etag of the `AutomationRun` resource.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public AutomationRun.Builder setEtag(String value)
       Output only. The weak etag of the `AutomationRun` resource.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public AutomationRun.Builder clearEtag()
       Output only. The weak etag of the `AutomationRun` resource.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public AutomationRun.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. The weak etag of the `AutomationRun` resource.
       This checksum is computed by the server based on the value of other
       fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getServiceAccount

      public String getServiceAccount()
       Output only. Email address of the user-managed IAM service account that
       performs the operations against Cloud Deploy resources.
       
      string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceAccount in interface AutomationRunOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       Output only. Email address of the user-managed IAM service account that
       performs the operations against Cloud Deploy resources.
       
      string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServiceAccountBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public AutomationRun.Builder setServiceAccount(String value)
       Output only. Email address of the user-managed IAM service account that
       performs the operations against Cloud Deploy resources.
       
      string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public AutomationRun.Builder clearServiceAccount()
       Output only. Email address of the user-managed IAM service account that
       performs the operations against Cloud Deploy resources.
       
      string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public AutomationRun.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       Output only. Email address of the user-managed IAM service account that
       performs the operations against Cloud Deploy resources.
       
      string service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • hasAutomationSnapshot

      public boolean hasAutomationSnapshot()
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAutomationSnapshot in interface AutomationRunOrBuilder
      Returns:
      Whether the automationSnapshot field is set.
    • getAutomationSnapshot

      public Automation getAutomationSnapshot()
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomationSnapshot in interface AutomationRunOrBuilder
      Returns:
      The automationSnapshot.
    • setAutomationSnapshot

      public AutomationRun.Builder setAutomationSnapshot(Automation value)
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAutomationSnapshot

      public AutomationRun.Builder setAutomationSnapshot(Automation.Builder builderForValue)
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAutomationSnapshot

      public AutomationRun.Builder mergeAutomationSnapshot(Automation value)
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAutomationSnapshot

      public AutomationRun.Builder clearAutomationSnapshot()
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAutomationSnapshotBuilder

      public Automation.Builder getAutomationSnapshotBuilder()
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAutomationSnapshotOrBuilder

      public AutomationOrBuilder getAutomationSnapshotOrBuilder()
       Output only. Snapshot of the Automation taken at AutomationRun creation
       time.
       
      .google.cloud.deploy.v1.Automation automation_snapshot = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomationSnapshotOrBuilder in interface AutomationRunOrBuilder
    • getTargetId

      public String getTargetId()
       Output only. The ID of the source target that initiates the
       `AutomationRun`. The value of this field is the last segment of a target
       name.
       
      string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetId in interface AutomationRunOrBuilder
      Returns:
      The targetId.
    • getTargetIdBytes

      public com.google.protobuf.ByteString getTargetIdBytes()
       Output only. The ID of the source target that initiates the
       `AutomationRun`. The value of this field is the last segment of a target
       name.
       
      string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetIdBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for targetId.
    • setTargetId

      public AutomationRun.Builder setTargetId(String value)
       Output only. The ID of the source target that initiates the
       `AutomationRun`. The value of this field is the last segment of a target
       name.
       
      string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The targetId to set.
      Returns:
      This builder for chaining.
    • clearTargetId

      public AutomationRun.Builder clearTargetId()
       Output only. The ID of the source target that initiates the
       `AutomationRun`. The value of this field is the last segment of a target
       name.
       
      string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTargetIdBytes

      public AutomationRun.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the source target that initiates the
       `AutomationRun`. The value of this field is the last segment of a target
       name.
       
      string target_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for targetId to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. Current state of the `AutomationRun`.
       
      .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface AutomationRunOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public AutomationRun.Builder setStateValue(int value)
       Output only. Current state of the `AutomationRun`.
       
      .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.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 AutomationRun.State getState()
       Output only. Current state of the `AutomationRun`.
       
      .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface AutomationRunOrBuilder
      Returns:
      The state.
    • setState

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

      public AutomationRun.Builder clearState()
       Output only. Current state of the `AutomationRun`.
       
      .google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStateDescription

      public String getStateDescription()
       Output only. Explains the current state of the `AutomationRun`. Present
       only when an explanation is needed.
       
      string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateDescription in interface AutomationRunOrBuilder
      Returns:
      The stateDescription.
    • getStateDescriptionBytes

      public com.google.protobuf.ByteString getStateDescriptionBytes()
       Output only. Explains the current state of the `AutomationRun`. Present
       only when an explanation is needed.
       
      string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateDescriptionBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for stateDescription.
    • setStateDescription

      public AutomationRun.Builder setStateDescription(String value)
       Output only. Explains the current state of the `AutomationRun`. Present
       only when an explanation is needed.
       
      string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The stateDescription to set.
      Returns:
      This builder for chaining.
    • clearStateDescription

      public AutomationRun.Builder clearStateDescription()
       Output only. Explains the current state of the `AutomationRun`. Present
       only when an explanation is needed.
       
      string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setStateDescriptionBytes

      public AutomationRun.Builder setStateDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Explains the current state of the `AutomationRun`. Present
       only when an explanation is needed.
       
      string state_description = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for stateDescription to set.
      Returns:
      This builder for chaining.
    • hasPolicyViolation

      public boolean hasPolicyViolation()
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPolicyViolation in interface AutomationRunOrBuilder
      Returns:
      Whether the policyViolation field is set.
    • getPolicyViolation

      public PolicyViolation getPolicyViolation()
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyViolation in interface AutomationRunOrBuilder
      Returns:
      The policyViolation.
    • setPolicyViolation

      public AutomationRun.Builder setPolicyViolation(PolicyViolation value)
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPolicyViolation

      public AutomationRun.Builder setPolicyViolation(PolicyViolation.Builder builderForValue)
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePolicyViolation

      public AutomationRun.Builder mergePolicyViolation(PolicyViolation value)
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPolicyViolation

      public AutomationRun.Builder clearPolicyViolation()
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPolicyViolationBuilder

      public PolicyViolation.Builder getPolicyViolationBuilder()
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPolicyViolationOrBuilder

      public PolicyViolationOrBuilder getPolicyViolationOrBuilder()
       Output only. Contains information about what policies prevented the
       `AutomationRun` from proceeding.
       
      .google.cloud.deploy.v1.PolicyViolation policy_violation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyViolationOrBuilder in interface AutomationRunOrBuilder
    • hasExpireTime

      public boolean hasExpireTime()
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasExpireTime in interface AutomationRunOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTime in interface AutomationRunOrBuilder
      Returns:
      The expireTime.
    • setExpireTime

      public AutomationRun.Builder setExpireTime(com.google.protobuf.Timestamp value)
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setExpireTime

      public AutomationRun.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeExpireTime

      public AutomationRun.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearExpireTime

      public AutomationRun.Builder clearExpireTime()
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpireTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
       after 14 days from its creation date.
       
      .google.protobuf.Timestamp expire_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExpireTimeOrBuilder in interface AutomationRunOrBuilder
    • getRuleId

      public String getRuleId()
       Output only. The ID of the automation rule that initiated the operation.
       
      string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuleId in interface AutomationRunOrBuilder
      Returns:
      The ruleId.
    • getRuleIdBytes

      public com.google.protobuf.ByteString getRuleIdBytes()
       Output only. The ID of the automation rule that initiated the operation.
       
      string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuleIdBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for ruleId.
    • setRuleId

      public AutomationRun.Builder setRuleId(String value)
       Output only. The ID of the automation rule that initiated the operation.
       
      string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ruleId to set.
      Returns:
      This builder for chaining.
    • clearRuleId

      public AutomationRun.Builder clearRuleId()
       Output only. The ID of the automation rule that initiated the operation.
       
      string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRuleIdBytes

      public AutomationRun.Builder setRuleIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the automation rule that initiated the operation.
       
      string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for ruleId to set.
      Returns:
      This builder for chaining.
    • getAutomationId

      public String getAutomationId()
       Output only. The ID of the automation that initiated the operation.
       
      string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomationId in interface AutomationRunOrBuilder
      Returns:
      The automationId.
    • getAutomationIdBytes

      public com.google.protobuf.ByteString getAutomationIdBytes()
       Output only. The ID of the automation that initiated the operation.
       
      string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutomationIdBytes in interface AutomationRunOrBuilder
      Returns:
      The bytes for automationId.
    • setAutomationId

      public AutomationRun.Builder setAutomationId(String value)
       Output only. The ID of the automation that initiated the operation.
       
      string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The automationId to set.
      Returns:
      This builder for chaining.
    • clearAutomationId

      public AutomationRun.Builder clearAutomationId()
       Output only. The ID of the automation that initiated the operation.
       
      string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAutomationIdBytes

      public AutomationRun.Builder setAutomationIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the automation that initiated the operation.
       
      string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for automationId to set.
      Returns:
      This builder for chaining.
    • hasPromoteReleaseOperation

      public boolean hasPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPromoteReleaseOperation in interface AutomationRunOrBuilder
      Returns:
      Whether the promoteReleaseOperation field is set.
    • getPromoteReleaseOperation

      public PromoteReleaseOperation getPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPromoteReleaseOperation in interface AutomationRunOrBuilder
      Returns:
      The promoteReleaseOperation.
    • setPromoteReleaseOperation

      public AutomationRun.Builder setPromoteReleaseOperation(PromoteReleaseOperation value)
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPromoteReleaseOperation

      public AutomationRun.Builder setPromoteReleaseOperation(PromoteReleaseOperation.Builder builderForValue)
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePromoteReleaseOperation

      public AutomationRun.Builder mergePromoteReleaseOperation(PromoteReleaseOperation value)
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPromoteReleaseOperation

      public AutomationRun.Builder clearPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPromoteReleaseOperationBuilder

      public PromoteReleaseOperation.Builder getPromoteReleaseOperationBuilder()
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPromoteReleaseOperationOrBuilder

      public PromoteReleaseOperationOrBuilder getPromoteReleaseOperationOrBuilder()
       Output only. Promotes a release to a specified 'Target'.
       
      .google.cloud.deploy.v1.PromoteReleaseOperation promote_release_operation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPromoteReleaseOperationOrBuilder in interface AutomationRunOrBuilder
    • hasAdvanceRolloutOperation

      public boolean hasAdvanceRolloutOperation()
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAdvanceRolloutOperation in interface AutomationRunOrBuilder
      Returns:
      Whether the advanceRolloutOperation field is set.
    • getAdvanceRolloutOperation

      public AdvanceRolloutOperation getAdvanceRolloutOperation()
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceRolloutOperation in interface AutomationRunOrBuilder
      Returns:
      The advanceRolloutOperation.
    • setAdvanceRolloutOperation

      public AutomationRun.Builder setAdvanceRolloutOperation(AdvanceRolloutOperation value)
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAdvanceRolloutOperation

      public AutomationRun.Builder setAdvanceRolloutOperation(AdvanceRolloutOperation.Builder builderForValue)
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAdvanceRolloutOperation

      public AutomationRun.Builder mergeAdvanceRolloutOperation(AdvanceRolloutOperation value)
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAdvanceRolloutOperation

      public AutomationRun.Builder clearAdvanceRolloutOperation()
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAdvanceRolloutOperationBuilder

      public AdvanceRolloutOperation.Builder getAdvanceRolloutOperationBuilder()
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAdvanceRolloutOperationOrBuilder

      public AdvanceRolloutOperationOrBuilder getAdvanceRolloutOperationOrBuilder()
       Output only. Advances a rollout to the next phase.
       
      .google.cloud.deploy.v1.AdvanceRolloutOperation advance_rollout_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceRolloutOperationOrBuilder in interface AutomationRunOrBuilder
    • hasRepairRolloutOperation

      public boolean hasRepairRolloutOperation()
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRepairRolloutOperation in interface AutomationRunOrBuilder
      Returns:
      Whether the repairRolloutOperation field is set.
    • getRepairRolloutOperation

      public RepairRolloutOperation getRepairRolloutOperation()
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairRolloutOperation in interface AutomationRunOrBuilder
      Returns:
      The repairRolloutOperation.
    • setRepairRolloutOperation

      public AutomationRun.Builder setRepairRolloutOperation(RepairRolloutOperation value)
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRepairRolloutOperation

      public AutomationRun.Builder setRepairRolloutOperation(RepairRolloutOperation.Builder builderForValue)
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRepairRolloutOperation

      public AutomationRun.Builder mergeRepairRolloutOperation(RepairRolloutOperation value)
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRepairRolloutOperation

      public AutomationRun.Builder clearRepairRolloutOperation()
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRepairRolloutOperationBuilder

      public RepairRolloutOperation.Builder getRepairRolloutOperationBuilder()
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRepairRolloutOperationOrBuilder

      public RepairRolloutOperationOrBuilder getRepairRolloutOperationOrBuilder()
       Output only. Repairs a failed 'Rollout'.
       
      .google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairRolloutOperationOrBuilder in interface AutomationRunOrBuilder
    • hasTimedPromoteReleaseOperation

      public boolean hasTimedPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTimedPromoteReleaseOperation in interface AutomationRunOrBuilder
      Returns:
      Whether the timedPromoteReleaseOperation field is set.
    • getTimedPromoteReleaseOperation

      public TimedPromoteReleaseOperation getTimedPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTimedPromoteReleaseOperation in interface AutomationRunOrBuilder
      Returns:
      The timedPromoteReleaseOperation.
    • setTimedPromoteReleaseOperation

      public AutomationRun.Builder setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation value)
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTimedPromoteReleaseOperation

      public AutomationRun.Builder setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation.Builder builderForValue)
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTimedPromoteReleaseOperation

      public AutomationRun.Builder mergeTimedPromoteReleaseOperation(TimedPromoteReleaseOperation value)
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTimedPromoteReleaseOperation

      public AutomationRun.Builder clearTimedPromoteReleaseOperation()
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTimedPromoteReleaseOperationBuilder

      public TimedPromoteReleaseOperation.Builder getTimedPromoteReleaseOperationBuilder()
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTimedPromoteReleaseOperationOrBuilder

      public TimedPromoteReleaseOperationOrBuilder getTimedPromoteReleaseOperationOrBuilder()
       Output only. Promotes a release to a specified 'Target' as defined in a
       Timed Promote Release rule.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseOperation timed_promote_release_operation = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTimedPromoteReleaseOperationOrBuilder in interface AutomationRunOrBuilder
    • hasWaitUntilTime

      public boolean hasWaitUntilTime()
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasWaitUntilTime in interface AutomationRunOrBuilder
      Returns:
      Whether the waitUntilTime field is set.
    • getWaitUntilTime

      public com.google.protobuf.Timestamp getWaitUntilTime()
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWaitUntilTime in interface AutomationRunOrBuilder
      Returns:
      The waitUntilTime.
    • setWaitUntilTime

      public AutomationRun.Builder setWaitUntilTime(com.google.protobuf.Timestamp value)
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setWaitUntilTime

      public AutomationRun.Builder setWaitUntilTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeWaitUntilTime

      public AutomationRun.Builder mergeWaitUntilTime(com.google.protobuf.Timestamp value)
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearWaitUntilTime

      public AutomationRun.Builder clearWaitUntilTime()
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWaitUntilTimeBuilder

      public com.google.protobuf.Timestamp.Builder getWaitUntilTimeBuilder()
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWaitUntilTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getWaitUntilTimeOrBuilder()
       Output only. Earliest time the `AutomationRun` will attempt to resume.
       Wait-time is configured by `wait` in automation rule.
       
      .google.protobuf.Timestamp wait_until_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWaitUntilTimeOrBuilder in interface AutomationRunOrBuilder