public static final class Canary.Builder extends GeneratedMessageV3.Builder<Canary.Builder> implements CanaryOrBuilder
Canary represents the canary deployment strategy.
Protobuf type google.events.cloud.deploy.v1.Canary
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Canary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Canary |
|
buildPartial()
public Canary buildPartial()
Returns |
Type |
Description |
Canary |
|
clear()
public Canary.Builder clear()
Overrides
clearCanaryDeployment()
public Canary.Builder clearCanaryDeployment()
Configures the progressive based deployment for a Target.
.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
clearCustomCanaryDeployment()
public Canary.Builder clearCustomCanaryDeployment()
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;
clearField(Descriptors.FieldDescriptor field)
public Canary.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public Canary.Builder clearMode()
clearOneof(Descriptors.OneofDescriptor oneof)
public Canary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRuntimeConfig()
public Canary.Builder clearRuntimeConfig()
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;
clone()
public Canary.Builder clone()
Overrides
getCanaryDeployment()
public CanaryDeployment getCanaryDeployment()
Configures the progressive based deployment for a Target.
.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
getCanaryDeploymentBuilder()
public CanaryDeployment.Builder getCanaryDeploymentBuilder()
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;
getCustomCanaryDeploymentBuilder()
public CustomCanaryDeployment.Builder getCustomCanaryDeploymentBuilder()
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModeCase()
public Canary.ModeCase getModeCase()
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;
getRuntimeConfigBuilder()
public RuntimeConfig.Builder getRuntimeConfigBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCanaryDeployment(CanaryDeployment value)
public Canary.Builder mergeCanaryDeployment(CanaryDeployment value)
Configures the progressive based deployment for a Target.
.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
mergeCustomCanaryDeployment(CustomCanaryDeployment value)
public Canary.Builder mergeCustomCanaryDeployment(CustomCanaryDeployment value)
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;
mergeFrom(Canary other)
public Canary.Builder mergeFrom(Canary other)
Parameter |
Name |
Description |
other |
Canary
|
public Canary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Canary.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRuntimeConfig(RuntimeConfig value)
public Canary.Builder mergeRuntimeConfig(RuntimeConfig value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Canary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCanaryDeployment(CanaryDeployment value)
public Canary.Builder setCanaryDeployment(CanaryDeployment value)
Configures the progressive based deployment for a Target.
.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
setCanaryDeployment(CanaryDeployment.Builder builderForValue)
public Canary.Builder setCanaryDeployment(CanaryDeployment.Builder builderForValue)
Configures the progressive based deployment for a Target.
.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;
setCustomCanaryDeployment(CustomCanaryDeployment value)
public Canary.Builder setCustomCanaryDeployment(CustomCanaryDeployment value)
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;
setCustomCanaryDeployment(CustomCanaryDeployment.Builder builderForValue)
public Canary.Builder setCustomCanaryDeployment(CustomCanaryDeployment.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Canary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Canary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRuntimeConfig(RuntimeConfig value)
public Canary.Builder setRuntimeConfig(RuntimeConfig value)
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;
setRuntimeConfig(RuntimeConfig.Builder builderForValue)
public Canary.Builder setRuntimeConfig(RuntimeConfig.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Canary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides