public static final class CustomCanaryDeployment.PhaseConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder> implements CustomCanaryDeployment.PhaseConfigOrBuilder
PhaseConfig represents the configuration for a phase in the custom canary deployment.Protobuf type
google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomCanaryDeployment.PhaseConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomCanaryDeployment.PhaseConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomCanaryDeployment.PhaseConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(CustomCanaryDeployment.PhaseConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomCanaryDeployment.PhaseConfig.Builder>IOExceptionpublic 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 CustomCanaryDeployment.PhaseConfig.Builder setPhaseId(String value)
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];value - The phaseId to set.public CustomCanaryDeployment.PhaseConfig.Builder clearPhaseId()
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];public CustomCanaryDeployment.PhaseConfig.Builder setPhaseIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for phaseId to set.public int getPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];getPercentage in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic CustomCanaryDeployment.PhaseConfig.Builder setPercentage(int value)
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];value - The percentage to set.public CustomCanaryDeployment.PhaseConfig.Builder clearPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];public 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 CustomCanaryDeployment.PhaseConfig.Builder setProfiles(int index, String value)
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;index - The index to set the value at.value - The profiles to set.public CustomCanaryDeployment.PhaseConfig.Builder addProfiles(String value)
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;value - The profiles to add.public CustomCanaryDeployment.PhaseConfig.Builder addAllProfiles(Iterable<String> values)
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;values - The profiles to add.public CustomCanaryDeployment.PhaseConfig.Builder clearProfiles()
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;public CustomCanaryDeployment.PhaseConfig.Builder addProfilesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the profiles to add.public boolean getVerify()
Whether to run verify tests after the deployment.
bool verify = 4;getVerify in interface CustomCanaryDeployment.PhaseConfigOrBuilderpublic CustomCanaryDeployment.PhaseConfig.Builder setVerify(boolean value)
Whether to run verify tests after the deployment.
bool verify = 4;value - The verify to set.public CustomCanaryDeployment.PhaseConfig.Builder clearVerify()
Whether to run verify tests after the deployment.
bool verify = 4;public 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 CustomCanaryDeployment.PhaseConfig.Builder setPredeploy(Predeploy value)
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];
public CustomCanaryDeployment.PhaseConfig.Builder setPredeploy(Predeploy.Builder builderForValue)
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];
public CustomCanaryDeployment.PhaseConfig.Builder mergePredeploy(Predeploy value)
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];
public CustomCanaryDeployment.PhaseConfig.Builder clearPredeploy()
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];
public Predeploy.Builder getPredeployBuilder()
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];
public 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 CustomCanaryDeployment.PhaseConfig.Builder setPostdeploy(Postdeploy value)
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];
public CustomCanaryDeployment.PhaseConfig.Builder setPostdeploy(Postdeploy.Builder builderForValue)
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];
public CustomCanaryDeployment.PhaseConfig.Builder mergePostdeploy(Postdeploy value)
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];
public CustomCanaryDeployment.PhaseConfig.Builder clearPostdeploy()
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];
public Postdeploy.Builder getPostdeployBuilder()
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];
public 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 CustomCanaryDeployment.PhaseConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>public final CustomCanaryDeployment.PhaseConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.