Package com.google.cloud.deploy.v1
Interface AdvanceRolloutRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvanceRolloutRule,AdvanceRolloutRule.Builder
@Generated
public interface AdvanceRolloutRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.getId()Required.com.google.protobuf.ByteStringRequired.getSourcePhases(int index) Optional.com.google.protobuf.ByteStringgetSourcePhasesBytes(int index) Optional.intOptional.Optional.com.google.protobuf.DurationgetWait()Optional.com.google.protobuf.DurationOrBuilderOptional.booleanOutput only.booleanhasWait()Optional.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.
-
getSourcePhasesList
Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the sourcePhases.
-
getSourcePhasesCount
int getSourcePhasesCount()Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of sourcePhases.
-
getSourcePhases
Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The sourcePhases at the given index.
-
getSourcePhasesBytes
com.google.protobuf.ByteString getSourcePhasesBytes(int index) Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.repeated string source_phases = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourcePhases at the given index.
-
hasWait
boolean hasWait()Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the wait field is set.
-
getWait
com.google.protobuf.Duration getWait()Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The wait.
-
getWaitOrBuilder
com.google.protobuf.DurationOrBuilder getWaitOrBuilder()Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL]; -
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];
-