Package k8s.io.api.core.v1
Class Generated.VolumeResourceRequirements
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.VolumeResourceRequirements
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.VolumeResourceRequirementsOrBuilder
- Enclosing class:
- Generated
public static final class Generated.VolumeResourceRequirements extends com.google.protobuf.GeneratedMessageV3 implements Generated.VolumeResourceRequirementsOrBuilder
VolumeResourceRequirements describes the storage resource requirements for a volume.
Protobuf typek8s.io.api.core.v1.VolumeResourceRequirements- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.VolumeResourceRequirements.BuilderVolumeResourceRequirements describes the storage resource requirements for a volume.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intLIMITS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.VolumeResourceRequirements>PARSERDeprecated.static intREQUESTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLimits(String key)Limits describes the maximum amount of compute resources allowed.booleancontainsRequests(String key)Requests describes the minimum amount of compute resources required.booleanequals(Object obj)static Generated.VolumeResourceRequirementsgetDefaultInstance()Generated.VolumeResourceRequirementsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,Generated.Quantity>getLimits()Deprecated.intgetLimitsCount()Limits describes the maximum amount of compute resources allowed.Map<String,Generated.Quantity>getLimitsMap()Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrDefault(String key, Generated.Quantity defaultValue)Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrThrow(String key)Limits describes the maximum amount of compute resources allowed.com.google.protobuf.Parser<Generated.VolumeResourceRequirements>getParserForType()Map<String,Generated.Quantity>getRequests()Deprecated.intgetRequestsCount()Requests describes the minimum amount of compute resources required.Map<String,Generated.Quantity>getRequestsMap()Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrDefault(String key, Generated.Quantity defaultValue)Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrThrow(String key)Requests describes the minimum amount of compute resources required.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.VolumeResourceRequirements.BuildernewBuilder()static Generated.VolumeResourceRequirements.BuildernewBuilder(Generated.VolumeResourceRequirements prototype)Generated.VolumeResourceRequirements.BuildernewBuilderForType()protected Generated.VolumeResourceRequirements.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.VolumeResourceRequirementsparseDelimitedFrom(InputStream input)static Generated.VolumeResourceRequirementsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeResourceRequirementsparseFrom(byte[] data)static Generated.VolumeResourceRequirementsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeResourceRequirementsparseFrom(com.google.protobuf.ByteString data)static Generated.VolumeResourceRequirementsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeResourceRequirementsparseFrom(com.google.protobuf.CodedInputStream input)static Generated.VolumeResourceRequirementsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeResourceRequirementsparseFrom(InputStream input)static Generated.VolumeResourceRequirementsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeResourceRequirementsparseFrom(ByteBuffer data)static Generated.VolumeResourceRequirementsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.VolumeResourceRequirements>parser()Generated.VolumeResourceRequirements.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LIMITS_FIELD_NUMBER
public static final int LIMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUESTS_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.VolumeResourceRequirements> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getLimitsCount
public int getLimitsCount()
Description copied from interface:Generated.VolumeResourceRequirementsOrBuilderLimits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;- Specified by:
getLimitsCountin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
containsLimits
public boolean containsLimits(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;- Specified by:
containsLimitsin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getLimits
@Deprecated public Map<String,Generated.Quantity> getLimits()
Deprecated.UsegetLimitsMap()instead.- Specified by:
getLimitsin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getLimitsMap
public Map<String,Generated.Quantity> getLimitsMap()
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;- Specified by:
getLimitsMapin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getLimitsOrDefault
public Generated.Quantity getLimitsOrDefault(String key, Generated.Quantity defaultValue)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;- Specified by:
getLimitsOrDefaultin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getLimitsOrThrow
public Generated.Quantity getLimitsOrThrow(String key)
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;- Specified by:
getLimitsOrThrowin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getRequestsCount
public int getRequestsCount()
Description copied from interface:Generated.VolumeResourceRequirementsOrBuilderRequests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;- Specified by:
getRequestsCountin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
containsRequests
public boolean containsRequests(String key)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;- Specified by:
containsRequestsin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getRequests
@Deprecated public Map<String,Generated.Quantity> getRequests()
Deprecated.UsegetRequestsMap()instead.- Specified by:
getRequestsin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getRequestsMap
public Map<String,Generated.Quantity> getRequestsMap()
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;- Specified by:
getRequestsMapin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getRequestsOrDefault
public Generated.Quantity getRequestsOrDefault(String key, Generated.Quantity defaultValue)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;- Specified by:
getRequestsOrDefaultin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
getRequestsOrThrow
public Generated.Quantity getRequestsOrThrow(String key)
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;- Specified by:
getRequestsOrThrowin interfaceGenerated.VolumeResourceRequirementsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Generated.VolumeResourceRequirements parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeResourceRequirements parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeResourceRequirements parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeResourceRequirements parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.VolumeResourceRequirements.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.VolumeResourceRequirements.Builder newBuilder()
-
newBuilder
public static Generated.VolumeResourceRequirements.Builder newBuilder(Generated.VolumeResourceRequirements prototype)
-
toBuilder
public Generated.VolumeResourceRequirements.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.VolumeResourceRequirements.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.VolumeResourceRequirements getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.VolumeResourceRequirements> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.VolumeResourceRequirements> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.VolumeResourceRequirements getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-