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
STANDARD_ROLLOUT_POLICY_FIELD_NUMBER
public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BlueGreenSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BlueGreenSettings.Builder newBuilder()
Returns
newBuilder(BlueGreenSettings prototype)
public static BlueGreenSettings.Builder newBuilder(BlueGreenSettings prototype)
Parameter
Returns
public static BlueGreenSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BlueGreenSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BlueGreenSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BlueGreenSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BlueGreenSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BlueGreenSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BlueGreenSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BlueGreenSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BlueGreenSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BlueGreenSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BlueGreenSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BlueGreenSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BlueGreenSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BlueGreenSettings getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<BlueGreenSettings> getParserForType()
Returns
Overrides
getRolloutPolicyCase()
public BlueGreenSettings.RolloutPolicyCase getRolloutPolicyCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStandardRolloutPolicy()
public BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BlueGreenSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BlueGreenSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BlueGreenSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions