Interface PromoteReleaseRuleOrBuilder (0.16.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.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;

Returns
Type Description
AutomationRuleCondition

The condition.

getConditionOrBuilder()

public abstract AutomationRuleConditionOrBuilder getConditionOrBuilder()

Output only. Information around the state of the Automation rule.

.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
DurationOrBuilder

hasCondition()

public abstract boolean hasCondition()

Output only. Information around the state of the Automation rule.

.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;

Returns
Type Description
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;

Returns
Type Description
boolean

Whether the wait field is set.