Class BlueGreenSettings.Builder (2.19.0)

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

Settings for blue-green upgrade.

Protobuf type google.container.v1beta1.BlueGreenSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

build()

public BlueGreenSettings build()
Returns
TypeDescription
BlueGreenSettings

buildPartial()

public BlueGreenSettings buildPartial()
Returns
TypeDescription
BlueGreenSettings

clear()

public BlueGreenSettings.Builder clear()
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BlueGreenSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BlueGreenSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BlueGreenSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

clearRolloutPolicy()

public BlueGreenSettings.Builder clearRolloutPolicy()
Returns
TypeDescription
BlueGreenSettings.Builder

clearStandardRolloutPolicy()

public BlueGreenSettings.Builder clearStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

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

Returns
TypeDescription
BlueGreenSettings.Builder

clone()

public BlueGreenSettings.Builder clone()
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

getDefaultInstanceForType()

public BlueGreenSettings getDefaultInstanceForType()
Returns
TypeDescription
BlueGreenSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getRolloutPolicyCase()

public BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase()
Returns
TypeDescription
BlueGreenSettings.RolloutPolicyCase

getStandardRolloutPolicy()

public BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

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

Returns
TypeDescription
BlueGreenSettings.StandardRolloutPolicy

The standardRolloutPolicy.

getStandardRolloutPolicyBuilder()

public BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder()

Standard policy for the blue-green upgrade.

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

Returns
TypeDescription
BlueGreenSettings.StandardRolloutPolicy.Builder

getStandardRolloutPolicyOrBuilder()

public BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder()

Standard policy for the blue-green upgrade.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the nodePoolSoakDuration field is set.

hasStandardRolloutPolicy()

public boolean hasStandardRolloutPolicy()

Standard policy for the blue-green upgrade.

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

Returns
TypeDescription
boolean

Whether the standardRolloutPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BlueGreenSettings other)

public BlueGreenSettings.Builder mergeFrom(BlueGreenSettings other)
Parameter
NameDescription
otherBlueGreenSettings
Returns
TypeDescription
BlueGreenSettings.Builder