Class AutomationRun.Builder (1.43.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRun.Builder
Overrides

build()

public AutomationRun build()
Returns
Type Description
AutomationRun

buildPartial()

public AutomationRun buildPartial()
Returns
Type Description
AutomationRun

clear()

public AutomationRun.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
AutomationRun.Builder

clearField(Descriptors.FieldDescriptor field)

public AutomationRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
AutomationRun.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomationRun.Builder
Overrides

clearOperation()

public AutomationRun.Builder clearOperation()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
AutomationRun.Builder

clone()

public AutomationRun.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AutomationRun getDefaultInstanceForType()
Returns
Type Description
AutomationRun

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getOperationCase()

public AutomationRun.OperationCase getOperationCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the waitUntilTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value AdvanceRolloutOperation
Returns
Type Description
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
Name Description
value Automation
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
AutomationRun.Builder

mergeFrom(AutomationRun other)

public AutomationRun.Builder mergeFrom(AutomationRun other)
Parameter
Name Description
other AutomationRun
Returns
Type Description
AutomationRun.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomationRun.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomationRun.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value PromoteReleaseOperation
Returns
Type Description
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
Name Description
value RepairRolloutOperation
Returns
Type Description
AutomationRun.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value AdvanceRolloutOperation
Returns
Type Description
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
Name Description
builderForValue AdvanceRolloutOperation.Builder
Returns
Type Description
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
Name Description
value String

The automationId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for automationId to set.

Returns
Type Description
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
Name Description
value Automation
Returns
Type Description
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
Name Description
builderForValue Automation.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The etag to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
AutomationRun.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value PromoteReleaseOperation
Returns
Type Description
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
Name Description
builderForValue PromoteReleaseOperation.Builder
Returns
Type Description
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
Name Description
value RepairRolloutOperation
Returns
Type Description
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
Name Description
builderForValue RepairRolloutOperation.Builder
Returns
Type Description
AutomationRun.Builder

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

public AutomationRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The ruleId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for ruleId to set.

Returns
Type Description
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
Name Description
value String

The serviceAccount to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
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
Name Description
value AutomationRun.State

The state to set.

Returns
Type Description
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
Name Description
value String

The stateDescription to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for stateDescription to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The targetId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for targetId to set.

Returns
Type Description
AutomationRun.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
AutomationRun.Builder