public final class PromoteReleaseRule extends com.google.protobuf.GeneratedMessageV3 implements PromoteReleaseRuleOrBuilder
`PromoteRelease` rule will automatically promote a release from the current target to a specified target.Protobuf type
google.cloud.deploy.v1.PromoteReleaseRule| Modifier and Type | Class and Description |
|---|---|
static class |
PromoteReleaseRule.Builder
`PromoteRelease` rule will automatically promote a release from the current
target to a specified target.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONDITION_FIELD_NUMBER |
static int |
DESTINATION_PHASE_FIELD_NUMBER |
static int |
DESTINATION_TARGET_ID_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
WAIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AutomationRuleCondition |
getCondition()
Output only.
|
AutomationRuleConditionOrBuilder |
getConditionOrBuilder()
Output only.
|
static PromoteReleaseRule |
getDefaultInstance() |
PromoteReleaseRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestinationPhase()
Optional.
|
com.google.protobuf.ByteString |
getDestinationPhaseBytes()
Optional.
|
String |
getDestinationTargetId()
Optional.
|
com.google.protobuf.ByteString |
getDestinationTargetIdBytes()
Optional.
|
String |
getId()
Required.
|
com.google.protobuf.ByteString |
getIdBytes()
Required.
|
com.google.protobuf.Parser<PromoteReleaseRule> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Duration |
getWait()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getWaitOrBuilder()
Optional.
|
boolean |
hasCondition()
Output only.
|
int |
hashCode() |
boolean |
hasWait()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PromoteReleaseRule.Builder |
newBuilder() |
static PromoteReleaseRule.Builder |
newBuilder(PromoteReleaseRule prototype) |
PromoteReleaseRule.Builder |
newBuilderForType() |
protected PromoteReleaseRule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PromoteReleaseRule |
parseDelimitedFrom(InputStream input) |
static PromoteReleaseRule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PromoteReleaseRule |
parseFrom(byte[] data) |
static PromoteReleaseRule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PromoteReleaseRule |
parseFrom(ByteBuffer data) |
static PromoteReleaseRule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PromoteReleaseRule |
parseFrom(com.google.protobuf.ByteString data) |
static PromoteReleaseRule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PromoteReleaseRule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PromoteReleaseRule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PromoteReleaseRule |
parseFrom(InputStream input) |
static PromoteReleaseRule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PromoteReleaseRule> |
parser() |
PromoteReleaseRule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int WAIT_FIELD_NUMBER
public static final int DESTINATION_TARGET_ID_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
public static final int DESTINATION_PHASE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getId in interface PromoteReleaseRuleOrBuilderpublic 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,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getIdBytes in interface PromoteReleaseRuleOrBuilderpublic boolean hasWait()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];hasWait in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.Duration getWait()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];getWait in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Optional. How long the release need to be paused until being promoted to the next target.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];getWaitOrBuilder in interface PromoteReleaseRuleOrBuilderpublic 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. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];getDestinationTargetId in interface PromoteReleaseRuleOrBuilderpublic 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. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
string destination_target_id = 7 [(.google.api.field_behavior) = OPTIONAL];getDestinationTargetIdBytes in interface PromoteReleaseRuleOrBuilderpublic 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];
hasCondition in interface PromoteReleaseRuleOrBuilderpublic 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];
getCondition in interface PromoteReleaseRuleOrBuilderpublic 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];
getConditionOrBuilder in interface PromoteReleaseRuleOrBuilderpublic String getDestinationPhase()
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];getDestinationPhase in interface PromoteReleaseRuleOrBuilderpublic com.google.protobuf.ByteString getDestinationPhaseBytes()
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
string destination_phase = 8 [(.google.api.field_behavior) = OPTIONAL];getDestinationPhaseBytes in interface PromoteReleaseRuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PromoteReleaseRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PromoteReleaseRule parseFrom(InputStream input) throws IOException
IOExceptionpublic static PromoteReleaseRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PromoteReleaseRule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PromoteReleaseRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PromoteReleaseRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PromoteReleaseRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PromoteReleaseRule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PromoteReleaseRule.Builder newBuilder()
public static PromoteReleaseRule.Builder newBuilder(PromoteReleaseRule prototype)
public PromoteReleaseRule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PromoteReleaseRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PromoteReleaseRule getDefaultInstance()
public static com.google.protobuf.Parser<PromoteReleaseRule> parser()
public com.google.protobuf.Parser<PromoteReleaseRule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PromoteReleaseRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.