public final class CanaryDeployment extends GeneratedMessageV3 implements CanaryDeploymentOrBuilder
CanaryDeployment represents the canary deployment configuration
Protobuf type google.cloud.deploy.v1.CanaryDeployment
Static Fields
PERCENTAGES_FIELD_NUMBER
public static final int PERCENTAGES_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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getVerify()
public boolean getVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;
Returns |
---|
Type | Description |
boolean | The verify.
|
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