Class VerticalPodAutoscaling.Builder (2.86.0)

public static final class VerticalPodAutoscaling.Builder extends GeneratedMessage.Builder<VerticalPodAutoscaling.Builder> implements VerticalPodAutoscalingOrBuilder

VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.

Protobuf type google.container.v1beta1.VerticalPodAutoscaling

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public VerticalPodAutoscaling build()
Returns
Type Description
VerticalPodAutoscaling

buildPartial()

public VerticalPodAutoscaling buildPartial()
Returns
Type Description
VerticalPodAutoscaling

clear()

public VerticalPodAutoscaling.Builder clear()
Returns
Type Description
VerticalPodAutoscaling.Builder
Overrides

clearEnabled()

public VerticalPodAutoscaling.Builder clearEnabled()

Enables vertical pod autoscaling.

bool enabled = 1;

Returns
Type Description
VerticalPodAutoscaling.Builder

This builder for chaining.

getDefaultInstanceForType()

public VerticalPodAutoscaling getDefaultInstanceForType()
Returns
Type Description
VerticalPodAutoscaling

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enables vertical pod autoscaling.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerticalPodAutoscaling other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public VerticalPodAutoscaling.Builder setEnabled(boolean value)

Enables vertical pod autoscaling.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
VerticalPodAutoscaling.Builder

This builder for chaining.