Package com.google.cloud.deploy.v1
Interface TimedPromoteReleaseRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimedPromoteReleaseRule,TimedPromoteReleaseRule.Builder
@Generated
public interface TimedPromoteReleaseRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getId()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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]([a-z0-9-]{0,61}[a-z0-9])?`.string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.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]([a-z0-9-]{0,61}[a-z0-9])?`.string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
getDestinationTargetId
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:
- The destinationTargetId.
-
getDestinationTargetIdBytes
com.google.protobuf.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:
- The bytes for destinationTargetId.
-
getSchedule
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:
- The schedule.
-
getScheduleBytes
com.google.protobuf.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:
- The bytes for schedule.
-
getTimeZone
String getTimeZone()Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The timeZone.
-
getTimeZoneBytes
com.google.protobuf.ByteString getTimeZoneBytes()Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).
string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for timeZone.
-
hasCondition
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:
- Whether the condition field is set.
-
getCondition
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:
- The condition.
-
getConditionOrBuilder
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]; -
getDestinationPhase
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:
- The destinationPhase.
-
getDestinationPhaseBytes
com.google.protobuf.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:
- The bytes for destinationPhase.
-