Class RepairPhase.Builder

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

public static final class RepairPhase.Builder extends com.google.protobuf.GeneratedMessage.Builder<RepairPhase.Builder> implements RepairPhaseOrBuilder
 RepairPhase tracks the repair attempts that have been made for
 each `RepairPhaseConfig` specified in the `Automation` resource.
 
Protobuf type google.cloud.deploy.v1.RepairPhase
  • 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<RepairPhase.Builder>
    • clear

      public RepairPhase.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<RepairPhase.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<RepairPhase.Builder>
    • getDefaultInstanceForType

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

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

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

      public RepairPhase.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<RepairPhase.Builder>
    • mergeFrom

      public RepairPhase.Builder mergeFrom(RepairPhase other)
    • isInitialized

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

      public RepairPhase.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<RepairPhase.Builder>
      Throws:
      IOException
    • getRepairPhaseCase

      public RepairPhase.RepairPhaseCase getRepairPhaseCase()
      Specified by:
      getRepairPhaseCase in interface RepairPhaseOrBuilder
    • clearRepairPhase

      public RepairPhase.Builder clearRepairPhase()
    • hasRetry

      public boolean hasRetry()
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRetry in interface RepairPhaseOrBuilder
      Returns:
      Whether the retry field is set.
    • getRetry

      public RetryPhase getRetry()
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRetry in interface RepairPhaseOrBuilder
      Returns:
      The retry.
    • setRetry

      public RepairPhase.Builder setRetry(RetryPhase value)
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRetry

      public RepairPhase.Builder setRetry(RetryPhase.Builder builderForValue)
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRetry

      public RepairPhase.Builder mergeRetry(RetryPhase value)
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRetry

      public RepairPhase.Builder clearRetry()
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRetryBuilder

      public RetryPhase.Builder getRetryBuilder()
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRetryOrBuilder

      public RetryPhaseOrBuilder getRetryOrBuilder()
       Output only. Records of the retry attempts for retry repair mode.
       
      .google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRetryOrBuilder in interface RepairPhaseOrBuilder
    • hasRollback

      public boolean hasRollback()
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRollback in interface RepairPhaseOrBuilder
      Returns:
      Whether the rollback field is set.
    • getRollback

      public RollbackAttempt getRollback()
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRollback in interface RepairPhaseOrBuilder
      Returns:
      The rollback.
    • setRollback

      public RepairPhase.Builder setRollback(RollbackAttempt value)
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRollback

      public RepairPhase.Builder setRollback(RollbackAttempt.Builder builderForValue)
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRollback

      public RepairPhase.Builder mergeRollback(RollbackAttempt value)
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRollback

      public RepairPhase.Builder clearRollback()
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRollbackBuilder

      public RollbackAttempt.Builder getRollbackBuilder()
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRollbackOrBuilder

      public RollbackAttemptOrBuilder getRollbackOrBuilder()
       Output only. Rollback attempt for rollback repair mode .
       
      .google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRollbackOrBuilder in interface RepairPhaseOrBuilder