Class TimedPromoteReleaseCondition.Builder

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

public static final class TimedPromoteReleaseCondition.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder> implements TimedPromoteReleaseConditionOrBuilder
 `TimedPromoteReleaseCondition` contains conditions specific to an Automation
 with a Timed Promote Release rule defined.
 
Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseCondition
  • 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<TimedPromoteReleaseCondition.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<TimedPromoteReleaseCondition.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<TimedPromoteReleaseCondition.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public TimedPromoteReleaseCondition.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<TimedPromoteReleaseCondition.Builder>
      Throws:
      IOException
    • hasNextPromotionTime

      public boolean hasNextPromotionTime()
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasNextPromotionTime in interface TimedPromoteReleaseConditionOrBuilder
      Returns:
      Whether the nextPromotionTime field is set.
    • getNextPromotionTime

      public com.google.protobuf.Timestamp getNextPromotionTime()
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPromotionTime in interface TimedPromoteReleaseConditionOrBuilder
      Returns:
      The nextPromotionTime.
    • setNextPromotionTime

      public TimedPromoteReleaseCondition.Builder setNextPromotionTime(com.google.protobuf.Timestamp value)
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setNextPromotionTime

      public TimedPromoteReleaseCondition.Builder setNextPromotionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeNextPromotionTime

      public TimedPromoteReleaseCondition.Builder mergeNextPromotionTime(com.google.protobuf.Timestamp value)
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearNextPromotionTime

      public TimedPromoteReleaseCondition.Builder clearNextPromotionTime()
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextPromotionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getNextPromotionTimeBuilder()
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextPromotionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getNextPromotionTimeOrBuilder()
       Output only. When the next scheduled promotion(s) will occur.
       
      .google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPromotionTimeOrBuilder in interface TimedPromoteReleaseConditionOrBuilder
    • getTargetsListList

      public List<TimedPromoteReleaseCondition.Targets> getTargetsListList()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetsListList in interface TimedPromoteReleaseConditionOrBuilder
    • getTargetsListCount

      public int getTargetsListCount()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetsListCount in interface TimedPromoteReleaseConditionOrBuilder
    • getTargetsList

      public TimedPromoteReleaseCondition.Targets getTargetsList(int index)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetsList in interface TimedPromoteReleaseConditionOrBuilder
    • setTargetsList

       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTargetsList

      public TimedPromoteReleaseCondition.Builder setTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addTargetsList

       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addTargetsList

       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addTargetsList

       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addTargetsList

      public TimedPromoteReleaseCondition.Builder addTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllTargetsList

       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTargetsList

      public TimedPromoteReleaseCondition.Builder clearTargetsList()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeTargetsList

      public TimedPromoteReleaseCondition.Builder removeTargetsList(int index)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetsListBuilder

      public TimedPromoteReleaseCondition.Targets.Builder getTargetsListBuilder(int index)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetsListOrBuilder

      public TimedPromoteReleaseCondition.TargetsOrBuilder getTargetsListOrBuilder(int index)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetsListOrBuilder in interface TimedPromoteReleaseConditionOrBuilder
    • getTargetsListOrBuilderList

      public List<? extends TimedPromoteReleaseCondition.TargetsOrBuilder> getTargetsListOrBuilderList()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetsListOrBuilderList in interface TimedPromoteReleaseConditionOrBuilder
    • addTargetsListBuilder

      public TimedPromoteReleaseCondition.Targets.Builder addTargetsListBuilder()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addTargetsListBuilder

      public TimedPromoteReleaseCondition.Targets.Builder addTargetsListBuilder(int index)
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetsListBuilderList

      public List<TimedPromoteReleaseCondition.Targets.Builder> getTargetsListBuilderList()
       Output only. A list of targets involved in the upcoming timed promotion(s).
       
      repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];