Class VerticalPodAutoscaling (2.43.0)

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

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VerticalPodAutoscaling getDefaultInstance()
Returns
TypeDescription
VerticalPodAutoscaling

getDescriptor()

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

newBuilder()

public static VerticalPodAutoscaling.Builder newBuilder()
Returns
TypeDescription
VerticalPodAutoscaling.Builder

newBuilder(VerticalPodAutoscaling prototype)

public static VerticalPodAutoscaling.Builder newBuilder(VerticalPodAutoscaling prototype)
Parameter
NameDescription
prototypeVerticalPodAutoscaling
Returns
TypeDescription
VerticalPodAutoscaling.Builder

parseDelimitedFrom(InputStream input)

public static VerticalPodAutoscaling parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerticalPodAutoscaling
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VerticalPodAutoscaling parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VerticalPodAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VerticalPodAutoscaling parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VerticalPodAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VerticalPodAutoscaling parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerticalPodAutoscaling
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VerticalPodAutoscaling parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VerticalPodAutoscaling
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VerticalPodAutoscaling> parser()
Returns
TypeDescription
Parser<VerticalPodAutoscaling>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VerticalPodAutoscaling getDefaultInstanceForType()
Returns
TypeDescription
VerticalPodAutoscaling

getEnabled()

public boolean getEnabled()

Enables vertical pod autoscaling.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<VerticalPodAutoscaling> getParserForType()
Returns
TypeDescription
Parser<VerticalPodAutoscaling>
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 VerticalPodAutoscaling.Builder newBuilderForType()
Returns
TypeDescription
VerticalPodAutoscaling.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VerticalPodAutoscaling.Builder toBuilder()
Returns
TypeDescription
VerticalPodAutoscaling.Builder

writeTo(CodedOutputStream output)

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