Package com.google.cloud.deploy.v1
Class AdvanceRolloutRule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.AdvanceRolloutRule
- All Implemented Interfaces:
AdvanceRolloutRuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AdvanceRolloutRule
extends com.google.protobuf.GeneratedMessage
implements AdvanceRolloutRuleOrBuilder
The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.Protobuf type
google.cloud.deploy.v1.AdvanceRolloutRule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.static AdvanceRolloutRulestatic final com.google.protobuf.Descriptors.DescriptorgetId()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<AdvanceRolloutRule>intgetSourcePhases(int index) Optional.com.google.protobuf.ByteStringgetSourcePhasesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.com.google.protobuf.DurationgetWait()Optional.com.google.protobuf.DurationOrBuilderOptional.booleanOutput only.inthashCode()booleanhasWait()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AdvanceRolloutRule.Builderstatic AdvanceRolloutRule.BuildernewBuilder(AdvanceRolloutRule prototype) protected AdvanceRolloutRule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AdvanceRolloutRuleparseDelimitedFrom(InputStream input) static AdvanceRolloutRuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdvanceRolloutRuleparseFrom(byte[] data) static AdvanceRolloutRuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdvanceRolloutRuleparseFrom(com.google.protobuf.ByteString data) static AdvanceRolloutRuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdvanceRolloutRuleparseFrom(com.google.protobuf.CodedInputStream input) static AdvanceRolloutRuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdvanceRolloutRuleparseFrom(InputStream input) static AdvanceRolloutRuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdvanceRolloutRuleparseFrom(ByteBuffer data) static AdvanceRolloutRuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AdvanceRolloutRule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
SOURCE_PHASES_FIELD_NUMBER
public static final int SOURCE_PHASES_FIELD_NUMBER- See Also:
-
WAIT_FIELD_NUMBER
public static final int WAIT_FIELD_NUMBER- See Also:
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
getIdin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- The id.
-
getIdBytes
public 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];- Specified by:
getIdBytesin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- The bytes for id.
-
getSourcePhasesList
public com.google.protobuf.ProtocolStringList 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];- Specified by:
getSourcePhasesListin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- A list containing the sourcePhases.
-
getSourcePhasesCount
public 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];- Specified by:
getSourcePhasesCountin interfaceAdvanceRolloutRuleOrBuilder- 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];- Specified by:
getSourcePhasesin interfaceAdvanceRolloutRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sourcePhases at the given index.
-
getSourcePhasesBytes
public 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];- Specified by:
getSourcePhasesBytesin interfaceAdvanceRolloutRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourcePhases at the given index.
-
hasWait
public boolean hasWait()Optional. How long to wait after a rollout is finished.
.google.protobuf.Duration wait = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasWaitin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- Whether the wait field is set.
-
getWait
public 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];- Specified by:
getWaitin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- The wait.
-
getWaitOrBuilder
public 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];- Specified by:
getWaitOrBuilderin interfaceAdvanceRolloutRuleOrBuilder
-
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];- Specified by:
hasConditionin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionin interfaceAdvanceRolloutRuleOrBuilder- Returns:
- The condition.
-
getConditionOrBuilder
Output only. Information around the state of the Automation rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionOrBuilderin interfaceAdvanceRolloutRuleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AdvanceRolloutRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvanceRolloutRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvanceRolloutRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvanceRolloutRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvanceRolloutRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvanceRolloutRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AdvanceRolloutRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AdvanceRolloutRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AdvanceRolloutRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AdvanceRolloutRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AdvanceRolloutRule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-