Package com.google.cloud.deploy.v1
Interface RepairRolloutRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RepairRolloutRule,RepairRolloutRule.Builder
@Generated
public interface RepairRolloutRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.getId()Required.com.google.protobuf.ByteStringRequired.getJobs(int index) Optional.com.google.protobuf.ByteStringgetJobsBytes(int index) Optional.intOptional.Optional.getPhases(int index) Optional.com.google.protobuf.ByteStringgetPhasesBytes(int index) Optional.intOptional.Optional.getRepairPhases(int index) Required.intRequired.Required.getRepairPhasesOrBuilder(int index) Required.List<? extends RepairPhaseConfigOrBuilder>Required.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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,61}[a-z0-9])?`.string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
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,61}[a-z0-9])?`.string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the phases.
-
getPhasesCount
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of phases.
-
getPhases
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The phases at the given index.
-
getPhasesBytes
com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the phases at the given index.
-
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the jobs.
-
getJobsCount
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of jobs.
-
getJobs
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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The jobs at the given index.
-
getJobsBytes
com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the jobs at the given index.
-
hasCondition
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:
- Whether the condition field is set.
-
getCondition
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:
- The condition.
-
getConditionOrBuilder
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]; -
getRepairPhasesList
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]; -
getRepairPhases
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]; -
getRepairPhasesCount
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]; -
getRepairPhasesOrBuilderList
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]; -
getRepairPhasesOrBuilder
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];
-