Interface PromoteReleaseRuleOrBuilder (1.37.0)

public interface PromoteReleaseRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract 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
TypeDescription
AutomationRuleCondition

The condition.

getConditionOrBuilder()

public abstract 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];

Returns
TypeDescription
AutomationRuleConditionOrBuilder

getDestinationPhase()

public abstract 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
TypeDescription
String

The destinationPhase.

getDestinationPhaseBytes()

public abstract 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
TypeDescription
ByteString

The bytes for destinationPhase.

getDestinationTargetId()

public abstract 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];

Returns
TypeDescription
String

The destinationTargetId.

getDestinationTargetIdBytes()

public abstract 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. 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];

Returns
TypeDescription
ByteString

The bytes for destinationTargetId.

getId()

public abstract 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{0,62}.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract 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{0,62}.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for id.

getWait()

public abstract 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
TypeDescription
Duration

The wait.

getWaitOrBuilder()

public abstract 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];

Returns
TypeDescription
DurationOrBuilder

hasCondition()

public abstract 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
TypeDescription
boolean

Whether the condition field is set.

hasWait()

public abstract 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
TypeDescription
boolean

Whether the wait field is set.