public final class Canary extends GeneratedMessageV3 implements CanaryOrBuilder
Canary represents the canary deployment strategy.
Protobuf type google.events.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.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
getCanaryDeploymentOrBuilder()
public CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder()
Configures the progressive based deployment for a Target.
.google.events.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.events.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.events.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.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;
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.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCanaryDeployment()
public boolean hasCanaryDeployment()
Configures the progressive based deployment for a Target.
.google.events.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.events.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.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;
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