Class RepairRolloutRule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder>
com.google.cloud.deploy.v1.RepairRolloutRule.Builder
All Implemented Interfaces:
RepairRolloutRuleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RepairRolloutRule

public static final class RepairRolloutRule.Builder extends com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder> implements RepairRolloutRuleOrBuilder
 The `RepairRolloutRule` automation rule will automatically repair a failed
 `Rollout`.
 
Protobuf type google.cloud.deploy.v1.RepairRolloutRule
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder>
    • clear

      public RepairRolloutRule.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder>
    • getDefaultInstanceForType

      public RepairRolloutRule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RepairRolloutRule build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RepairRolloutRule buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RepairRolloutRule.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepairRolloutRule.Builder>
    • mergeFrom

      public RepairRolloutRule.Builder mergeFrom(RepairRolloutRule other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RepairRolloutRule.Builder>
    • mergeFrom

      public RepairRolloutRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepairRolloutRule.Builder>
      Throws:
      IOException
    • 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]([a-z0-9-]{0,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getId in interface RepairRolloutRuleOrBuilder
      Returns:
      The id.
    • getIdBytes

      public 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];
      Specified by:
      getIdBytes in interface RepairRolloutRuleOrBuilder
      Returns:
      The bytes for id.
    • setId

      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]([a-z0-9-]{0,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • 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]([a-z0-9-]{0,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setIdBytes

      public RepairRolloutRule.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,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getPhasesList

      public com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhasesList in interface RepairRolloutRuleOrBuilder
      Returns:
      A list containing the phases.
    • 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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhasesCount in interface RepairRolloutRuleOrBuilder
      Returns:
      The count of phases.
    • getPhases

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhases in interface RepairRolloutRuleOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The phases at the given index.
    • getPhasesBytes

      public 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];
      Specified by:
      getPhasesBytes in interface RepairRolloutRuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the phases at the given index.
    • setPhases

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The phases to set.
      Returns:
      This builder for chaining.
    • addPhases

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The phases to add.
      Returns:
      This builder for chaining.
    • addAllPhases

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The phases to add.
      Returns:
      This builder for chaining.
    • 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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addPhasesBytes

      public RepairRolloutRule.Builder addPhasesBytes(com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string phases = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the phases to add.
      Returns:
      This builder for chaining.
    • getJobsList

      public com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getJobsList in interface RepairRolloutRuleOrBuilder
      Returns:
      A list containing the jobs.
    • 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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getJobsCount in interface RepairRolloutRuleOrBuilder
      Returns:
      The count of jobs.
    • getJobs

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getJobs in interface RepairRolloutRuleOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The jobs at the given index.
    • getJobsBytes

      public 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];
      Specified by:
      getJobsBytes in interface RepairRolloutRuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the jobs at the given index.
    • setJobs

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The jobs to set.
      Returns:
      This builder for chaining.
    • addJobs

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The jobs to add.
      Returns:
      This builder for chaining.
    • addAllJobs

      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The jobs to add.
      Returns:
      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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addJobsBytes

      public RepairRolloutRule.Builder addJobsBytes(com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the jobs to add.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasCondition in interface RepairRolloutRuleOrBuilder
      Returns:
      Whether the condition field is set.
    • 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];
      Specified by:
      getCondition in interface RepairRolloutRuleOrBuilder
      Returns:
      The condition.
    • setCondition

       Output only. Information around the state of the 'Automation' rule.
       
      .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCondition

      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];
    • mergeCondition

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getConditionOrBuilder in interface RepairRolloutRuleOrBuilder
    • 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];
      Specified by:
      getRepairPhasesList in interface RepairRolloutRuleOrBuilder
    • 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];
      Specified by:
      getRepairPhasesCount in interface RepairRolloutRuleOrBuilder
    • getRepairPhases

      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];
      Specified by:
      getRepairPhases in interface RepairRolloutRuleOrBuilder
    • setRepairPhases

      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];
    • setRepairPhases

      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];
    • addRepairPhases

      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];
    • addRepairPhases

      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];
    • addRepairPhases

      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];
    • addRepairPhases

      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];
    • addAllRepairPhases

      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];
    • 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];
    • removeRepairPhases

      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];
    • getRepairPhasesBuilder

      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];
    • getRepairPhasesOrBuilder

      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];
      Specified by:
      getRepairPhasesOrBuilder in interface RepairRolloutRuleOrBuilder
    • 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];
      Specified by:
      getRepairPhasesOrBuilderList in interface RepairRolloutRuleOrBuilder
    • 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];
    • addRepairPhasesBuilder

      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];
    • 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];