Class BlueGreenSettings.AutoscaledRolloutPolicy (2.44.0)

public static final class BlueGreenSettings.AutoscaledRolloutPolicy extends GeneratedMessageV3 implements BlueGreenSettings.AutoscaledRolloutPolicyOrBuilder

Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades to scale both the green and blue pools.

Protobuf type google.container.v1beta1.BlueGreenSettings.AutoscaledRolloutPolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BlueGreenSettings.AutoscaledRolloutPolicy

Static Methods

getDefaultInstance()

public static BlueGreenSettings.AutoscaledRolloutPolicy getDefaultInstance()
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy

getDescriptor()

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

newBuilder()

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

newBuilder(BlueGreenSettings.AutoscaledRolloutPolicy prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BlueGreenSettings.AutoscaledRolloutPolicy getDefaultInstanceForType()
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.AutoscaledRolloutPolicy.Builder newBuilderForType()
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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