Package k8s.io.api.core.v1
Class Generated.ContainerStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.ContainerStatus
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.ContainerStatusOrBuilder
- Enclosing class:
- Generated
public static final class Generated.ContainerStatus extends com.google.protobuf.GeneratedMessageV3 implements Generated.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.
Protobuf typek8s.io.api.core.v1.ContainerStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ContainerStatus.BuilderContainerStatus contains details for the current status of this container.-
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 intALLOCATEDRESOURCES_FIELD_NUMBERstatic intALLOCATEDRESOURCESSTATUS_FIELD_NUMBERstatic intCONTAINERID_FIELD_NUMBERstatic intIMAGE_FIELD_NUMBERstatic intIMAGEID_FIELD_NUMBERstatic intLASTSTATE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ContainerStatus>PARSERDeprecated.static intREADY_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intRESTARTCOUNT_FIELD_NUMBERstatic intSTARTED_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUSER_FIELD_NUMBERstatic intVOLUMEMOUNTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAllocatedResources(String key)AllocatedResources represents the compute resources allocated for this container by the node.booleanequals(Object obj)Map<String,Generated.Quantity>getAllocatedResources()Deprecated.intgetAllocatedResourcesCount()AllocatedResources represents the compute resources allocated for this container by the node.Map<String,Generated.Quantity>getAllocatedResourcesMap()AllocatedResources represents the compute resources allocated for this container by the node.Generated.QuantitygetAllocatedResourcesOrDefault(String key, Generated.Quantity defaultValue)AllocatedResources represents the compute resources allocated for this container by the node.Generated.QuantitygetAllocatedResourcesOrThrow(String key)AllocatedResources represents the compute resources allocated for this container by the node.Generated.ResourceStatusgetAllocatedResourcesStatus(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.intgetAllocatedResourcesStatusCount()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.List<Generated.ResourceStatus>getAllocatedResourcesStatusList()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.Generated.ResourceStatusOrBuildergetAllocatedResourcesStatusOrBuilder(int index)AllocatedResourcesStatus represents the status of various resources allocated for this Pod.List<? extends Generated.ResourceStatusOrBuilder>getAllocatedResourcesStatusOrBuilderList()AllocatedResourcesStatus represents the status of various resources allocated for this Pod.StringgetContainerID()ContainerID is the ID of the container in the format '<type>://<container_id>'.com.google.protobuf.ByteStringgetContainerIDBytes()ContainerID is the ID of the container in the format '<type>://<container_id>'.static Generated.ContainerStatusgetDefaultInstance()Generated.ContainerStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetImage()Image is the name of container image that the container is running.com.google.protobuf.ByteStringgetImageBytes()Image is the name of container image that the container is running.StringgetImageID()ImageID is the image ID of the container's image.com.google.protobuf.ByteStringgetImageIDBytes()ImageID is the image ID of the container's image.Generated.ContainerStategetLastState()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.Generated.ContainerStateOrBuildergetLastStateOrBuilder()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.StringgetName()Name is a DNS_LABEL representing the unique name of the container.com.google.protobuf.ByteStringgetNameBytes()Name is a DNS_LABEL representing the unique name of the container.com.google.protobuf.Parser<Generated.ContainerStatus>getParserForType()booleangetReady()Ready specifies whether the container is currently passing its readiness check.Generated.ResourceRequirementsgetResources()Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.Generated.ResourceRequirementsOrBuildergetResourcesOrBuilder()Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.intgetRestartCount()RestartCount holds the number of times the container has been restarted.intgetSerializedSize()booleangetStarted()Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.Generated.ContainerStategetState()State holds details about the container's current condition.Generated.ContainerStateOrBuildergetStateOrBuilder()State holds details about the container's current condition.Generated.ContainerUsergetUser()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.ContainerUserOrBuildergetUserOrBuilder()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalGenerated.VolumeMountStatusgetVolumeMounts(int index)Status of volume mounts.intgetVolumeMountsCount()Status of volume mounts.List<Generated.VolumeMountStatus>getVolumeMountsList()Status of volume mounts.Generated.VolumeMountStatusOrBuildergetVolumeMountsOrBuilder(int index)Status of volume mounts.List<? extends Generated.VolumeMountStatusOrBuilder>getVolumeMountsOrBuilderList()Status of volume mounts.booleanhasContainerID()ContainerID is the ID of the container in the format '<type>://<container_id>'.inthashCode()booleanhasImage()Image is the name of container image that the container is running.booleanhasImageID()ImageID is the image ID of the container's image.booleanhasLastState()LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.booleanhasName()Name is a DNS_LABEL representing the unique name of the container.booleanhasReady()Ready specifies whether the container is currently passing its readiness check.booleanhasResources()Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.booleanhasRestartCount()RestartCount holds the number of times the container has been restarted.booleanhasStarted()Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.booleanhasState()State holds details about the container's current condition.booleanhasUser()User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.ContainerStatus.BuildernewBuilder()static Generated.ContainerStatus.BuildernewBuilder(Generated.ContainerStatus prototype)Generated.ContainerStatus.BuildernewBuilderForType()protected Generated.ContainerStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ContainerStatusparseDelimitedFrom(InputStream input)static Generated.ContainerStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ContainerStatusparseFrom(byte[] data)static Generated.ContainerStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ContainerStatusparseFrom(com.google.protobuf.ByteString data)static Generated.ContainerStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ContainerStatusparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ContainerStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ContainerStatusparseFrom(InputStream input)static Generated.ContainerStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ContainerStatusparseFrom(ByteBuffer data)static Generated.ContainerStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ContainerStatus>parser()Generated.ContainerStatus.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LASTSTATE_FIELD_NUMBER
public static final int LASTSTATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READY_FIELD_NUMBER
public static final int READY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTARTCOUNT_FIELD_NUMBER
public static final int RESTARTCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGEID_FIELD_NUMBER
public static final int IMAGEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINERID_FIELD_NUMBER
public static final int CONTAINERID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_FIELD_NUMBER
public static final int STARTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOCATEDRESOURCES_FIELD_NUMBER
public static final int ALLOCATEDRESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMEMOUNTS_FIELD_NUMBER
public static final int VOLUMEMOUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOCATEDRESOURCESSTATUS_FIELD_NUMBER
public static final int ALLOCATEDRESOURCESSTATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ContainerStatus> 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
-
hasName
public boolean hasName()
Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.
optional string name = 1;- Specified by:
getNamein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The bytes for name.
-
hasState
public boolean hasState()
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
hasStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
public Generated.ContainerState getState()
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The state.
-
getStateOrBuilder
public Generated.ContainerStateOrBuilder getStateOrBuilder()
State holds details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStateOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
hasLastState
public boolean hasLastState()
LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
hasLastStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the lastState field is set.
-
getLastState
public Generated.ContainerState getLastState()
LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
getLastStatein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The lastState.
-
getLastStateOrBuilder
public Generated.ContainerStateOrBuilder getLastStateOrBuilder()
LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
getLastStateOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
hasReady
public boolean hasReady()
Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic.
optional bool ready = 4;- Specified by:
hasReadyin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the ready field is set.
-
getReady
public boolean getReady()
Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic.
optional bool ready = 4;- Specified by:
getReadyin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The ready.
-
hasRestartCount
public boolean hasRestartCount()
RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.
optional int32 restartCount = 5;- Specified by:
hasRestartCountin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the restartCount field is set.
-
getRestartCount
public int getRestartCount()
RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.
optional int32 restartCount = 5;- Specified by:
getRestartCountin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The restartCount.
-
hasImage
public boolean hasImage()
Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
hasImagein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public String getImage()
Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
getImagein interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
getImageBytesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The bytes for image.
-
hasImageID
public boolean hasImageID()
ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.
optional string imageID = 7;- Specified by:
hasImageIDin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the imageID field is set.
-
getImageID
public String getImageID()
ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.
optional string imageID = 7;- Specified by:
getImageIDin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The imageID.
-
getImageIDBytes
public com.google.protobuf.ByteString getImageIDBytes()
ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.
optional string imageID = 7;- Specified by:
getImageIDBytesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The bytes for imageID.
-
hasContainerID
public boolean hasContainerID()
ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd"). +optional
optional string containerID = 8;- Specified by:
hasContainerIDin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the containerID field is set.
-
getContainerID
public String getContainerID()
ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd"). +optional
optional string containerID = 8;- Specified by:
getContainerIDin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The containerID.
-
getContainerIDBytes
public com.google.protobuf.ByteString getContainerIDBytes()
ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd"). +optional
optional string containerID = 8;- Specified by:
getContainerIDBytesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The bytes for containerID.
-
hasStarted
public boolean hasStarted()
Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. +optional
optional bool started = 9;- Specified by:
hasStartedin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the started field is set.
-
getStarted
public boolean getStarted()
Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. +optional
optional bool started = 9;- Specified by:
getStartedin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The started.
-
getAllocatedResourcesCount
public int getAllocatedResourcesCount()
Description copied from interface:Generated.ContainerStatusOrBuilderAllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. +featureGate=InPlacePodVerticalScalingAllocatedStatus +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;- Specified by:
getAllocatedResourcesCountin interfaceGenerated.ContainerStatusOrBuilder
-
containsAllocatedResources
public boolean containsAllocatedResources(String key)
AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. +featureGate=InPlacePodVerticalScalingAllocatedStatus +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;- Specified by:
containsAllocatedResourcesin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResources
@Deprecated public Map<String,Generated.Quantity> getAllocatedResources()
Deprecated.UsegetAllocatedResourcesMap()instead.- Specified by:
getAllocatedResourcesin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesMap
public Map<String,Generated.Quantity> getAllocatedResourcesMap()
AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. +featureGate=InPlacePodVerticalScalingAllocatedStatus +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;- Specified by:
getAllocatedResourcesMapin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesOrDefault
public Generated.Quantity getAllocatedResourcesOrDefault(String key, Generated.Quantity defaultValue)
AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. +featureGate=InPlacePodVerticalScalingAllocatedStatus +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;- Specified by:
getAllocatedResourcesOrDefaultin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesOrThrow
public Generated.Quantity getAllocatedResourcesOrThrow(String key)
AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. +featureGate=InPlacePodVerticalScalingAllocatedStatus +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;- Specified by:
getAllocatedResourcesOrThrowin interfaceGenerated.ContainerStatusOrBuilder
-
hasResources
public boolean hasResources()
Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized. +featureGate=InPlacePodVerticalScaling +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;- Specified by:
hasResourcesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
public Generated.ResourceRequirements getResources()
Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized. +featureGate=InPlacePodVerticalScaling +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;- Specified by:
getResourcesin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The resources.
-
getResourcesOrBuilder
public Generated.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized. +featureGate=InPlacePodVerticalScaling +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;- Specified by:
getResourcesOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsList
public List<Generated.VolumeMountStatus> getVolumeMountsList()
Status of volume mounts. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath +featureGate=RecursiveReadOnlyMounts
repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;- Specified by:
getVolumeMountsListin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsOrBuilderList
public List<? extends Generated.VolumeMountStatusOrBuilder> getVolumeMountsOrBuilderList()
Status of volume mounts. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath +featureGate=RecursiveReadOnlyMounts
repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;- Specified by:
getVolumeMountsOrBuilderListin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsCount
public int getVolumeMountsCount()
Status of volume mounts. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath +featureGate=RecursiveReadOnlyMounts
repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;- Specified by:
getVolumeMountsCountin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMounts
public Generated.VolumeMountStatus getVolumeMounts(int index)
Status of volume mounts. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath +featureGate=RecursiveReadOnlyMounts
repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;- Specified by:
getVolumeMountsin interfaceGenerated.ContainerStatusOrBuilder
-
getVolumeMountsOrBuilder
public Generated.VolumeMountStatusOrBuilder getVolumeMountsOrBuilder(int index)
Status of volume mounts. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath +featureGate=RecursiveReadOnlyMounts
repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;- Specified by:
getVolumeMountsOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
hasUser
public boolean hasUser()
User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.ContainerUser user = 13;- Specified by:
hasUserin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- Whether the user field is set.
-
getUser
public Generated.ContainerUser getUser()
User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.ContainerUser user = 13;- Specified by:
getUserin interfaceGenerated.ContainerStatusOrBuilder- Returns:
- The user.
-
getUserOrBuilder
public Generated.ContainerUserOrBuilder getUserOrBuilder()
User represents user identity information initially attached to the first process of the container +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.ContainerUser user = 13;- Specified by:
getUserOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatusList
public List<Generated.ResourceStatus> getAllocatedResourcesStatusList()
AllocatedResourcesStatus represents the status of various resources allocated for this Pod. +featureGate=ResourceHealthStatus +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;- Specified by:
getAllocatedResourcesStatusListin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatusOrBuilderList
public List<? extends Generated.ResourceStatusOrBuilder> getAllocatedResourcesStatusOrBuilderList()
AllocatedResourcesStatus represents the status of various resources allocated for this Pod. +featureGate=ResourceHealthStatus +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;- Specified by:
getAllocatedResourcesStatusOrBuilderListin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatusCount
public int getAllocatedResourcesStatusCount()
AllocatedResourcesStatus represents the status of various resources allocated for this Pod. +featureGate=ResourceHealthStatus +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;- Specified by:
getAllocatedResourcesStatusCountin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatus
public Generated.ResourceStatus getAllocatedResourcesStatus(int index)
AllocatedResourcesStatus represents the status of various resources allocated for this Pod. +featureGate=ResourceHealthStatus +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;- Specified by:
getAllocatedResourcesStatusin interfaceGenerated.ContainerStatusOrBuilder
-
getAllocatedResourcesStatusOrBuilder
public Generated.ResourceStatusOrBuilder getAllocatedResourcesStatusOrBuilder(int index)
AllocatedResourcesStatus represents the status of various resources allocated for this Pod. +featureGate=ResourceHealthStatus +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;- Specified by:
getAllocatedResourcesStatusOrBuilderin interfaceGenerated.ContainerStatusOrBuilder
-
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.ContainerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ContainerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ContainerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ContainerStatus 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.ContainerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ContainerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ContainerStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ContainerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ContainerStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ContainerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ContainerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ContainerStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ContainerStatus.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ContainerStatus.Builder newBuilder()
-
newBuilder
public static Generated.ContainerStatus.Builder newBuilder(Generated.ContainerStatus prototype)
-
toBuilder
public Generated.ContainerStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ContainerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ContainerStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ContainerStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ContainerStatus> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ContainerStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-