Class BlueGreenSettings.Builder (2.47.0)

public static final class BlueGreenSettings.Builder extends GeneratedMessageV3.Builder<BlueGreenSettings.Builder> implements BlueGreenSettingsOrBuilder

Settings for blue-green upgrade.

Protobuf type google.container.v1.BlueGreenSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BlueGreenSettings.Builder
Overrides

build()

public BlueGreenSettings build()
Returns
Type Description
BlueGreenSettings

buildPartial()

public BlueGreenSettings buildPartial()
Returns
Type Description
BlueGreenSettings

clear()

public BlueGreenSettings.Builder clear()
Returns
Type Description
BlueGreenSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BlueGreenSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BlueGreenSettings.Builder
Overrides

clearNodePoolSoakDuration()

public BlueGreenSettings.Builder clearNodePoolSoakDuration()

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Returns
Type Description
BlueGreenSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BlueGreenSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BlueGreenSettings.Builder
Overrides

clearRolloutPolicy()

public BlueGreenSettings.Builder clearRolloutPolicy()
Returns
Type Description
BlueGreenSettings.Builder

clearStandardRolloutPolicy()

public BlueGreenSettings.Builder clearStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Returns
Type Description
BlueGreenSettings.Builder

clone()

public BlueGreenSettings.Builder clone()
Returns
Type Description
BlueGreenSettings.Builder
Overrides

getDefaultInstanceForType()

public BlueGreenSettings getDefaultInstanceForType()
Returns
Type Description
BlueGreenSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodePoolSoakDuration()

public Duration getNodePoolSoakDuration()

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Returns
Type Description
Duration

The nodePoolSoakDuration.

getNodePoolSoakDurationBuilder()

public Duration.Builder getNodePoolSoakDurationBuilder()

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Returns
Type Description
Builder

getNodePoolSoakDurationOrBuilder()

public DurationOrBuilder getNodePoolSoakDurationOrBuilder()

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Returns
Type Description
DurationOrBuilder

getRolloutPolicyCase()

public BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase()
Returns
Type Description
BlueGreenSettings.RolloutPolicyCase

getStandardRolloutPolicy()

public BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Returns
Type Description
BlueGreenSettings.StandardRolloutPolicy

The standardRolloutPolicy.

getStandardRolloutPolicyBuilder()

public BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder()

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Returns
Type Description
BlueGreenSettings.StandardRolloutPolicy.Builder

getStandardRolloutPolicyOrBuilder()

public BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder()

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Returns
Type Description
BlueGreenSettings.StandardRolloutPolicyOrBuilder

hasNodePoolSoakDuration()

public boolean hasNodePoolSoakDuration()

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Returns
Type Description
boolean

Whether the nodePoolSoakDuration field is set.

hasStandardRolloutPolicy()

public boolean hasStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Returns
Type Description
boolean

Whether the standardRolloutPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BlueGreenSettings other)

public BlueGreenSettings.Builder mergeFrom(BlueGreenSettings other)
Parameter
Name Description
other BlueGreenSettings
Returns
Type Description
BlueGreenSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BlueGreenSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BlueGreenSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BlueGreenSettings.Builder
Overrides

mergeNodePoolSoakDuration(Duration value)

public BlueGreenSettings.Builder mergeNodePoolSoakDuration(Duration value)

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
BlueGreenSettings.Builder

mergeStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy value)

public BlueGreenSettings.Builder mergeStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy value)

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Parameter
Name Description
value BlueGreenSettings.StandardRolloutPolicy
Returns
Type Description
BlueGreenSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BlueGreenSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BlueGreenSettings.Builder
Overrides

setNodePoolSoakDuration(Duration value)

public BlueGreenSettings.Builder setNodePoolSoakDuration(Duration value)

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
BlueGreenSettings.Builder

setNodePoolSoakDuration(Duration.Builder builderForValue)

public BlueGreenSettings.Builder setNodePoolSoakDuration(Duration.Builder builderForValue)

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

optional .google.protobuf.Duration node_pool_soak_duration = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BlueGreenSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BlueGreenSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BlueGreenSettings.Builder
Overrides

setStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy value)

public BlueGreenSettings.Builder setStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy value)

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Parameter
Name Description
value BlueGreenSettings.StandardRolloutPolicy
Returns
Type Description
BlueGreenSettings.Builder

setStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue)

public BlueGreenSettings.Builder setStandardRolloutPolicy(BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue)

Standard policy for the blue-green upgrade.

.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

Parameter
Name Description
builderForValue BlueGreenSettings.StandardRolloutPolicy.Builder
Returns
Type Description
BlueGreenSettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BlueGreenSettings.Builder
Overrides