public static final class V1Autoscaling.HorizontalPodAutoscalerSpec extends com.google.protobuf.GeneratedMessageV3 implements V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilder
specification of a horizontal pod autoscaler.Protobuf type
k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1Autoscaling.HorizontalPodAutoscalerSpec.Builder
specification of a horizontal pod autoscaler.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
MAXREPLICAS_FIELD_NUMBER |
static int |
MINREPLICAS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> |
PARSER
Deprecated.
|
static int |
SCALETARGETREF_FIELD_NUMBER |
static int |
TARGETCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
getDefaultInstance() |
V1Autoscaling.HorizontalPodAutoscalerSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
|
int |
getMinReplicas()
lower limit for the number of pods that can be set by the autoscaler, default 1.
|
com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> |
getParserForType() |
V1Autoscaling.CrossVersionObjectReference |
getScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
V1Autoscaling.CrossVersionObjectReferenceOrBuilder |
getScaleTargetRefOrBuilder()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
int |
getSerializedSize() |
int |
getTargetCPUUtilizationPercentage()
target average CPU utilization (represented as a percentage of requested CPU) over all the pods;
if not specified the default autoscaling policy will be used.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
|
boolean |
hasMinReplicas()
lower limit for the number of pods that can be set by the autoscaler, default 1.
|
boolean |
hasScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
boolean |
hasTargetCPUUtilizationPercentage()
target average CPU utilization (represented as a percentage of requested CPU) over all the pods;
if not specified the default autoscaling policy will be used.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Autoscaling.HorizontalPodAutoscalerSpec.Builder |
newBuilder() |
static V1Autoscaling.HorizontalPodAutoscalerSpec.Builder |
newBuilder(V1Autoscaling.HorizontalPodAutoscalerSpec prototype) |
V1Autoscaling.HorizontalPodAutoscalerSpec.Builder |
newBuilderForType() |
protected V1Autoscaling.HorizontalPodAutoscalerSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseDelimitedFrom(InputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(byte[] data) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(ByteBuffer data) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(InputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> |
parser() |
V1Autoscaling.HorizontalPodAutoscalerSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCALETARGETREF_FIELD_NUMBER
public static final int MINREPLICAS_FIELD_NUMBER
public static final int MAXREPLICAS_FIELD_NUMBER
public static final int TARGETCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;hasScaleTargetRef in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic V1Autoscaling.CrossVersionObjectReference getScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;getScaleTargetRef in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic V1Autoscaling.CrossVersionObjectReferenceOrBuilder getScaleTargetRefOrBuilder()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;getScaleTargetRefOrBuilder in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic boolean hasMinReplicas()
lower limit for the number of pods that can be set by the autoscaler, default 1. +optional
optional int32 minReplicas = 2;hasMinReplicas in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic int getMinReplicas()
lower limit for the number of pods that can be set by the autoscaler, default 1. +optional
optional int32 minReplicas = 2;getMinReplicas in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic boolean hasMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
optional int32 maxReplicas = 3;hasMaxReplicas in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic int getMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
optional int32 maxReplicas = 3;getMaxReplicas in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic boolean hasTargetCPUUtilizationPercentage()
target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. +optional
optional int32 targetCPUUtilizationPercentage = 4;hasTargetCPUUtilizationPercentage in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic int getTargetCPUUtilizationPercentage()
target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. +optional
optional int32 targetCPUUtilizationPercentage = 4;getTargetCPUUtilizationPercentage in interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Autoscaling.HorizontalPodAutoscalerSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Autoscaling.HorizontalPodAutoscalerSpec.Builder newBuilder()
public static V1Autoscaling.HorizontalPodAutoscalerSpec.Builder newBuilder(V1Autoscaling.HorizontalPodAutoscalerSpec prototype)
public V1Autoscaling.HorizontalPodAutoscalerSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Autoscaling.HorizontalPodAutoscalerSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Autoscaling.HorizontalPodAutoscalerSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> parser()
public com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Autoscaling.HorizontalPodAutoscalerSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.