Class AutomationRun.Builder (1.39.0)

public static final class AutomationRun.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRun.Builder
Overrides

build()

public AutomationRun build()
Returns
TypeDescription
AutomationRun

buildPartial()

public AutomationRun buildPartial()
Returns
TypeDescription
AutomationRun

clear()

public AutomationRun.Builder clear()
Returns
TypeDescription
AutomationRun.Builder
Overrides

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];

Returns
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

This builder for chaining.

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];

Returns
TypeDescription
AutomationRun.Builder

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];

Returns
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

This builder for chaining.

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];

Returns
TypeDescription
AutomationRun.Builder

clearField(Descriptors.FieldDescriptor field)

public AutomationRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutomationRun.Builder
Overrides

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
TypeDescription
AutomationRun.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutomationRun.Builder
Overrides

clearOperation()

public AutomationRun.Builder clearOperation()
Returns
TypeDescription
AutomationRun.Builder

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];

Returns
TypeDescription
AutomationRun.Builder

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];

Returns
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

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
TypeDescription
AutomationRun.Builder

This builder for chaining.

clearTargetId()

public AutomationRun.Builder clearTargetId()

Output only. The ID of the target that represents the promotion stage 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
TypeDescription
AutomationRun.Builder

This builder for chaining.

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];

Returns
TypeDescription
AutomationRun.Builder

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];

Returns
TypeDescription
AutomationRun.Builder

clone()

public AutomationRun.Builder clone()
Returns
TypeDescription
AutomationRun.Builder
Overrides

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];

Returns
TypeDescription
AdvanceRolloutOperation

The advanceRolloutOperation.

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];

Returns
TypeDescription
AdvanceRolloutOperation.Builder

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];

Returns
TypeDescription
AdvanceRolloutOperationOrBuilder

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];

Returns
TypeDescription
String

The automationId.

getAutomationIdBytes()

public ByteString getAutomationIdBytes()

Output only. The ID of the automation that initiated the operation.

string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for automationId.

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];

Returns
TypeDescription
Automation

The automationSnapshot.

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];

Returns
TypeDescription
Automation.Builder

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];

Returns
TypeDescription
AutomationOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public AutomationRun getDefaultInstanceForType()
Returns
TypeDescription
AutomationRun

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for etag.

getExpireTime()

public 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];

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getExpireTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
String

The name.

getNameBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for name.

getOperationCase()

public AutomationRun.OperationCase getOperationCase()
Returns
TypeDescription
AutomationRun.OperationCase

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];

Returns
TypeDescription
PromoteReleaseOperation

The promoteReleaseOperation.

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];

Returns
TypeDescription
PromoteReleaseOperation.Builder

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];

Returns
TypeDescription
PromoteReleaseOperationOrBuilder

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];

Returns
TypeDescription
RepairRolloutOperation

The repairRolloutOperation.

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];

Returns
TypeDescription
RepairRolloutOperation.Builder

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];

Returns
TypeDescription
RepairRolloutOperationOrBuilder

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];

Returns
TypeDescription
String

The ruleId.

getRuleIdBytes()

public ByteString getRuleIdBytes()

Output only. The ID of the automation rule that initiated the operation.

string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for ruleId.

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];

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

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];

Returns
TypeDescription
AutomationRun.State

The state.

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];

Returns
TypeDescription
String

The stateDescription.

getStateDescriptionBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for stateDescription.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetId()

public String getTargetId()

Output only. The ID of the target that represents the promotion stage 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
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

Output only. The ID of the target that represents the promotion stage 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
TypeDescription
ByteString

The bytes for targetId.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getWaitUntilTime()

public 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];

Returns
TypeDescription
Timestamp

The waitUntilTime.

getWaitUntilTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getWaitUntilTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
boolean

Whether the advanceRolloutOperation field is set.

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];

Returns
TypeDescription
boolean

Whether the automationSnapshot field is set.

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the expireTime field is set.

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];

Returns
TypeDescription
boolean

Whether the promoteReleaseOperation field is set.

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];

Returns
TypeDescription
boolean

Whether the repairRolloutOperation field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

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];

Returns
TypeDescription
boolean

Whether the waitUntilTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAdvanceRolloutOperation(AdvanceRolloutOperation value)

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];

Parameter
NameDescription
valueAdvanceRolloutOperation
Returns
TypeDescription
AutomationRun.Builder

mergeAutomationSnapshot(Automation value)

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];

Parameter
NameDescription
valueAutomation
Returns
TypeDescription
AutomationRun.Builder

mergeCreateTime(Timestamp value)

public AutomationRun.Builder mergeCreateTime(Timestamp value)

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

mergeExpireTime(Timestamp value)

public AutomationRun.Builder mergeExpireTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

mergeFrom(AutomationRun other)

public AutomationRun.Builder mergeFrom(AutomationRun other)
Parameter
NameDescription
otherAutomationRun
Returns
TypeDescription
AutomationRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRun.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutomationRun.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutomationRun.Builder
Overrides

mergePromoteReleaseOperation(PromoteReleaseOperation value)

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];

Parameter
NameDescription
valuePromoteReleaseOperation
Returns
TypeDescription
AutomationRun.Builder

mergeRepairRolloutOperation(RepairRolloutOperation value)

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];

Parameter
NameDescription
valueRepairRolloutOperation
Returns
TypeDescription
AutomationRun.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRun.Builder
Overrides

mergeUpdateTime(Timestamp value)

public AutomationRun.Builder mergeUpdateTime(Timestamp value)

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

mergeWaitUntilTime(Timestamp value)

public AutomationRun.Builder mergeWaitUntilTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

setAdvanceRolloutOperation(AdvanceRolloutOperation value)

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];

Parameter
NameDescription
valueAdvanceRolloutOperation
Returns
TypeDescription
AutomationRun.Builder

setAdvanceRolloutOperation(AdvanceRolloutOperation.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAdvanceRolloutOperation.Builder
Returns
TypeDescription
AutomationRun.Builder

setAutomationId(String value)

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];

Parameter
NameDescription
valueString

The automationId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setAutomationIdBytes(ByteString value)

public AutomationRun.Builder setAutomationIdBytes(ByteString value)

Output only. The ID of the automation that initiated the operation.

string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for automationId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setAutomationSnapshot(Automation value)

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];

Parameter
NameDescription
valueAutomation
Returns
TypeDescription
AutomationRun.Builder

setAutomationSnapshot(Automation.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAutomation.Builder
Returns
TypeDescription
AutomationRun.Builder

setCreateTime(Timestamp value)

public AutomationRun.Builder setCreateTime(Timestamp value)

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AutomationRun.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time at which the AutomationRun was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AutomationRun.Builder

setEtag(String value)

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];

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public AutomationRun.Builder setEtagBytes(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];

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public AutomationRun.Builder setExpireTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

setExpireTime(Timestamp.Builder builderForValue)

public AutomationRun.Builder setExpireTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AutomationRun.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRun.Builder
Overrides

setName(String value)

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];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AutomationRun.Builder setNameBytes(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];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setPromoteReleaseOperation(PromoteReleaseOperation value)

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];

Parameter
NameDescription
valuePromoteReleaseOperation
Returns
TypeDescription
AutomationRun.Builder

setPromoteReleaseOperation(PromoteReleaseOperation.Builder builderForValue)

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];

Parameter
NameDescription
builderForValuePromoteReleaseOperation.Builder
Returns
TypeDescription
AutomationRun.Builder

setRepairRolloutOperation(RepairRolloutOperation value)

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];

Parameter
NameDescription
valueRepairRolloutOperation
Returns
TypeDescription
AutomationRun.Builder

setRepairRolloutOperation(RepairRolloutOperation.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueRepairRolloutOperation.Builder
Returns
TypeDescription
AutomationRun.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomationRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutomationRun.Builder
Overrides

setRuleId(String value)

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];

Parameter
NameDescription
valueString

The ruleId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setRuleIdBytes(ByteString value)

public AutomationRun.Builder setRuleIdBytes(ByteString value)

Output only. The ID of the automation rule that initiated the operation.

string rule_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for ruleId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setServiceAccount(String value)

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];

Parameter
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public AutomationRun.Builder setServiceAccountBytes(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];

Parameter
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setState(AutomationRun.State value)

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];

Parameter
NameDescription
valueAutomationRun.State

The state to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setStateDescription(String value)

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];

Parameter
NameDescription
valueString

The stateDescription to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setStateDescriptionBytes(ByteString value)

public AutomationRun.Builder setStateDescriptionBytes(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];

Parameter
NameDescription
valueByteString

The bytes for stateDescription to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setTargetId(String value)

public AutomationRun.Builder setTargetId(String value)

Output only. The ID of the target that represents the promotion stage 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];

Parameter
NameDescription
valueString

The targetId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setTargetIdBytes(ByteString value)

public AutomationRun.Builder setTargetIdBytes(ByteString value)

Output only. The ID of the target that represents the promotion stage 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];

Parameter
NameDescription
valueByteString

The bytes for targetId to set.

Returns
TypeDescription
AutomationRun.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRun.Builder
Overrides

setUpdateTime(Timestamp value)

public AutomationRun.Builder setUpdateTime(Timestamp value)

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AutomationRun.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time at which the automationRun was updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AutomationRun.Builder

setWaitUntilTime(Timestamp value)

public AutomationRun.Builder setWaitUntilTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AutomationRun.Builder

setWaitUntilTime(Timestamp.Builder builderForValue)

public AutomationRun.Builder setWaitUntilTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AutomationRun.Builder