public static final class BlueGreenSettings.Builder extends GeneratedMessageV3.Builder<BlueGreenSettings.Builder> implements BlueGreenSettingsOrBuilder
Settings for blue-green upgrade.
Protobuf type google.container.v1.BlueGreenSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BlueGreenSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BlueGreenSettings build()
buildPartial()
public BlueGreenSettings buildPartial()
clear()
public BlueGreenSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BlueGreenSettings.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public BlueGreenSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRolloutPolicy()
public BlueGreenSettings.Builder clearRolloutPolicy()
clearStandardRolloutPolicy()
public BlueGreenSettings.Builder clearStandardRolloutPolicy()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
clone()
public BlueGreenSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public BlueGreenSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
getRolloutPolicyCase()
public BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase()
getStandardRolloutPolicy()
public BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
getStandardRolloutPolicyBuilder()
public BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
getStandardRolloutPolicyOrBuilder()
public BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder()
Standard policy for the blue-green upgrade.
.google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BlueGreenSettings other)
public BlueGreenSettings.Builder mergeFrom(BlueGreenSettings other)
public BlueGreenSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BlueGreenSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BlueGreenSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BlueGreenSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BlueGreenSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final BlueGreenSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides