Interface PromoteReleaseRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PromoteReleaseRule, PromoteReleaseRule.Builder

@Generated public interface PromoteReleaseRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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.
    • hasWait

      boolean hasWait()
       Optional. How long the release need to be paused until being promoted to
       the next target.
       
      .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the wait field is set.
    • getWait

      com.google.protobuf.Duration getWait()
       Optional. How long the release need to be paused until being promoted to
       the next target.
       
      .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The wait.
    • getWaitOrBuilder

      com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
       Optional. How long the release need to be paused until being promoted to
       the next target.
       
      .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getDestinationTargetId

      String getDestinationTargetId()
       Optional. The ID of the stage in the pipeline to which this `Release` is
       deploying. If unspecified, default it to the next stage in the promotion
       flow. The value of this field could be one of the following:
      
       * The last segment of a target name
       * "@next", the next target in the promotion sequence
       
      string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The destinationTargetId.
    • getDestinationTargetIdBytes

      com.google.protobuf.ByteString getDestinationTargetIdBytes()
       Optional. The ID of the stage in the pipeline to which this `Release` is
       deploying. If unspecified, default it to the next stage in the promotion
       flow. The value of this field could be one of the following:
      
       * The last segment of a target name
       * "@next", the next target in the promotion sequence
       
      string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for destinationTargetId.
    • hasCondition

      boolean hasCondition()
       Output only. Information around the state of the Automation rule.
       
      .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDestinationPhase

      String getDestinationPhase()
       Optional. The starting phase of the rollout created by this operation.
       Default to the first phase.
       
      string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The destinationPhase.
    • getDestinationPhaseBytes

      com.google.protobuf.ByteString getDestinationPhaseBytes()
       Optional. The starting phase of the rollout created by this operation.
       Default to the first phase.
       
      string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for destinationPhase.