- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class PromoteReleaseRule.Builder extends GeneratedMessageV3.Builder<PromoteReleaseRule.Builder> implements PromoteReleaseRuleOrBuilder
The PromoteRelease
rule will automatically promote a release from the
current target to a specified target.
Protobuf type google.cloud.deploy.v1.PromoteReleaseRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PromoteReleaseRule.BuilderImplements
PromoteReleaseRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PromoteReleaseRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
build()
public PromoteReleaseRule build()
Returns | |
---|---|
Type | Description |
PromoteReleaseRule |
buildPartial()
public PromoteReleaseRule buildPartial()
Returns | |
---|---|
Type | Description |
PromoteReleaseRule |
clear()
public PromoteReleaseRule.Builder clear()
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
clearCondition()
public PromoteReleaseRule.Builder clearCondition()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
clearDestinationPhase()
public PromoteReleaseRule.Builder clearDestinationPhase()
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 | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
clearDestinationTargetId()
public PromoteReleaseRule.Builder clearDestinationTargetId()
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 | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PromoteReleaseRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
clearId()
public PromoteReleaseRule.Builder clearId()
Required. ID of the rule. This id must be unique in the Automation
resource to which this rule belongs. The format is
a-z?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PromoteReleaseRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
clearWait()
public PromoteReleaseRule.Builder clearWait()
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 | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
clone()
public PromoteReleaseRule.Builder clone()
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
getCondition()
public 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 | |
---|---|
Type | Description |
AutomationRuleCondition |
The condition. |
getConditionBuilder()
public AutomationRuleCondition.Builder getConditionBuilder()
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
getConditionOrBuilder()
public 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 | |
---|---|
Type | Description |
AutomationRuleConditionOrBuilder |
getDefaultInstanceForType()
public PromoteReleaseRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PromoteReleaseRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationPhase()
public 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 | |
---|---|
Type | Description |
String |
The destinationPhase. |
getDestinationPhaseBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for destinationPhase. |
getDestinationTargetId()
public 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 | |
---|---|
Type | Description |
String |
The destinationTargetId. |
getDestinationTargetIdBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for destinationTargetId. |
getId()
public 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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public 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?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getWait()
public 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 | |
---|---|
Type | Description |
Duration |
The wait. |
getWaitBuilder()
public Duration.Builder getWaitBuilder()
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 | |
---|---|
Type | Description |
Builder |
getWaitOrBuilder()
public 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 | |
---|---|
Type | Description |
DurationOrBuilder |
hasCondition()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the condition field is set. |
hasWait()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the wait field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCondition(AutomationRuleCondition value)
public PromoteReleaseRule.Builder mergeCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
mergeFrom(PromoteReleaseRule other)
public PromoteReleaseRule.Builder mergeFrom(PromoteReleaseRule other)
Parameter | |
---|---|
Name | Description |
other |
PromoteReleaseRule |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PromoteReleaseRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PromoteReleaseRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PromoteReleaseRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
mergeWait(Duration value)
public PromoteReleaseRule.Builder mergeWait(Duration value)
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];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setCondition(AutomationRuleCondition value)
public PromoteReleaseRule.Builder setCondition(AutomationRuleCondition value)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
AutomationRuleCondition |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setCondition(AutomationRuleCondition.Builder builderForValue)
public PromoteReleaseRule.Builder setCondition(AutomationRuleCondition.Builder builderForValue)
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomationRuleCondition.Builder |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setDestinationPhase(String value)
public PromoteReleaseRule.Builder setDestinationPhase(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The destinationPhase to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationPhaseBytes(ByteString value)
public PromoteReleaseRule.Builder setDestinationPhaseBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationPhase to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationTargetId(String value)
public PromoteReleaseRule.Builder setDestinationTargetId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The destinationTargetId to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationTargetIdBytes(ByteString value)
public PromoteReleaseRule.Builder setDestinationTargetIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationTargetId to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PromoteReleaseRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setId(String value)
public PromoteReleaseRule.Builder setId(String value)
Required. ID of the rule. This id must be unique in the Automation
resource to which this rule belongs. The format is
a-z?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public PromoteReleaseRule.Builder setIdBytes(ByteString value)
Required. ID of the rule. This id must be unique in the Automation
resource to which this rule belongs. The format is
a-z?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PromoteReleaseRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PromoteReleaseRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setWait(Duration value)
public PromoteReleaseRule.Builder setWait(Duration value)
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];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |
setWait(Duration.Builder builderForValue)
public PromoteReleaseRule.Builder setWait(Duration.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
PromoteReleaseRule.Builder |