public final class Canary extends GeneratedMessageV3 implements CanaryOrBuilder
Canary represents the canary deployment strategy.
Protobuf type google.cloud.deploy.v1.Canary
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
CANARY_DEPLOYMENT_FIELD_NUMBER
public static final int CANARY_DEPLOYMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CUSTOM_CANARY_DEPLOYMENT_FIELD_NUMBER
public static final int CUSTOM_CANARY_DEPLOYMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RUNTIME_CONFIG_FIELD_NUMBER
public static final int RUNTIME_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Canary getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Canary.Builder newBuilder()
newBuilder(Canary prototype)
public static Canary.Builder newBuilder(Canary prototype)
Parameter |
---|
Name | Description |
prototype | Canary
|
public static Canary parseDelimitedFrom(InputStream input)
public static Canary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Canary parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Canary parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom(CodedInputStream input)
public static Canary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom(InputStream input)
public static Canary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Canary parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Canary> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCanaryDeployment()
public CanaryDeployment getCanaryDeployment()
Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
getCanaryDeploymentOrBuilder()
public CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder()
Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
getCustomCanaryDeployment()
public CustomCanaryDeployment getCustomCanaryDeployment()
Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
getCustomCanaryDeploymentOrBuilder()
public CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder()
Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
getDefaultInstanceForType()
public Canary getDefaultInstanceForType()
getModeCase()
public Canary.ModeCase getModeCase()
getParserForType()
public Parser<Canary> getParserForType()
Overrides
getRuntimeConfig()
public RuntimeConfig getRuntimeConfig()
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
.google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfigOrBuilder()
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
.google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasCanaryDeployment()
public boolean hasCanaryDeployment()
Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
Returns |
---|
Type | Description |
boolean | Whether the canaryDeployment field is set.
|
hasCustomCanaryDeployment()
public boolean hasCustomCanaryDeployment()
Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
.google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;
Returns |
---|
Type | Description |
boolean | Whether the customCanaryDeployment field is set.
|
hasRuntimeConfig()
public boolean hasRuntimeConfig()
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
.google.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the runtimeConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Canary.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Canary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Canary.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides