Class BlueGreenSettings.AutoscaledRolloutPolicy.Builder (2.43.0)

public static final class BlueGreenSettings.AutoscaledRolloutPolicy.Builder extends GeneratedMessageV3.Builder<BlueGreenSettings.AutoscaledRolloutPolicy.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

build()

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

buildPartial()

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

clear()

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clear()
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clone()

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clone()
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BlueGreenSettings.AutoscaledRolloutPolicy other)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(BlueGreenSettings.AutoscaledRolloutPolicy other)
Parameter
NameDescription
otherBlueGreenSettings.AutoscaledRolloutPolicy
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.AutoscaledRolloutPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides