public final class TimedPromoteReleaseRule extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESTINATION_PHASE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESTINATION_TARGET_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static TimedPromoteReleaseRule getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TimedPromoteReleaseRule.Builder newBuilder()
public static TimedPromoteReleaseRule.Builder newBuilder(TimedPromoteReleaseRule prototype)
public static TimedPromoteReleaseRule parseDelimitedFrom(InputStream input)
public static TimedPromoteReleaseRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedPromoteReleaseRule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static TimedPromoteReleaseRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimedPromoteReleaseRule parseFrom(ByteString data)
public static TimedPromoteReleaseRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimedPromoteReleaseRule parseFrom(CodedInputStream input)
public static TimedPromoteReleaseRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedPromoteReleaseRule parseFrom(InputStream input)
public static TimedPromoteReleaseRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedPromoteReleaseRule parseFrom(ByteBuffer data)
public static TimedPromoteReleaseRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TimedPromoteReleaseRule> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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];
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];
public TimedPromoteReleaseRule getDefaultInstanceForType()
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
public Parser<TimedPromoteReleaseRule> getParserForType()
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TimedPromoteReleaseRule.Builder newBuilderForType()
protected TimedPromoteReleaseRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public TimedPromoteReleaseRule.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides