Package com.google.cloud.deploy.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEtag()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.Output only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeExpireTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(AutomationRun other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.mergeWaitUntilTime(com.google.protobuf.Timestamp value) Output only.Output only.setAdvanceRolloutOperation(AdvanceRolloutOperation.Builder builderForValue) Output only.setAutomationId(String value) Output only.setAutomationIdBytes(com.google.protobuf.ByteString value) Output only.setAutomationSnapshot(Automation value) Output only.setAutomationSnapshot(Automation.Builder builderForValue) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setEtagBytes(com.google.protobuf.ByteString value) Output only.setExpireTime(com.google.protobuf.Timestamp value) Output only.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setPolicyViolation(PolicyViolation.Builder builderForValue) Output only.Output only.setPromoteReleaseOperation(PromoteReleaseOperation.Builder builderForValue) Output only.Output only.setRepairRolloutOperation(RepairRolloutOperation.Builder builderForValue) Output only.Output only.setRuleIdBytes(com.google.protobuf.ByteString value) Output only.setServiceAccount(String value) Output only.setServiceAccountBytes(com.google.protobuf.ByteString value) Output only.setState(AutomationRun.State value) Output only.setStateDescription(String value) Output only.setStateDescriptionBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.setTargetId(String value) Output only.setTargetIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setWaitUntilTime(com.google.protobuf.Timestamp value) Output only.setWaitUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutomationRun.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutomationRun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutomationRun.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationRun.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationRun.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceAutomationRunOrBuilder
-
clearOperation
-
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:
getNamein interfaceAutomationRunOrBuilder- 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:
getNameBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasCreateTimein interfaceAutomationRunOrBuilder- 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:
getCreateTimein interfaceAutomationRunOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time at which the `AutomationRun` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Time at which the `AutomationRun` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time at which the `AutomationRun` was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasUpdateTimein interfaceAutomationRunOrBuilder- 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:
getUpdateTimein interfaceAutomationRunOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time at which the automationRun was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Time at which the automationRun was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time at which the automationRun was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceAutomationRunOrBuilder
-
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:
getEtagin interfaceAutomationRunOrBuilder- 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:
getEtagBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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
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
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
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:
getServiceAccountin interfaceAutomationRunOrBuilder- 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:
getServiceAccountBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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
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
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:
hasAutomationSnapshotin interfaceAutomationRunOrBuilder- Returns:
- Whether the automationSnapshot field is set.
-
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:
getAutomationSnapshotin interfaceAutomationRunOrBuilder- Returns:
- The automationSnapshot.
-
setAutomationSnapshot
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
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
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
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
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
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:
getAutomationSnapshotOrBuilderin interfaceAutomationRunOrBuilder
-
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:
getTargetIdin interfaceAutomationRunOrBuilder- 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:
getTargetIdBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for targetId.
-
setTargetId
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
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
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:
getStateValuein interfaceAutomationRunOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
Output only. Current state of the `AutomationRun`.
.google.cloud.deploy.v1.AutomationRun.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceAutomationRunOrBuilder- Returns:
- The state.
-
setState
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
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
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:
getStateDescriptionin interfaceAutomationRunOrBuilder- 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:
getStateDescriptionBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for stateDescription.
-
setStateDescription
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
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
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:
hasPolicyViolationin interfaceAutomationRunOrBuilder- Returns:
- Whether the policyViolation field is set.
-
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:
getPolicyViolationin interfaceAutomationRunOrBuilder- Returns:
- The policyViolation.
-
setPolicyViolation
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
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
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
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
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
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:
getPolicyViolationOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasExpireTimein interfaceAutomationRunOrBuilder- 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:
getExpireTimein interfaceAutomationRunOrBuilder- Returns:
- The expireTime.
-
setExpireTime
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
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
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
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:
getExpireTimeOrBuilderin interfaceAutomationRunOrBuilder
-
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:
getRuleIdin interfaceAutomationRunOrBuilder- 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:
getRuleIdBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for ruleId.
-
setRuleId
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
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
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
Output only. The ID of the automation that initiated the operation.
string automation_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAutomationIdin interfaceAutomationRunOrBuilder- 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:
getAutomationIdBytesin interfaceAutomationRunOrBuilder- Returns:
- The bytes for automationId.
-
setAutomationId
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
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
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:
hasPromoteReleaseOperationin interfaceAutomationRunOrBuilder- Returns:
- Whether the promoteReleaseOperation field is set.
-
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:
getPromoteReleaseOperationin interfaceAutomationRunOrBuilder- Returns:
- The promoteReleaseOperation.
-
setPromoteReleaseOperation
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
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
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
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
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:
getPromoteReleaseOperationOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasAdvanceRolloutOperationin interfaceAutomationRunOrBuilder- Returns:
- Whether the advanceRolloutOperation field is set.
-
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:
getAdvanceRolloutOperationin interfaceAutomationRunOrBuilder- Returns:
- The advanceRolloutOperation.
-
setAdvanceRolloutOperation
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
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
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
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
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:
getAdvanceRolloutOperationOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasRepairRolloutOperationin interfaceAutomationRunOrBuilder- Returns:
- Whether the repairRolloutOperation field is set.
-
getRepairRolloutOperation
Output only. Repairs a failed 'Rollout'.
.google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRepairRolloutOperationin interfaceAutomationRunOrBuilder- Returns:
- The repairRolloutOperation.
-
setRepairRolloutOperation
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
Output only. Repairs a failed 'Rollout'.
.google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRepairRolloutOperation
Output only. Repairs a failed 'Rollout'.
.google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRepairRolloutOperationBuilder
Output only. Repairs a failed 'Rollout'.
.google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRepairRolloutOperationOrBuilder
Output only. Repairs a failed 'Rollout'.
.google.cloud.deploy.v1.RepairRolloutOperation repair_rollout_operation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRepairRolloutOperationOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasTimedPromoteReleaseOperationin interfaceAutomationRunOrBuilder- Returns:
- Whether the timedPromoteReleaseOperation field is set.
-
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:
getTimedPromoteReleaseOperationin interfaceAutomationRunOrBuilder- Returns:
- The timedPromoteReleaseOperation.
-
setTimedPromoteReleaseOperation
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
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
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
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
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:
getTimedPromoteReleaseOperationOrBuilderin interfaceAutomationRunOrBuilder
-
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:
hasWaitUntilTimein interfaceAutomationRunOrBuilder- 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:
getWaitUntilTimein interfaceAutomationRunOrBuilder- Returns:
- The waitUntilTime.
-
setWaitUntilTime
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
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
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:
getWaitUntilTimeOrBuilderin interfaceAutomationRunOrBuilder
-