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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface PromoteReleaseRuleOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.PromoteReleaseRuleOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.PromoteReleaseRuleOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.PromoteReleaseRuleOrBuilder) \n\n public interface PromoteReleaseRuleOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCondition()\n\n public abstract AutomationRuleCondition getCondition()\n\nOutput only. Information around the state of the Automation rule.\n\n`.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;`\n\n### getConditionOrBuilder()\n\n public abstract AutomationRuleConditionOrBuilder getConditionOrBuilder()\n\nOutput only. Information around the state of the Automation rule.\n\n`.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;`\n\n### getDestinationPhase()\n\n public abstract String getDestinationPhase()\n\nOptional. The starting phase of the rollout created by this operation.\nDefault to the first phase.\n\n`string destination_phase = 8;`\n\n### getDestinationPhaseBytes()\n\n public abstract ByteString getDestinationPhaseBytes()\n\nOptional. The starting phase of the rollout created by this operation.\nDefault to the first phase.\n\n`string destination_phase = 8;`\n\n### getDestinationTargetId()\n\n public abstract String getDestinationTargetId()\n\nOptional. The ID of the stage in the pipeline to which this `Release` is\ndeploying. If unspecified, default it to the next stage in the promotion\nflow. The value of this field could be one of the following:\n\n- 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.\n- \"@next\", the next target in the promotion sequence.\n\n`string destination_target_id = 7;`\n\n### getDestinationTargetIdBytes()\n\n public abstract ByteString getDestinationTargetIdBytes()\n\nOptional. The ID of the stage in the pipeline to which this `Release` is\ndeploying. If unspecified, default it to the next stage in the promotion\nflow. The value of this field could be one of the following:\n\n- 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.\n- \"@next\", the next target in the promotion sequence.\n\n`string destination_target_id = 7;`\n\n### getId()\n\n public abstract String getId()\n\nRequired. ID of the rule. This id must be unique in the `Automation`\nresource to which this rule belongs. The format is a-z`{0,62}`.\n\n`string id = 1;`\n\n### getIdBytes()\n\n public abstract ByteString getIdBytes()\n\nRequired. ID of the rule. This id must be unique in the `Automation`\nresource to which this rule belongs. The format is a-z`{0,62}`.\n\n`string id = 1;`\n\n### getWait()\n\n public abstract Duration getWait()\n\nOptional. How long the release need to be paused until being promoted to\nthe next target.\n\n`.google.protobuf.Duration wait = 2;`\n\n### getWaitOrBuilder()\n\n public abstract DurationOrBuilder getWaitOrBuilder()\n\nOptional. How long the release need to be paused until being promoted to\nthe next target.\n\n`.google.protobuf.Duration wait = 2;`\n\n### hasCondition()\n\n public abstract boolean hasCondition()\n\nOutput only. Information around the state of the Automation rule.\n\n`.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 5;`\n\n### hasWait()\n\n public abstract boolean hasWait()\n\nOptional. How long the release need to be paused until being promoted to\nthe next target.\n\n`.google.protobuf.Duration wait = 2;`"]]