public static final class Canary.Builder extends GeneratedMessage.Builder<Canary.Builder> implements CanaryOrBuilderCanary represents the canary deployment strategy.
Protobuf type google.cloud.deploy.v1.Canary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Canary.BuilderImplements
CanaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Canary build()| Returns | |
|---|---|
| Type | Description |
Canary |
|
buildPartial()
public Canary buildPartial()| Returns | |
|---|---|
| Type | Description |
Canary |
|
clear()
public Canary.Builder clear()| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
clearCanaryDeployment()
public Canary.Builder clearCanaryDeployment()Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
clearCustomCanaryDeployment()
public Canary.Builder clearCustomCanaryDeployment()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
clearMode()
public Canary.Builder clearMode()| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
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.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
getCanaryDeployment()
public CanaryDeployment getCanaryDeployment()Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CanaryDeployment |
The canaryDeployment. |
getCanaryDeploymentBuilder()
public CanaryDeployment.Builder getCanaryDeploymentBuilder()Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CanaryDeployment.Builder |
|
getCanaryDeploymentOrBuilder()
public CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder()Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CanaryDeploymentOrBuilder |
|
getCustomCanaryDeployment()
public CustomCanaryDeployment getCustomCanaryDeployment()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomCanaryDeployment |
The customCanaryDeployment. |
getCustomCanaryDeploymentBuilder()
public CustomCanaryDeployment.Builder getCustomCanaryDeploymentBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomCanaryDeployment.Builder |
|
getCustomCanaryDeploymentOrBuilder()
public CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomCanaryDeploymentOrBuilder |
|
getDefaultInstanceForType()
public Canary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Canary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModeCase()
public Canary.ModeCase getModeCase()| Returns | |
|---|---|
| Type | Description |
Canary.ModeCase |
|
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];
| Returns | |
|---|---|
| Type | Description |
RuntimeConfig |
The runtimeConfig. |
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.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RuntimeConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
RuntimeConfigOrBuilder |
|
hasCanaryDeployment()
public boolean hasCanaryDeployment()Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the canaryDeployment field is set. |
hasCustomCanaryDeployment()
public boolean hasCustomCanaryDeployment()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCanaryDeployment(CanaryDeployment value)
public Canary.Builder mergeCanaryDeployment(CanaryDeployment value)Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CanaryDeployment |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
mergeCustomCanaryDeployment(CustomCanaryDeployment value)
public Canary.Builder mergeCustomCanaryDeployment(CustomCanaryDeployment value)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomCanaryDeployment |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
mergeFrom(Canary other)
public Canary.Builder mergeFrom(Canary other)| Parameter | |
|---|---|
| Name | Description |
other |
Canary |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Canary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Canary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
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.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RuntimeConfig |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
setCanaryDeployment(CanaryDeployment value)
public Canary.Builder setCanaryDeployment(CanaryDeployment value)Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CanaryDeployment |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
setCanaryDeployment(CanaryDeployment.Builder builderForValue)
public Canary.Builder setCanaryDeployment(CanaryDeployment.Builder builderForValue)Optional. Configures the progressive based deployment for a Target.
.google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CanaryDeployment.Builder |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
setCustomCanaryDeployment(CustomCanaryDeployment value)
public Canary.Builder setCustomCanaryDeployment(CustomCanaryDeployment value)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomCanaryDeployment |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
setCustomCanaryDeployment(CustomCanaryDeployment.Builder builderForValue)
public Canary.Builder setCustomCanaryDeployment(CustomCanaryDeployment.Builder builderForValue)Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomCanaryDeployment.Builder |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
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.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RuntimeConfig |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|
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.cloud.deploy.v1.RuntimeConfig runtime_config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RuntimeConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Canary.Builder |
|