Package io.kubernetes.client.proto
Interface V1.NodeResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.NodeResources
,V1.NodeResources.Builder
- Enclosing class:
- V1
public static interface V1.NodeResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsCapacity
(String key) Capacity represents the available resources of a nodeDeprecated.int
Capacity represents the available resources of a nodeCapacity represents the available resources of a nodegetCapacityOrDefault
(String key, Resource.Quantity defaultValue) Capacity represents the available resources of a nodegetCapacityOrThrow
(String key) Capacity represents the available resources of a nodeMethods 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
-
getCapacityCount
int getCapacityCount()Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
containsCapacity
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacity
Deprecated.UsegetCapacityMap()
instead. -
getCapacityMap
Map<String,Resource.Quantity> getCapacityMap()Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacityOrDefault
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacityOrThrow
Capacity represents the available resources of a node
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-