- 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 TimedPromoteReleaseRule.Builder extends GeneratedMessageV3.Builder<TimedPromoteReleaseRule.Builder> implements TimedPromoteReleaseRuleOrBuilder
The TimedPromoteReleaseRule
will automatically promote a release from the
current target(s) to the specified target(s) on a configured schedule.
Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimedPromoteReleaseRule.BuilderImplements
TimedPromoteReleaseRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimedPromoteReleaseRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
build()
public TimedPromoteReleaseRule build()
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule |
buildPartial()
public TimedPromoteReleaseRule buildPartial()
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule |
clear()
public TimedPromoteReleaseRule.Builder clear()
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
clearCondition()
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
clearDestinationPhase()
public TimedPromoteReleaseRule.Builder clearDestinationPhase()
Optional. The starting phase of the rollout created by this rule. Default to the first phase.
string destination_phase = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
clearDestinationTargetId()
public TimedPromoteReleaseRule.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
- "@next", the next target in the promotion sequence
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TimedPromoteReleaseRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
clearId()
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimedPromoteReleaseRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
clearSchedule()
public TimedPromoteReleaseRule.Builder clearSchedule()
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
string schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
clearTimeZone()
public TimedPromoteReleaseRule.Builder clearTimeZone()
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
clone()
public TimedPromoteReleaseRule.Builder clone()
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.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 TimedPromoteReleaseRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationPhase()
public String getDestinationPhase()
Optional. The starting phase of the rollout created by this rule. Default to the first phase.
string destination_phase = 6 [(.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 rule. Default to the first phase.
string destination_phase = 6 [(.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
- "@next", the next target in the promotion sequence
string destination_target_id = 2 [(.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
- "@next", the next target in the promotion sequence
string destination_target_id = 2 [(.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. |
getSchedule()
public String getSchedule()
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
string schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The schedule. |
getScheduleBytes()
public ByteString getScheduleBytes()
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
string schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for schedule. |
getTimeZone()
public String getTimeZone()
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The timeZone. |
getTimeZoneBytes()
public ByteString getTimeZoneBytes()
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for timeZone. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCondition(AutomationRuleCondition value)
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
mergeFrom(TimedPromoteReleaseRule other)
public TimedPromoteReleaseRule.Builder mergeFrom(TimedPromoteReleaseRule other)
Parameter | |
---|---|
Name | Description |
other |
TimedPromoteReleaseRule |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimedPromoteReleaseRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TimedPromoteReleaseRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimedPromoteReleaseRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
setCondition(AutomationRuleCondition value)
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
setCondition(AutomationRuleCondition.Builder builderForValue)
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
setDestinationPhase(String value)
public TimedPromoteReleaseRule.Builder setDestinationPhase(String value)
Optional. The starting phase of the rollout created by this rule. Default to the first phase.
string destination_phase = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The destinationPhase to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationPhaseBytes(ByteString value)
public TimedPromoteReleaseRule.Builder setDestinationPhaseBytes(ByteString value)
Optional. The starting phase of the rollout created by this rule. Default to the first phase.
string destination_phase = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationPhase to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationTargetId(String value)
public TimedPromoteReleaseRule.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
- "@next", the next target in the promotion sequence
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The destinationTargetId to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setDestinationTargetIdBytes(ByteString value)
public TimedPromoteReleaseRule.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
- "@next", the next target in the promotion sequence
string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destinationTargetId to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TimedPromoteReleaseRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
setId(String value)
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public TimedPromoteReleaseRule.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 |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimedPromoteReleaseRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
setSchedule(String value)
public TimedPromoteReleaseRule.Builder setSchedule(String value)
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
string schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The schedule to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setScheduleBytes(ByteString value)
public TimedPromoteReleaseRule.Builder setScheduleBytes(ByteString value)
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
string schedule = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for schedule to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setTimeZone(String value)
public TimedPromoteReleaseRule.Builder setTimeZone(String value)
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The timeZone to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setTimeZoneBytes(ByteString value)
public TimedPromoteReleaseRule.Builder setTimeZoneBytes(ByteString value)
Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for timeZone to set. |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimedPromoteReleaseRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TimedPromoteReleaseRule.Builder |