Class BlueGreenSettings.Builder (2.11.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
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.v1.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.v1.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.v1.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.v1.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.v1.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BlueGreenSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BlueGreenSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueBlueGreenSettings.StandardRolloutPolicy
Returns
TypeDescription
BlueGreenSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
BlueGreenSettings.Builder

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

public BlueGreenSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBlueGreenSettings.StandardRolloutPolicy
Returns
TypeDescription
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
NameDescription
builderForValueBlueGreenSettings.StandardRolloutPolicy.Builder
Returns
TypeDescription
BlueGreenSettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides