public static final class AdvanceRolloutRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder> implements AdvanceRolloutRuleOrBuilder
The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.Protobuf type
google.cloud.deploy.v1.AdvanceRolloutRule| Modifier and Type | Method and Description |
|---|---|
AdvanceRolloutRule.Builder |
addAllSourcePhases(Iterable<String> values)
Optional.
|
AdvanceRolloutRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdvanceRolloutRule.Builder |
addSourcePhases(String value)
Optional.
|
AdvanceRolloutRule.Builder |
addSourcePhasesBytes(com.google.protobuf.ByteString value)
Optional.
|
AdvanceRolloutRule |
build() |
AdvanceRolloutRule |
buildPartial() |
AdvanceRolloutRule.Builder |
clear() |
AdvanceRolloutRule.Builder |
clearCondition()
Output only.
|
AdvanceRolloutRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AdvanceRolloutRule.Builder |
clearId()
Required.
|
AdvanceRolloutRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AdvanceRolloutRule.Builder |
clearSourcePhases()
Optional.
|
AdvanceRolloutRule.Builder |
clearWait()
Optional.
|
AdvanceRolloutRule.Builder |
clone() |
AutomationRuleCondition |
getCondition()
Output only.
|
AutomationRuleCondition.Builder |
getConditionBuilder()
Output only.
|
AutomationRuleConditionOrBuilder |
getConditionOrBuilder()
Output only.
|
AdvanceRolloutRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
Required.
|
com.google.protobuf.ByteString |
getIdBytes()
Required.
|
String |
getSourcePhases(int index)
Optional.
|
com.google.protobuf.ByteString |
getSourcePhasesBytes(int index)
Optional.
|
int |
getSourcePhasesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getSourcePhasesList()
Optional.
|
com.google.protobuf.Duration |
getWait()
Optional.
|
com.google.protobuf.Duration.Builder |
getWaitBuilder()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getWaitOrBuilder()
Optional.
|
boolean |
hasCondition()
Output only.
|
boolean |
hasWait()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AdvanceRolloutRule.Builder |
mergeCondition(AutomationRuleCondition value)
Output only.
|
AdvanceRolloutRule.Builder |
mergeFrom(AdvanceRolloutRule other) |
AdvanceRolloutRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdvanceRolloutRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdvanceRolloutRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AdvanceRolloutRule.Builder |
mergeWait(com.google.protobuf.Duration value)
Optional.
|
AdvanceRolloutRule.Builder |
setCondition(AutomationRuleCondition.Builder builderForValue)
Output only.
|
AdvanceRolloutRule.Builder |
setCondition(AutomationRuleCondition value)
Output only.
|
AdvanceRolloutRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdvanceRolloutRule.Builder |
setId(String value)
Required.
|
AdvanceRolloutRule.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Required.
|
AdvanceRolloutRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AdvanceRolloutRule.Builder |
setSourcePhases(int index,
String value)
Optional.
|
AdvanceRolloutRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AdvanceRolloutRule.Builder |
setWait(com.google.protobuf.Duration.Builder builderForValue)
Optional.
|
AdvanceRolloutRule.Builder |
setWait(com.google.protobuf.Duration value)
Optional.
|
getAllFields, 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<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.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<AdvanceRolloutRule.Builder>public AdvanceRolloutRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AdvanceRolloutRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AdvanceRolloutRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AdvanceRolloutRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.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<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.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<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.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<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.Builder mergeFrom(AdvanceRolloutRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>public AdvanceRolloutRule.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<AdvanceRolloutRule.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 AdvanceRolloutRuleOrBuilderpublic 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 AdvanceRolloutRuleOrBuilderpublic AdvanceRolloutRule.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 AdvanceRolloutRule.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 AdvanceRolloutRule.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 com.google.protobuf.ProtocolStringList getSourcePhasesList()
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesList in interface AdvanceRolloutRuleOrBuilderpublic int getSourcePhasesCount()
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesCount in interface AdvanceRolloutRuleOrBuilderpublic String getSourcePhases(int index)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];getSourcePhases in interface AdvanceRolloutRuleOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSourcePhasesBytes(int index)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesBytes in interface AdvanceRolloutRuleOrBuilderindex - The index of the value to return.public AdvanceRolloutRule.Builder setSourcePhases(int index, String value)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The sourcePhases to set.public AdvanceRolloutRule.Builder addSourcePhases(String value)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];value - The sourcePhases to add.public AdvanceRolloutRule.Builder addAllSourcePhases(Iterable<String> values)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];values - The sourcePhases to add.public AdvanceRolloutRule.Builder clearSourcePhases()
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];public AdvanceRolloutRule.Builder addSourcePhasesBytes(com.google.protobuf.ByteString value)
Optional. Proceeds only after phase name matched any one in the list.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the sourcePhases to add.public boolean hasWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];hasWait in interface AdvanceRolloutRuleOrBuilderpublic com.google.protobuf.Duration getWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];getWait in interface AdvanceRolloutRuleOrBuilderpublic AdvanceRolloutRule.Builder setWait(com.google.protobuf.Duration value)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];public AdvanceRolloutRule.Builder setWait(com.google.protobuf.Duration.Builder builderForValue)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];public AdvanceRolloutRule.Builder mergeWait(com.google.protobuf.Duration value)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];public AdvanceRolloutRule.Builder clearWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.Duration.Builder getWaitBuilder()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];getWaitOrBuilder in interface AdvanceRolloutRuleOrBuilderpublic 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 AdvanceRolloutRuleOrBuilderpublic 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 AdvanceRolloutRuleOrBuilderpublic AdvanceRolloutRule.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 AdvanceRolloutRule.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 AdvanceRolloutRule.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 AdvanceRolloutRule.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 AdvanceRolloutRuleOrBuilderpublic final AdvanceRolloutRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>public final AdvanceRolloutRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder>Copyright © 2024 Google LLC. All rights reserved.