Send feedback
Class Canary (1.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.54.0 keyboard_arrow_down
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 ()
Returns
Type
Description
Canary
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 )
Returns
Type
Description
Canary
public static Canary parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
parseFrom(byte[] data)
public static Canary parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Canary
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
parseFrom(ByteString data)
public static Canary parseFrom ( ByteString data )
Returns
Type
Description
Canary
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
public static Canary parseFrom ( CodedInputStream input )
Returns
Type
Description
Canary
public static Canary parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
public static Canary parseFrom ( InputStream input )
Returns
Type
Description
Canary
public static Canary parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
parseFrom(ByteBuffer data)
public static Canary parseFrom ( ByteBuffer data )
Returns
Type
Description
Canary
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Canary parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Canary
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 ()
Returns
Type
Description
Canary
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 )
Returns
Type
Description
Object
Overrides
toBuilder()
public Canary . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]