- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class RepairRolloutRule.Builder extends GeneratedMessageV3.Builder<RepairRolloutRule.Builder> implements RepairRolloutRuleOrBuilder
The RepairRolloutRule
automation rule will automatically repair a failed
Rollout
.
Protobuf type google.cloud.deploy.v1.RepairRolloutRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RepairRolloutRule.BuilderImplements
RepairRolloutRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllJobs(Iterable<String> values)
public RepairRolloutRule.Builder addAllJobs(Iterable<String> values)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The jobs to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addAllPhases(Iterable<String> values)
public RepairRolloutRule.Builder addAllPhases(Iterable<String> values)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The phases to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addAllRepairPhases(Iterable<? extends RepairPhaseConfig> values)
public RepairRolloutRule.Builder addAllRepairPhases(Iterable<? extends RepairPhaseConfig> values)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.RepairPhaseConfig> |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
addJobs(String value)
public RepairRolloutRule.Builder addJobs(String value)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The jobs to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addJobsBytes(ByteString value)
public RepairRolloutRule.Builder addJobsBytes(ByteString value)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the jobs to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addPhases(String value)
public RepairRolloutRule.Builder addPhases(String value)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The phases to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addPhasesBytes(ByteString value)
public RepairRolloutRule.Builder addPhasesBytes(ByteString value)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the phases to add. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
addRepairPhases(RepairPhaseConfig value)
public RepairRolloutRule.Builder addRepairPhases(RepairPhaseConfig value)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
RepairPhaseConfig |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
addRepairPhases(RepairPhaseConfig.Builder builderForValue)
public RepairRolloutRule.Builder addRepairPhases(RepairPhaseConfig.Builder builderForValue)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
RepairPhaseConfig.Builder |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
addRepairPhases(int index, RepairPhaseConfig value)
public RepairRolloutRule.Builder addRepairPhases(int index, RepairPhaseConfig value)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RepairPhaseConfig |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
addRepairPhases(int index, RepairPhaseConfig.Builder builderForValue)
public RepairRolloutRule.Builder addRepairPhases(int index, RepairPhaseConfig.Builder builderForValue)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RepairPhaseConfig.Builder |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
addRepairPhasesBuilder()
public RepairPhaseConfig.Builder addRepairPhasesBuilder()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RepairPhaseConfig.Builder |
addRepairPhasesBuilder(int index)
public RepairPhaseConfig.Builder addRepairPhasesBuilder(int index)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepairPhaseConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepairRolloutRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
build()
public RepairRolloutRule build()
Returns | |
---|---|
Type | Description |
RepairRolloutRule |
buildPartial()
public RepairRolloutRule buildPartial()
Returns | |
---|---|
Type | Description |
RepairRolloutRule |
clear()
public RepairRolloutRule.Builder clear()
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
clearCondition()
public RepairRolloutRule.Builder clearCondition()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public RepairRolloutRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
clearId()
public RepairRolloutRule.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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
clearJobs()
public RepairRolloutRule.Builder clearJobs()
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RepairRolloutRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
clearPhases()
public RepairRolloutRule.Builder clearPhases()
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
clearRepairPhases()
public RepairRolloutRule.Builder clearRepairPhases()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
clone()
public RepairRolloutRule.Builder clone()
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
getCondition()
public AutomationRuleCondition getCondition()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomationRuleCondition |
The condition. |
getConditionBuilder()
public AutomationRuleCondition.Builder getConditionBuilder()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
getConditionOrBuilder()
public AutomationRuleConditionOrBuilder getConditionOrBuilder()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomationRuleConditionOrBuilder |
getDefaultInstanceForType()
public RepairRolloutRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RepairRolloutRule |
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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getJobs(int index)
public String getJobs(int index)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The jobs at the given index. |
getJobsBytes(int index)
public ByteString getJobsBytes(int index)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the jobs at the given index. |
getJobsCount()
public int getJobsCount()
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of jobs. |
getJobsList()
public ProtocolStringList getJobsList()
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the jobs. |
getPhases(int index)
public String getPhases(int index)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The phases at the given index. |
getPhasesBytes(int index)
public ByteString getPhasesBytes(int index)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the phases at the given index. |
getPhasesCount()
public int getPhasesCount()
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of phases. |
getPhasesList()
public ProtocolStringList getPhasesList()
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the phases. |
getRepairPhases(int index)
public RepairPhaseConfig getRepairPhases(int index)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepairPhaseConfig |
getRepairPhasesBuilder(int index)
public RepairPhaseConfig.Builder getRepairPhasesBuilder(int index)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepairPhaseConfig.Builder |
getRepairPhasesBuilderList()
public List<RepairPhaseConfig.Builder> getRepairPhasesBuilderList()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getRepairPhasesCount()
public int getRepairPhasesCount()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getRepairPhasesList()
public List<RepairPhaseConfig> getRepairPhasesList()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<RepairPhaseConfig> |
getRepairPhasesOrBuilder(int index)
public RepairPhaseConfigOrBuilder getRepairPhasesOrBuilder(int index)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepairPhaseConfigOrBuilder |
getRepairPhasesOrBuilderList()
public List<? extends RepairPhaseConfigOrBuilder> getRepairPhasesOrBuilderList()
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.deploy.v1.RepairPhaseConfigOrBuilder> |
hasCondition()
public boolean hasCondition()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the condition 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 RepairRolloutRule.Builder mergeCondition(AutomationRuleCondition value)
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
mergeFrom(RepairRolloutRule other)
public RepairRolloutRule.Builder mergeFrom(RepairRolloutRule other)
Parameter | |
---|---|
Name | Description |
other |
RepairRolloutRule |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RepairRolloutRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RepairRolloutRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepairRolloutRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
removeRepairPhases(int index)
public RepairRolloutRule.Builder removeRepairPhases(int index)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setCondition(AutomationRuleCondition value)
public RepairRolloutRule.Builder setCondition(AutomationRuleCondition value)
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setCondition(AutomationRuleCondition.Builder builderForValue)
public RepairRolloutRule.Builder setCondition(AutomationRuleCondition.Builder builderForValue)
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomationRuleCondition.Builder |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RepairRolloutRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setId(String value)
public RepairRolloutRule.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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public RepairRolloutRule.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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
setJobs(int index, String value)
public RepairRolloutRule.Builder setJobs(int index, String value)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in source_phase
. 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 jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The jobs to set. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
setPhases(int index, String value)
public RepairRolloutRule.Builder setPhases(int index, String value)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. 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 phases = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The phases to set. |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
This builder for chaining. |
setRepairPhases(int index, RepairPhaseConfig value)
public RepairRolloutRule.Builder setRepairPhases(int index, RepairPhaseConfig value)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RepairPhaseConfig |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setRepairPhases(int index, RepairPhaseConfig.Builder builderForValue)
public RepairRolloutRule.Builder setRepairPhases(int index, RepairPhaseConfig.Builder builderForValue)
Required. Defines the types of automatic repair phases for failed jobs.
repeated .google.cloud.deploy.v1.RepairPhaseConfig repair_phases = 8 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RepairPhaseConfig.Builder |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepairRolloutRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RepairRolloutRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepairRolloutRule.Builder |