public static final class CanaryDeployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder> implements CanaryDeploymentOrBuilder
CanaryDeployment represents the canary deployment configurationProtobuf type
google.cloud.deploy.v1.CanaryDeploymentgetAllFields, 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<CanaryDeployment.Builder>public CanaryDeployment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.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<CanaryDeployment.Builder>public CanaryDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CanaryDeployment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CanaryDeployment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CanaryDeployment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>public CanaryDeployment.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<CanaryDeployment.Builder>public CanaryDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>public CanaryDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>public CanaryDeployment.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<CanaryDeployment.Builder>public CanaryDeployment.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<CanaryDeployment.Builder>public CanaryDeployment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CanaryDeployment.Builder>public CanaryDeployment.Builder mergeFrom(CanaryDeployment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>public CanaryDeployment.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<CanaryDeployment.Builder>IOExceptionpublic 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 CanaryDeployment.Builder setPercentages(int index, int value)
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];index - The index to set the value at.value - The percentages to set.public CanaryDeployment.Builder addPercentages(int value)
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];value - The percentages to add.public CanaryDeployment.Builder addAllPercentages(Iterable<? extends Integer> values)
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];values - The percentages to add.public CanaryDeployment.Builder clearPercentages()
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];public boolean getVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;getVerify in interface CanaryDeploymentOrBuilderpublic CanaryDeployment.Builder setVerify(boolean value)
Whether to run verify tests after each percentage deployment.
bool verify = 2;value - The verify to set.public CanaryDeployment.Builder clearVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;public 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 CanaryDeployment.Builder setPredeploy(Predeploy value)
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];
public CanaryDeployment.Builder setPredeploy(Predeploy.Builder builderForValue)
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];
public CanaryDeployment.Builder mergePredeploy(Predeploy value)
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];
public CanaryDeployment.Builder clearPredeploy()
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];
public Predeploy.Builder getPredeployBuilder()
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];
public 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 CanaryDeployment.Builder setPostdeploy(Postdeploy value)
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];
public CanaryDeployment.Builder setPostdeploy(Postdeploy.Builder builderForValue)
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];
public CanaryDeployment.Builder mergePostdeploy(Postdeploy value)
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];
public CanaryDeployment.Builder clearPostdeploy()
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];
public Postdeploy.Builder getPostdeployBuilder()
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];
public 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 CanaryDeployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>public final CanaryDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CanaryDeployment.Builder>Copyright © 2024 Google LLC. All rights reserved.