Package io.kubernetes.client.proto
Interface V1.ResourceQuotaStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.ResourceQuotaStatus
,V1.ResourceQuotaStatus.Builder
- Enclosing class:
- V1
public static interface V1.ResourceQuotaStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsHard
(String key) Hard is the set of enforced hard limits for each named resource.boolean
containsUsed
(String key) Used is the current observed total usage of the resource in the namespace.getHard()
Deprecated.int
Hard is the set of enforced hard limits for each named resource.Hard is the set of enforced hard limits for each named resource.getHardOrDefault
(String key, Resource.Quantity defaultValue) Hard is the set of enforced hard limits for each named resource.getHardOrThrow
(String key) Hard is the set of enforced hard limits for each named resource.getUsed()
Deprecated.int
Used is the current observed total usage of the resource in the namespace.Used is the current observed total usage of the resource in the namespace.getUsedOrDefault
(String key, Resource.Quantity defaultValue) Used is the current observed total usage of the resource in the namespace.getUsedOrThrow
(String key) Used is the current observed total usage of the resource in the namespace.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHardCount
int getHardCount()Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
containsHard
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHard
Deprecated.UsegetHardMap()
instead. -
getHardMap
Map<String,Resource.Quantity> getHardMap()Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHardOrDefault
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHardOrThrow
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getUsedCount
int getUsedCount()Used is the current observed total usage of the resource in the namespace. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> used = 2;
-
containsUsed
Used is the current observed total usage of the resource in the namespace. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> used = 2;
-
getUsed
Deprecated.UsegetUsedMap()
instead. -
getUsedMap
Map<String,Resource.Quantity> getUsedMap()Used is the current observed total usage of the resource in the namespace. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> used = 2;
-
getUsedOrDefault
Used is the current observed total usage of the resource in the namespace. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> used = 2;
-
getUsedOrThrow
Used is the current observed total usage of the resource in the namespace. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> used = 2;
-