public static final class AdvanceRolloutRule.Builder extends GeneratedMessageV3.Builder<AdvanceRolloutRule.Builder> implements AdvanceRolloutRuleOrBuilder
The AdvanceRollout
automation rule will automatically advance a successful
Rollout to the next phase.
Protobuf type google.events.cloud.deploy.v1.AdvanceRolloutRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdvanceRolloutRule.BuilderImplements
AdvanceRolloutRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSourcePhases(Iterable<String> values)
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?$
.
repeated string source_phases = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The sourcePhases to add. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvanceRolloutRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
addSourcePhases(String value)
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?$
.
repeated string source_phases = 6;
Parameter | |
---|---|
Name | Description |
value |
String The sourcePhases to add. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
addSourcePhasesBytes(ByteString value)
public AdvanceRolloutRule.Builder addSourcePhasesBytes(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?$
.
repeated string source_phases = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the sourcePhases to add. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
build()
public AdvanceRolloutRule build()
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule |
buildPartial()
public AdvanceRolloutRule buildPartial()
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule |
clear()
public AdvanceRolloutRule.Builder clear()
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
clearCondition()
public AdvanceRolloutRule.Builder clearCondition()
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public AdvanceRolloutRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
clearId()
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{0,62}
.
string id = 1;
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvanceRolloutRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
clearSourcePhases()
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?$
.
repeated string source_phases = 6;
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
clearWait()
public AdvanceRolloutRule.Builder clearWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
clone()
public AdvanceRolloutRule.Builder clone()
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
getCondition()
public AutomationRuleCondition getCondition()
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Returns | |
---|---|
Type | Description |
AutomationRuleCondition |
The condition. |
getConditionBuilder()
public AutomationRuleCondition.Builder getConditionBuilder()
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
getConditionOrBuilder()
public AutomationRuleConditionOrBuilder getConditionOrBuilder()
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Returns | |
---|---|
Type | Description |
AutomationRuleConditionOrBuilder |
getDefaultInstanceForType()
public AdvanceRolloutRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public 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{0,62}
.
string id = 1;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public 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{0,62}
.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getSourcePhases(int index)
public 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?$
.
repeated string source_phases = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sourcePhases at the given index. |
getSourcePhasesBytes(int index)
public 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?$
.
repeated string source_phases = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sourcePhases at the given index. |
getSourcePhasesCount()
public 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?$
.
repeated string source_phases = 6;
Returns | |
---|---|
Type | Description |
int |
The count of sourcePhases. |
getSourcePhasesList()
public 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?$
.
repeated string source_phases = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sourcePhases. |
getWait()
public Duration getWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Returns | |
---|---|
Type | Description |
Duration |
The wait. |
getWaitBuilder()
public Duration.Builder getWaitBuilder()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Returns | |
---|---|
Type | Description |
Builder |
getWaitOrBuilder()
public DurationOrBuilder getWaitOrBuilder()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
hasCondition()
public boolean hasCondition()
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the condition field is set. |
hasWait()
public boolean hasWait()
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the wait field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCondition(AutomationRuleCondition value)
public AdvanceRolloutRule.Builder mergeCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
mergeFrom(AdvanceRolloutRule other)
public AdvanceRolloutRule.Builder mergeFrom(AdvanceRolloutRule other)
Parameter | |
---|---|
Name | Description |
other |
AdvanceRolloutRule |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvanceRolloutRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AdvanceRolloutRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvanceRolloutRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
mergeWait(Duration value)
public AdvanceRolloutRule.Builder mergeWait(Duration value)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setCondition(AutomationRuleCondition value)
public AdvanceRolloutRule.Builder setCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setCondition(AutomationRuleCondition.Builder builderForValue)
public AdvanceRolloutRule.Builder setCondition(AutomationRuleCondition.Builder builderForValue)
Output only. Information around the state of the Automation rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomationRuleCondition.Builder |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AdvanceRolloutRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setId(String value)
public 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{0,62}
.
string id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public AdvanceRolloutRule.Builder setIdBytes(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{0,62}
.
string id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvanceRolloutRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setSourcePhases(int index, String value)
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?$
.
repeated string source_phases = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The sourcePhases to set. |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvanceRolloutRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setWait(Duration value)
public AdvanceRolloutRule.Builder setWait(Duration value)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |
setWait(Duration.Builder builderForValue)
public AdvanceRolloutRule.Builder setWait(Duration.Builder builderForValue)
Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AdvanceRolloutRule.Builder |