public static final class CustomCanaryDeployment.PhaseConfig extends com.google.protobuf.GeneratedMessageV3 implements CustomCanaryDeployment.PhaseConfigOrBuilder
PhaseConfig represents the configuration for a phase in the custom canary deployment.Protobuf type
google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CustomCanaryDeployment.PhaseConfig.Builder
PhaseConfig represents the configuration for a phase in the custom
canary deployment.
|
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 |
PERCENTAGE_FIELD_NUMBER |
static int |
PHASE_ID_FIELD_NUMBER |
static int |
POSTDEPLOY_FIELD_NUMBER |
static int |
PREDEPLOY_FIELD_NUMBER |
static int |
PROFILES_FIELD_NUMBER |
static int |
VERIFY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CustomCanaryDeployment.PhaseConfig |
getDefaultInstance() |
CustomCanaryDeployment.PhaseConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CustomCanaryDeployment.PhaseConfig> |
getParserForType() |
int |
getPercentage()
Required.
|
String |
getPhaseId()
Required.
|
com.google.protobuf.ByteString |
getPhaseIdBytes()
Required.
|
Postdeploy |
getPostdeploy()
Optional.
|
PostdeployOrBuilder |
getPostdeployOrBuilder()
Optional.
|
Predeploy |
getPredeploy()
Optional.
|
PredeployOrBuilder |
getPredeployOrBuilder()
Optional.
|
String |
getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this phase.
|
com.google.protobuf.ByteString |
getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this phase.
|
int |
getProfilesCount()
Skaffold profiles to use when rendering the manifest for this phase.
|
com.google.protobuf.ProtocolStringList |
getProfilesList()
Skaffold profiles to use when rendering the manifest for this phase.
|
int |
getSerializedSize() |
boolean |
getVerify()
Whether to run verify tests after the deployment.
|
int |
hashCode() |
boolean |
hasPostdeploy()
Optional.
|
boolean |
hasPredeploy()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomCanaryDeployment.PhaseConfig.Builder |
newBuilder() |
static CustomCanaryDeployment.PhaseConfig.Builder |
newBuilder(CustomCanaryDeployment.PhaseConfig prototype) |
CustomCanaryDeployment.PhaseConfig.Builder |
newBuilderForType() |
protected CustomCanaryDeployment.PhaseConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomCanaryDeployment.PhaseConfig |
parseDelimitedFrom(InputStream input) |
static CustomCanaryDeployment.PhaseConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(byte[] data) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(ByteBuffer data) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(InputStream input) |
static CustomCanaryDeployment.PhaseConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomCanaryDeployment.PhaseConfig> |
parser() |
CustomCanaryDeployment.PhaseConfig.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 PHASE_ID_FIELD_NUMBER
public static final int PERCENTAGE_FIELD_NUMBER
public static final int PROFILES_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 String getPhaseId()
Required. The ID to assign to the `Rollout` phase.
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])?$`.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];getPhaseId in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic com.google.protobuf.ByteString getPhaseIdBytes()
Required. The ID to assign to the `Rollout` phase.
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])?$`.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];getPhaseIdBytes in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic int getPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];getPercentage in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getProfilesList()
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;getProfilesList in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;getProfilesCount in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;getProfiles in interface CustomCanaryDeployment.PhaseConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;getProfilesBytes in interface CustomCanaryDeployment.PhaseConfigOrBuilderindex - The index of the value to return.public boolean getVerify()
Whether to run verify tests after the deployment.
bool verify = 4;getVerify in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic boolean hasPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
hasPredeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic Predeploy getPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
getPredeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic PredeployOrBuilder getPredeployOrBuilder()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
getPredeployOrBuilder in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic boolean hasPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
hasPostdeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic Postdeploy getPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
getPostdeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic PostdeployOrBuilder getPostdeployOrBuilder()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
getPostdeployOrBuilder in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic 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 CustomCanaryDeployment.PhaseConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomCanaryDeployment.PhaseConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomCanaryDeployment.PhaseConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomCanaryDeployment.PhaseConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomCanaryDeployment.PhaseConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomCanaryDeployment.PhaseConfig.Builder newBuilder()
public static CustomCanaryDeployment.PhaseConfig.Builder newBuilder(CustomCanaryDeployment.PhaseConfig prototype)
public CustomCanaryDeployment.PhaseConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomCanaryDeployment.PhaseConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomCanaryDeployment.PhaseConfig getDefaultInstance()
public static com.google.protobuf.Parser<CustomCanaryDeployment.PhaseConfig> parser()
public com.google.protobuf.Parser<CustomCanaryDeployment.PhaseConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.