Class BlueGreenSettings (2.31.0)

public final class BlueGreenSettings extends GeneratedMessageV3 implements BlueGreenSettingsOrBuilder

Settings for blue-green upgrade.

Protobuf type google.container.v1beta1.BlueGreenSettings

Static Fields

NODE_POOL_SOAK_DURATION_FIELD_NUMBER

public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

STANDARD_ROLLOUT_POLICY_FIELD_NUMBER

public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BlueGreenSettings getDefaultInstance()
Returns
TypeDescription
BlueGreenSettings

getDescriptor()

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

newBuilder()

public static BlueGreenSettings.Builder newBuilder()
Returns
TypeDescription
BlueGreenSettings.Builder

newBuilder(BlueGreenSettings prototype)

public static BlueGreenSettings.Builder newBuilder(BlueGreenSettings prototype)
Parameter
NameDescription
prototypeBlueGreenSettings
Returns
TypeDescription
BlueGreenSettings.Builder

parseDelimitedFrom(InputStream input)

public static BlueGreenSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BlueGreenSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BlueGreenSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BlueGreenSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BlueGreenSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BlueGreenSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BlueGreenSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BlueGreenSettings> parser()
Returns
TypeDescription
Parser<BlueGreenSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BlueGreenSettings getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<BlueGreenSettings> getParserForType()
Returns
TypeDescription
Parser<BlueGreenSettings>
Overrides

getRolloutPolicyCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BlueGreenSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BlueGreenSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException