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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BlueGreenSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BlueGreenSettings build()
Returns
buildPartial()
public BlueGreenSettings buildPartial()
Returns
clear()
public BlueGreenSettings.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BlueGreenSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public BlueGreenSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRolloutPolicy()
public BlueGreenSettings.Builder clearRolloutPolicy()
Returns
clearStandardRolloutPolicy()
public BlueGreenSettings.Builder clearStandardRolloutPolicy()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
Returns
clone()
public BlueGreenSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BlueGreenSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getRolloutPolicyCase()
public BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase()
Returns
getStandardRolloutPolicy()
public BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
Returns
getStandardRolloutPolicyBuilder()
public BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
Returns
getStandardRolloutPolicyOrBuilder()
public BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BlueGreenSettings other)
public BlueGreenSettings.Builder mergeFrom(BlueGreenSettings other)
Parameter
Returns
public BlueGreenSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BlueGreenSettings.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BlueGreenSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BlueGreenSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BlueGreenSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BlueGreenSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides