Class BlueGreenSettings (2.58.0)

public final class BlueGreenSettings extends GeneratedMessageV3 implements BlueGreenSettingsOrBuilder

Settings for blue-green upgrade.

Protobuf type google.container.v1.BlueGreenSettings

Static Fields

NODE_POOL_SOAK_DURATION_FIELD_NUMBER

public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER
Field Value
Type Description
int

STANDARD_ROLLOUT_POLICY_FIELD_NUMBER

public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BlueGreenSettings getDefaultInstance()
Returns
Type Description
BlueGreenSettings

getDescriptor()

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

newBuilder()

public static BlueGreenSettings.Builder newBuilder()
Returns
Type Description
BlueGreenSettings.Builder

newBuilder(BlueGreenSettings prototype)

public static BlueGreenSettings.Builder newBuilder(BlueGreenSettings prototype)
Parameter
Name Description
prototype BlueGreenSettings
Returns
Type Description
BlueGreenSettings.Builder

parseDelimitedFrom(InputStream input)

public static BlueGreenSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BlueGreenSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BlueGreenSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BlueGreenSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BlueGreenSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BlueGreenSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BlueGreenSettings> parser()
Returns
Type Description
Parser<BlueGreenSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BlueGreenSettings getDefaultInstanceForType()
Returns
Type Description
BlueGreenSettings

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.

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

getParserForType()

public Parser<BlueGreenSettings> getParserForType()
Returns
Type Description
Parser<BlueGreenSettings>
Overrides

getRolloutPolicyCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BlueGreenSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BlueGreenSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException