public static final class V1.LimitRangeItem extends com.google.protobuf.GeneratedMessageV3 implements V1.LimitRangeItemOrBuilder
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.Protobuf type
k8s.io.api.core.v1.LimitRangeItem| Modifier and Type | Class and Description |
|---|---|
static class |
V1.LimitRangeItem.Builder
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
|
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 |
DEFAULT_FIELD_NUMBER |
static int |
DEFAULTREQUEST_FIELD_NUMBER |
static int |
MAX_FIELD_NUMBER |
static int |
MAXLIMITREQUESTRATIO_FIELD_NUMBER |
static int |
MIN_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.LimitRangeItem> |
PARSER
Deprecated.
|
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted.
|
boolean |
containsDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
boolean |
containsMax(String key)
Max usage constraints on this kind by resource name.
|
boolean |
containsMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
boolean |
containsMin(String key)
Min usage constraints on this kind by resource name.
|
boolean |
equals(Object obj) |
Map<String,Resource.Quantity> |
getDefault()
Deprecated.
|
int |
getDefaultCount()
Default resource requirement limit value by resource name if resource limit is omitted.
|
static V1.LimitRangeItem |
getDefaultInstance() |
V1.LimitRangeItem |
getDefaultInstanceForType() |
Map<String,Resource.Quantity> |
getDefaultMap()
Default resource requirement limit value by resource name if resource limit is omitted.
|
Resource.Quantity |
getDefaultOrDefault(String key,
Resource.Quantity defaultValue)
Default resource requirement limit value by resource name if resource limit is omitted.
|
Resource.Quantity |
getDefaultOrThrow(String key)
Default resource requirement limit value by resource name if resource limit is omitted.
|
Map<String,Resource.Quantity> |
getDefaultRequest()
Deprecated.
|
int |
getDefaultRequestCount()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Map<String,Resource.Quantity> |
getDefaultRequestMap()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Resource.Quantity |
getDefaultRequestOrDefault(String key,
Resource.Quantity defaultValue)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Resource.Quantity |
getDefaultRequestOrThrow(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,Resource.Quantity> |
getMax()
Deprecated.
|
int |
getMaxCount()
Max usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMaxLimitRequestRatio()
Deprecated.
|
int |
getMaxLimitRequestRatioCount()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Map<String,Resource.Quantity> |
getMaxLimitRequestRatioMap()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Resource.Quantity |
getMaxLimitRequestRatioOrDefault(String key,
Resource.Quantity defaultValue)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Resource.Quantity |
getMaxLimitRequestRatioOrThrow(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Map<String,Resource.Quantity> |
getMaxMap()
Max usage constraints on this kind by resource name.
|
Resource.Quantity |
getMaxOrDefault(String key,
Resource.Quantity defaultValue)
Max usage constraints on this kind by resource name.
|
Resource.Quantity |
getMaxOrThrow(String key)
Max usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMin()
Deprecated.
|
int |
getMinCount()
Min usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMinMap()
Min usage constraints on this kind by resource name.
|
Resource.Quantity |
getMinOrDefault(String key,
Resource.Quantity defaultValue)
Min usage constraints on this kind by resource name.
|
Resource.Quantity |
getMinOrThrow(String key)
Min usage constraints on this kind by resource name.
|
com.google.protobuf.Parser<V1.LimitRangeItem> |
getParserForType() |
int |
getSerializedSize() |
String |
getType()
Type of resource that this limit applies to.
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of resource that this limit applies to.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasType()
Type of resource that this limit applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static V1.LimitRangeItem.Builder |
newBuilder() |
static V1.LimitRangeItem.Builder |
newBuilder(V1.LimitRangeItem prototype) |
V1.LimitRangeItem.Builder |
newBuilderForType() |
protected V1.LimitRangeItem.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.LimitRangeItem |
parseDelimitedFrom(InputStream input) |
static V1.LimitRangeItem |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.LimitRangeItem |
parseFrom(byte[] data) |
static V1.LimitRangeItem |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.LimitRangeItem |
parseFrom(ByteBuffer data) |
static V1.LimitRangeItem |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.LimitRangeItem |
parseFrom(com.google.protobuf.ByteString data) |
static V1.LimitRangeItem |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.LimitRangeItem |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.LimitRangeItem |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.LimitRangeItem |
parseFrom(InputStream input) |
static V1.LimitRangeItem |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.LimitRangeItem> |
parser() |
V1.LimitRangeItem.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 TYPE_FIELD_NUMBER
public static final int MAX_FIELD_NUMBER
public static final int MIN_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER
public static final int DEFAULTREQUEST_FIELD_NUMBER
public static final int MAXLIMITREQUESTRATIO_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.LimitRangeItem> 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasType()
Type of resource that this limit applies to. +optional
optional string type = 1;hasType in interface V1.LimitRangeItemOrBuilderpublic String getType()
Type of resource that this limit applies to. +optional
optional string type = 1;getType in interface V1.LimitRangeItemOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type of resource that this limit applies to. +optional
optional string type = 1;getTypeBytes in interface V1.LimitRangeItemOrBuilderpublic int getMaxCount()
V1.LimitRangeItemOrBuilderMax usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMax(String key)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;containsMax in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMax()
getMaxMap() instead.getMax in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMaxMap()
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxOrDefault(String key, Resource.Quantity defaultValue)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxOrThrow(String key)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxOrThrow in interface V1.LimitRangeItemOrBuilderpublic int getMinCount()
V1.LimitRangeItemOrBuilderMin usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMin(String key)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;containsMin in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMin()
getMinMap() instead.getMin in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMinMap()
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMinOrDefault(String key, Resource.Quantity defaultValue)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMinOrThrow(String key)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinOrThrow in interface V1.LimitRangeItemOrBuilderpublic int getDefaultCount()
V1.LimitRangeItemOrBuilderDefault resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;containsDefault in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getDefault()
getDefaultMap() instead.getDefault in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getDefaultMap()
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultOrDefault(String key, Resource.Quantity defaultValue)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultOrThrow(String key)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultOrThrow in interface V1.LimitRangeItemOrBuilderpublic int getDefaultRequestCount()
V1.LimitRangeItemOrBuilderDefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;getDefaultRequestCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;containsDefaultRequest in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getDefaultRequest()
getDefaultRequestMap() instead.getDefaultRequest in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getDefaultRequestMap()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;getDefaultRequestMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultRequestOrDefault(String key, Resource.Quantity defaultValue)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;getDefaultRequestOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultRequestOrThrow(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;getDefaultRequestOrThrow in interface V1.LimitRangeItemOrBuilderpublic int getMaxLimitRequestRatioCount()
V1.LimitRangeItemOrBuilderMaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;getMaxLimitRequestRatioCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;containsMaxLimitRequestRatio in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMaxLimitRequestRatio()
getMaxLimitRequestRatioMap() instead.getMaxLimitRequestRatio in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMaxLimitRequestRatioMap()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;getMaxLimitRequestRatioMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxLimitRequestRatioOrDefault(String key, Resource.Quantity defaultValue)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;getMaxLimitRequestRatioOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxLimitRequestRatioOrThrow(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;getMaxLimitRequestRatioOrThrow in interface V1.LimitRangeItemOrBuilderpublic 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 V1.LimitRangeItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.LimitRangeItem parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.LimitRangeItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.LimitRangeItem parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.LimitRangeItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.LimitRangeItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.LimitRangeItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.LimitRangeItem.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.LimitRangeItem.Builder newBuilder()
public static V1.LimitRangeItem.Builder newBuilder(V1.LimitRangeItem prototype)
public V1.LimitRangeItem.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.LimitRangeItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.LimitRangeItem getDefaultInstance()
public static com.google.protobuf.Parser<V1.LimitRangeItem> parser()
public com.google.protobuf.Parser<V1.LimitRangeItem> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.LimitRangeItem getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.