Class BlueGreenSettings.AutoscaledRolloutPolicy.Builder (2.54.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

build()

public BlueGreenSettings.AutoscaledRolloutPolicy build()
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy

buildPartial()

public BlueGreenSettings.AutoscaledRolloutPolicy buildPartial()
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy

clear()

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clear()
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

clone()

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder clone()
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

getDefaultInstanceForType()

public BlueGreenSettings.AutoscaledRolloutPolicy getDefaultInstanceForType()
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BlueGreenSettings.AutoscaledRolloutPolicy other)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(BlueGreenSettings.AutoscaledRolloutPolicy other)
Parameter
Name Description
other BlueGreenSettings.AutoscaledRolloutPolicy
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.AutoscaledRolloutPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BlueGreenSettings.AutoscaledRolloutPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BlueGreenSettings.AutoscaledRolloutPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BlueGreenSettings.AutoscaledRolloutPolicy.Builder
Overrides