Class VerticalPodAutoscaling.Builder (2.46.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerticalPodAutoscaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public VerticalPodAutoscaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VerticalPodAutoscaling.Builder
Overrides

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

public VerticalPodAutoscaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VerticalPodAutoscaling.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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