Package io.kubernetes.client.proto
Class V1.LimitRangeItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.LimitRangeItem
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.LimitRangeItemOrBuilder,Serializable
- Enclosing class:
- V1
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLimitRangeItem defines a min/max usage limit for any resource that matches on kind.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.LimitRangeItem>Deprecated.static final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsDefault(String key) Default resource requirement limit value by resource name if resource limit is omitted.booleanDefaultRequest is the default resource requirement request value by resource name if resource request is omitted.booleancontainsMax(String key) Max usage constraints on this kind by resource name.booleanMaxLimitRequestRatio 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.booleancontainsMin(String key) Min usage constraints on this kind by resource name.booleanDeprecated.intDefault resource requirement limit value by resource name if resource limit is omitted.static V1.LimitRangeItemDefault resource requirement limit value by resource name if resource limit is omitted.getDefaultOrDefault(String key, Resource.Quantity defaultValue) Default resource requirement limit value by resource name if resource limit is omitted.getDefaultOrThrow(String key) Default resource requirement limit value by resource name if resource limit is omitted.Deprecated.intDefaultRequest is the default resource requirement request value by resource name if resource request is omitted.DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.getDefaultRequestOrDefault(String key, Resource.Quantity defaultValue) DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.static final com.google.protobuf.Descriptors.DescriptorgetMax()Deprecated.intMax usage constraints on this kind by resource name.Deprecated.intMaxLimitRequestRatio 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.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.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.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.Max usage constraints on this kind by resource name.getMaxOrDefault(String key, Resource.Quantity defaultValue) Max usage constraints on this kind by resource name.getMaxOrThrow(String key) Max usage constraints on this kind by resource name.getMin()Deprecated.intMin usage constraints on this kind by resource name.Min usage constraints on this kind by resource name.getMinOrDefault(String key, Resource.Quantity defaultValue) Min usage constraints on this kind by resource name.getMinOrThrow(String key) Min usage constraints on this kind by resource name.com.google.protobuf.Parser<V1.LimitRangeItem>intgetType()Type of resource that this limit applies to.com.google.protobuf.ByteStringType of resource that this limit applies to.final com.google.protobuf.UnknownFieldSetinthashCode()booleanhasType()Type of resource that this limit applies to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic V1.LimitRangeItem.Builderstatic V1.LimitRangeItem.BuildernewBuilder(V1.LimitRangeItem prototype) protected V1.LimitRangeItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.LimitRangeItemparseDelimitedFrom(InputStream input) static V1.LimitRangeItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.LimitRangeItemparseFrom(byte[] data) static V1.LimitRangeItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.LimitRangeItemparseFrom(com.google.protobuf.ByteString data) static V1.LimitRangeItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.LimitRangeItemparseFrom(com.google.protobuf.CodedInputStream input) static V1.LimitRangeItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.LimitRangeItemparseFrom(InputStream input) static V1.LimitRangeItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.LimitRangeItemparseFrom(ByteBuffer data) static V1.LimitRangeItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.LimitRangeItem>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
MAX_FIELD_NUMBER
public static final int MAX_FIELD_NUMBER- See Also:
-
MIN_FIELD_NUMBER
public static final int MIN_FIELD_NUMBER- See Also:
-
DEFAULT_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER- See Also:
-
DEFAULTREQUEST_FIELD_NUMBER
public static final int DEFAULTREQUEST_FIELD_NUMBER- See Also:
-
MAXLIMITREQUESTRATIO_FIELD_NUMBER
public static final int MAXLIMITREQUESTRATIO_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()Type of resource that this limit applies to.
optional string type = 1;- Specified by:
hasTypein interfaceV1.LimitRangeItemOrBuilder
-
getType
Type of resource that this limit applies to.
optional string type = 1;- Specified by:
getTypein interfaceV1.LimitRangeItemOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type of resource that this limit applies to.
optional string type = 1;- Specified by:
getTypeBytesin interfaceV1.LimitRangeItemOrBuilder
-
getMaxCount
public int getMaxCount()Description copied from interface:V1.LimitRangeItemOrBuilderMax usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;- Specified by:
getMaxCountin interfaceV1.LimitRangeItemOrBuilder
-
containsMax
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;- Specified by:
containsMaxin interfaceV1.LimitRangeItemOrBuilder
-
getMax
Deprecated.UsegetMaxMap()instead.- Specified by:
getMaxin interfaceV1.LimitRangeItemOrBuilder
-
getMaxMap
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;- Specified by:
getMaxMapin interfaceV1.LimitRangeItemOrBuilder
-
getMaxOrDefault
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;- Specified by:
getMaxOrDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getMaxOrThrow
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;- Specified by:
getMaxOrThrowin interfaceV1.LimitRangeItemOrBuilder
-
getMinCount
public int getMinCount()Description copied from interface:V1.LimitRangeItemOrBuilderMin usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;- Specified by:
getMinCountin interfaceV1.LimitRangeItemOrBuilder
-
containsMin
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;- Specified by:
containsMinin interfaceV1.LimitRangeItemOrBuilder
-
getMin
Deprecated.UsegetMinMap()instead.- Specified by:
getMinin interfaceV1.LimitRangeItemOrBuilder
-
getMinMap
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;- Specified by:
getMinMapin interfaceV1.LimitRangeItemOrBuilder
-
getMinOrDefault
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;- Specified by:
getMinOrDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getMinOrThrow
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;- Specified by:
getMinOrThrowin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultCount
public int getDefaultCount()Description copied from interface: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;- Specified by:
getDefaultCountin interfaceV1.LimitRangeItemOrBuilder
-
containsDefault
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;- Specified by:
containsDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getDefault
Deprecated.UsegetDefaultMap()instead.- Specified by:
getDefaultin interfaceV1.LimitRangeItemOrBuilder
-
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;- Specified by:
getDefaultMapin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultOrDefault
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;- Specified by:
getDefaultOrDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultOrThrow
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;- Specified by:
getDefaultOrThrowin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultRequestCount
public int getDefaultRequestCount()Description copied from interface: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;- Specified by:
getDefaultRequestCountin interfaceV1.LimitRangeItemOrBuilder
-
containsDefaultRequest
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;- Specified by:
containsDefaultRequestin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultRequest
Deprecated.UsegetDefaultRequestMap()instead.- Specified by:
getDefaultRequestin interfaceV1.LimitRangeItemOrBuilder
-
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;- Specified by:
getDefaultRequestMapin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultRequestOrDefault
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;- Specified by:
getDefaultRequestOrDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getDefaultRequestOrThrow
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;- Specified by:
getDefaultRequestOrThrowin interfaceV1.LimitRangeItemOrBuilder
-
getMaxLimitRequestRatioCount
public int getMaxLimitRequestRatioCount()Description copied from interface: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;- Specified by:
getMaxLimitRequestRatioCountin interfaceV1.LimitRangeItemOrBuilder
-
containsMaxLimitRequestRatio
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;- Specified by:
containsMaxLimitRequestRatioin interfaceV1.LimitRangeItemOrBuilder
-
getMaxLimitRequestRatio
Deprecated.UsegetMaxLimitRequestRatioMap()instead.- Specified by:
getMaxLimitRequestRatioin interfaceV1.LimitRangeItemOrBuilder
-
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;- Specified by:
getMaxLimitRequestRatioMapin interfaceV1.LimitRangeItemOrBuilder
-
getMaxLimitRequestRatioOrDefault
public 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;- Specified by:
getMaxLimitRequestRatioOrDefaultin interfaceV1.LimitRangeItemOrBuilder
-
getMaxLimitRequestRatioOrThrow
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;- Specified by:
getMaxLimitRequestRatioOrThrowin interfaceV1.LimitRangeItemOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.LimitRangeItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.LimitRangeItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.LimitRangeItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.LimitRangeItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.LimitRangeItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.LimitRangeItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.LimitRangeItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.LimitRangeItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.LimitRangeItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.LimitRangeItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.LimitRangeItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-