public final class CanaryDeployment extends GeneratedMessageV3 implements CanaryDeploymentOrBuilder
CanaryDeployment represents the canary deployment configuration
Protobuf type google.cloud.deploy.v1.CanaryDeployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PERCENTAGES_FIELD_NUMBER
public static final int PERCENTAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POSTDEPLOY_FIELD_NUMBER
public static final int POSTDEPLOY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PREDEPLOY_FIELD_NUMBER
public static final int PREDEPLOY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERIFY_FIELD_NUMBER
public static final int VERIFY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CanaryDeployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CanaryDeployment.Builder newBuilder()
newBuilder(CanaryDeployment prototype)
public static CanaryDeployment.Builder newBuilder(CanaryDeployment prototype)
public static CanaryDeployment parseDelimitedFrom(InputStream input)
public static CanaryDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CanaryDeployment parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CanaryDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CanaryDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CanaryDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CanaryDeployment parseFrom(CodedInputStream input)
public static CanaryDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CanaryDeployment parseFrom(InputStream input)
public static CanaryDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CanaryDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CanaryDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CanaryDeployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CanaryDeployment getDefaultInstanceForType()
getParserForType()
public Parser<CanaryDeployment> getParserForType()
Overrides
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.
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.
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.
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];
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];
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.
|
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];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CanaryDeployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CanaryDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CanaryDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides