- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class CanaryDeployment.Builder extends GeneratedMessageV3.Builder<CanaryDeployment.Builder> implements CanaryDeploymentOrBuilder
CanaryDeployment represents the canary deployment configuration
Protobuf type google.cloud.deploy.v1.CanaryDeployment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CanaryDeployment.BuilderImplements
CanaryDeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPercentages(Iterable<? extends Integer> values)
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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends java.lang.Integer> The percentages to add. |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |
addPercentages(int value)
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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The percentages to add. |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CanaryDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
build()
public CanaryDeployment build()
Returns | |
---|---|
Type | Description |
CanaryDeployment |
buildPartial()
public CanaryDeployment buildPartial()
Returns | |
---|---|
Type | Description |
CanaryDeployment |
clear()
public CanaryDeployment.Builder clear()
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
clearField(Descriptors.FieldDescriptor field)
public CanaryDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CanaryDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
clearPercentages()
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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |
clearPostdeploy()
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];
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
clearPredeploy()
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];
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
clearVerify()
public CanaryDeployment.Builder clearVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |
clone()
public CanaryDeployment.Builder clone()
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
getDefaultInstanceForType()
public CanaryDeployment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CanaryDeployment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPercentages(int index)
public 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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int |
The percentages at the given index. |
getPercentagesCount()
public 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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of percentages. |
getPercentagesList()
public 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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the percentages. |
getPostdeploy()
public 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];
Returns | |
---|---|
Type | Description |
Postdeploy |
The postdeploy. |
getPostdeployBuilder()
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];
Returns | |
---|---|
Type | Description |
Postdeploy.Builder |
getPostdeployOrBuilder()
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];
Returns | |
---|---|
Type | Description |
PostdeployOrBuilder |
getPredeploy()
public 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];
Returns | |
---|---|
Type | Description |
Predeploy |
The predeploy. |
getPredeployBuilder()
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];
Returns | |
---|---|
Type | Description |
Predeploy.Builder |
getPredeployOrBuilder()
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];
Returns | |
---|---|
Type | Description |
PredeployOrBuilder |
getVerify()
public boolean getVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;
Returns | |
---|---|
Type | Description |
boolean |
The verify. |
hasPostdeploy()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the postdeploy field is set. |
hasPredeploy()
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the predeploy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CanaryDeployment other)
public CanaryDeployment.Builder mergeFrom(CanaryDeployment other)
Parameter | |
---|---|
Name | Description |
other |
CanaryDeployment |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CanaryDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CanaryDeployment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
mergePostdeploy(Postdeploy value)
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];
Parameter | |
---|---|
Name | Description |
value |
Postdeploy |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
mergePredeploy(Predeploy value)
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];
Parameter | |
---|---|
Name | Description |
value |
Predeploy |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CanaryDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CanaryDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setPercentages(int index, int value)
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.
If the GatewayServiceMesh is configured for Kubernetes, then the range for
n is 0 <= n <= 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The percentages to set. |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |
setPostdeploy(Postdeploy value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
Postdeploy |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setPostdeploy(Postdeploy.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Postdeploy.Builder |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setPredeploy(Predeploy value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
Predeploy |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setPredeploy(Predeploy.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Predeploy.Builder |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CanaryDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CanaryDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
setVerify(boolean value)
public CanaryDeployment.Builder setVerify(boolean value)
Whether to run verify tests after each percentage deployment.
bool verify = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The verify to set. |
Returns | |
---|---|
Type | Description |
CanaryDeployment.Builder |
This builder for chaining. |