com.google.cloud.deploy.v1.PromoteReleaseRuleOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Proto library for google-cloud-deploy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/deploy/v1/cloud_deploy.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.deploy.v1;
public interface PromoteReleaseRuleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.PromoteReleaseRule)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The id.
*/
java.lang.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];
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* 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];
*
* @return Whether the wait field is set.
*/
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];
*
* @return The wait.
*/
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];
*/
com.google.protobuf.DurationOrBuilder getWaitOrBuilder();
/**
*
*
*
* 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. It only needs the ID to determine
* if the target is one of the stages in the promotion sequence defined
* in the pipeline.
* * "@next", the next target in the promotion sequence.
*
*
* string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The destinationTargetId.
*/
java.lang.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. It only needs the ID to determine
* if the target is one of the stages in the promotion sequence defined
* in the pipeline.
* * "@next", the next target in the promotion sequence.
*
*
* string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for destinationTargetId.
*/
com.google.protobuf.ByteString getDestinationTargetIdBytes();
/**
*
*
*
* Output only. Information around the state of the Automation rule.
*
*
*
* .google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the condition field is set.
*/
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];
*
*
* @return The condition.
*/
com.google.cloud.deploy.v1.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];
*
*/
com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder();
/**
*
*
*
* 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];
*
* @return The destinationPhase.
*/
java.lang.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];
*
* @return The bytes for destinationPhase.
*/
com.google.protobuf.ByteString getDestinationPhaseBytes();
}