Interface RepairRolloutRuleOrBuilder (1.53.0)

public interface RepairRolloutRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract 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.

getConditionOrBuilder()

public abstract 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

getId()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the jobs.

getPhases(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the phases.

getRepairPhases(int index)

public abstract 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

getRepairPhasesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.