public static final class PromoteReleaseRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder> implements PromoteReleaseRuleOrBuilder
`PromoteRelease` rule will automatically promote a release from the current target to a specified target.Protobuf type
google.cloud.deploy.v1.PromoteReleaseRulegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PromoteReleaseRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PromoteReleaseRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PromoteReleaseRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder mergeFrom(PromoteReleaseRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public PromoteReleaseRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PromoteReleaseRule.Builder>IOExceptionpublic String getId()
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getId in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getIdBytes in interface PromoteReleaseRuleOrBuilderpublic PromoteReleaseRule.Builder setId(String value)
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];value - The id to set.public PromoteReleaseRule.Builder clearId()
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];public PromoteReleaseRule.Builder setIdBytes(com.google.protobuf.ByteString value)
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for id to set.public boolean hasWait()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];hasWait in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.Duration getWait()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];getWait in interface PromoteReleaseRuleOrBuilderpublic PromoteReleaseRule.Builder setWait(com.google.protobuf.Duration value)
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];public PromoteReleaseRule.Builder setWait(com.google.protobuf.Duration.Builder builderForValue)
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];public PromoteReleaseRule.Builder mergeWait(com.google.protobuf.Duration value)
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];public PromoteReleaseRule.Builder clearWait()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.Duration.Builder getWaitBuilder()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];getWaitOrBuilder in interface PromoteReleaseRuleOrBuilderpublic String getDestinationTargetId()
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];getDestinationTargetId in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.ByteString getDestinationTargetIdBytes()
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];getDestinationTargetIdBytes in interface PromoteReleaseRuleOrBuilderpublic PromoteReleaseRule.Builder setDestinationTargetId(String value)
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];value - The destinationTargetId to set.public PromoteReleaseRule.Builder clearDestinationTargetId()
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];public PromoteReleaseRule.Builder setDestinationTargetIdBytes(com.google.protobuf.ByteString value)
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for destinationTargetId to set.public boolean hasCondition()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCondition in interface PromoteReleaseRuleOrBuilderpublic AutomationRuleCondition getCondition()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCondition in interface PromoteReleaseRuleOrBuilderpublic PromoteReleaseRule.Builder setCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PromoteReleaseRule.Builder setCondition(AutomationRuleCondition.Builder builderForValue)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PromoteReleaseRule.Builder mergeCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PromoteReleaseRule.Builder clearCondition()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AutomationRuleCondition.Builder getConditionBuilder()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AutomationRuleConditionOrBuilder getConditionOrBuilder()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionOrBuilder in interface PromoteReleaseRuleOrBuilderpublic String getDestinationPhase()
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];getDestinationPhase in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.ByteString getDestinationPhaseBytes()
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];getDestinationPhaseBytes in interface PromoteReleaseRuleOrBuilderpublic PromoteReleaseRule.Builder setDestinationPhase(String value)
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];value - The destinationPhase to set.public PromoteReleaseRule.Builder clearDestinationPhase()
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];public PromoteReleaseRule.Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value)
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for destinationPhase to set.public final PromoteReleaseRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>public final PromoteReleaseRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseRule.Builder>Copyright © 2024 Google LLC. All rights reserved.