Package k8s.io.api.core.v1
Interface Generated.ResourceStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ResourceStatus,Generated.ResourceStatus.Builder
- Enclosing class:
- Generated
public static interface Generated.ResourceStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.Generated.ResourceHealthgetResources(int index)List of unique resources health.intgetResourcesCount()List of unique resources health.List<Generated.ResourceHealth>getResourcesList()List of unique resources health.Generated.ResourceHealthOrBuildergetResourcesOrBuilder(int index)List of unique resources health.List<? extends Generated.ResourceHealthOrBuilder>getResourcesOrBuilderList()List of unique resources health.booleanhasName()Name of the resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be "claim:<claim_name>/<request>". When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container. +required
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be "claim:<claim_name>/<request>". When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container. +required
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be "claim:<claim_name>/<request>". When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container. +required
optional string name = 1;- Returns:
- The bytes for name.
-
getResourcesList
List<Generated.ResourceHealth> getResourcesList()
List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. +listType=map +listMapKey=resourceID
repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
-
getResources
Generated.ResourceHealth getResources(int index)
List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. +listType=map +listMapKey=resourceID
repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
-
getResourcesCount
int getResourcesCount()
List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. +listType=map +listMapKey=resourceID
repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
-
getResourcesOrBuilderList
List<? extends Generated.ResourceHealthOrBuilder> getResourcesOrBuilderList()
List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. +listType=map +listMapKey=resourceID
repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
-
getResourcesOrBuilder
Generated.ResourceHealthOrBuilder getResourcesOrBuilder(int index)
List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. +listType=map +listMapKey=resourceID
repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
-
-