public final class CanaryDeployment extends com.google.protobuf.GeneratedMessageV3 implements CanaryDeploymentOrBuilder
CanaryDeployment represents the canary deployment configurationProtobuf type
google.cloud.deploy.v1.CanaryDeployment| Modifier and Type | Class and Description |
|---|---|
static class |
CanaryDeployment.Builder
CanaryDeployment represents the canary deployment configuration
|
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 |
PERCENTAGES_FIELD_NUMBER |
static int |
POSTDEPLOY_FIELD_NUMBER |
static int |
PREDEPLOY_FIELD_NUMBER |
static int |
VERIFY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CanaryDeployment |
getDefaultInstance() |
CanaryDeployment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CanaryDeployment> |
getParserForType() |
int |
getPercentages(int index)
Required.
|
int |
getPercentagesCount()
Required.
|
List<Integer> |
getPercentagesList()
Required.
|
Postdeploy |
getPostdeploy()
Optional.
|
PostdeployOrBuilder |
getPostdeployOrBuilder()
Optional.
|
Predeploy |
getPredeploy()
Optional.
|
PredeployOrBuilder |
getPredeployOrBuilder()
Optional.
|
int |
getSerializedSize() |
boolean |
getVerify()
Whether to run verify tests after each percentage deployment.
|
int |
hashCode() |
boolean |
hasPostdeploy()
Optional.
|
boolean |
hasPredeploy()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CanaryDeployment.Builder |
newBuilder() |
static CanaryDeployment.Builder |
newBuilder(CanaryDeployment prototype) |
CanaryDeployment.Builder |
newBuilderForType() |
protected CanaryDeployment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CanaryDeployment |
parseDelimitedFrom(InputStream input) |
static CanaryDeployment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanaryDeployment |
parseFrom(byte[] data) |
static CanaryDeployment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanaryDeployment |
parseFrom(ByteBuffer data) |
static CanaryDeployment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanaryDeployment |
parseFrom(com.google.protobuf.ByteString data) |
static CanaryDeployment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanaryDeployment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CanaryDeployment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanaryDeployment |
parseFrom(InputStream input) |
static CanaryDeployment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CanaryDeployment> |
parser() |
CanaryDeployment.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 PERCENTAGES_FIELD_NUMBER
public static final int VERIFY_FIELD_NUMBER
public static final int PREDEPLOY_FIELD_NUMBER
public static final int POSTDEPLOY_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 List<Integer> getPercentagesList()
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];getPercentagesList in interface CanaryDeploymentOrBuilderpublic int getPercentagesCount()
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];getPercentagesCount in interface CanaryDeploymentOrBuilderpublic int getPercentages(int index)
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];getPercentages in interface CanaryDeploymentOrBuilderindex - The index of the element to return.public boolean getVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;getVerify in interface CanaryDeploymentOrBuilderpublic boolean hasPredeploy()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
hasPredeploy in interface CanaryDeploymentOrBuilderpublic Predeploy getPredeploy()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
getPredeploy in interface CanaryDeploymentOrBuilderpublic PredeployOrBuilder getPredeployOrBuilder()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
getPredeployOrBuilder in interface CanaryDeploymentOrBuilderpublic boolean hasPostdeploy()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPostdeploy in interface CanaryDeploymentOrBuilderpublic Postdeploy getPostdeploy()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
getPostdeploy in interface CanaryDeploymentOrBuilderpublic PostdeployOrBuilder getPostdeployOrBuilder()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
getPostdeployOrBuilder in interface CanaryDeploymentOrBuilderpublic 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 CanaryDeployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanaryDeployment parseFrom(InputStream input) throws IOException
IOExceptionpublic static CanaryDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CanaryDeployment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CanaryDeployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CanaryDeployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CanaryDeployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CanaryDeployment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CanaryDeployment.Builder newBuilder()
public static CanaryDeployment.Builder newBuilder(CanaryDeployment prototype)
public CanaryDeployment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CanaryDeployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CanaryDeployment getDefaultInstance()
public static com.google.protobuf.Parser<CanaryDeployment> parser()
public com.google.protobuf.Parser<CanaryDeployment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CanaryDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.