Class KubernetesPodData.ContainerStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.ContainerStatus
- All Implemented Interfaces:
KubernetesPodData.ContainerStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- KubernetesPodData
public static final class KubernetesPodData.ContainerStatus
extends com.google.protobuf.GeneratedMessageV3
implements KubernetesPodData.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.Protobuf type
chalk.kubernetes.v1.KubernetesPodData.ContainerStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContainerStatus 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanContainerID is the ID of the container in the format '<type>://<container_id>'.com.google.protobuf.ByteStringContainerID is the ID of the container in the format '<type>://<container_id>'.static final com.google.protobuf.Descriptors.DescriptorgetImage()Image is the name of container image that the container is running.com.google.protobuf.ByteStringImage is the name of container image that the container is running.ImageID is the image ID of the container's image.com.google.protobuf.ByteStringImageID is the image ID of the container's image.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.LastTerminationState holds the last termination state of the container to help debug container crashes and restarts.getName()Name is a DNS_LABEL representing the unique name of the container.com.google.protobuf.ByteStringName is a DNS_LABEL representing the unique name of the container.com.google.protobuf.Parser<KubernetesPodData.ContainerStatus>booleangetReady()Ready specifies whether the container is currently passing its readiness check.intRestartCount holds the number of times the container has been restarted.intbooleanStarted indicates whether the container has finished its postStart lifecycle hook and passed its startup probe.getState()State holds details about the container's current condition.State holds details about the container's current condition.inthashCode()booleanLastTerminationState holds the last termination state of the container to help debug container crashes and restarts.booleanhasReady()Ready specifies whether the container is currently passing its readiness check.booleanhasState()State holds details about the container's current condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(KubernetesPodData.ContainerStatus prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<KubernetesPodData.ContainerStatus>parser()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, internalGetMapFieldReflection, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
LAST_STATE_FIELD_NUMBER
public static final int LAST_STATE_FIELD_NUMBER- See Also:
-
READY_FIELD_NUMBER
public static final int READY_FIELD_NUMBER- See Also:
-
RESTART_COUNT_FIELD_NUMBER
public static final int RESTART_COUNT_FIELD_NUMBER- See Also:
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
IMAGE_ID_FIELD_NUMBER
public static final int IMAGE_ID_FIELD_NUMBER- See Also:
-
CONTAINER_ID_FIELD_NUMBER
public static final int CONTAINER_ID_FIELD_NUMBER- See Also:
-
STARTED_FIELD_NUMBER
public static final int STARTED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceKubernetesPodData.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.
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for name.
-
hasState
public boolean hasState()State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
hasStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
getStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The state.
-
getStateOrBuilder
State holds details about the container's current condition. +optional
optional .chalk.kubernetes.v1.KubernetesPodData.ContainerState state = 2 [json_name = "state"];- Specified by:
getStateOrBuilderin interfaceKubernetesPodData.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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
hasLastStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- Whether the lastState field is set.
-
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
getLastStatein interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The lastState.
-
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 .chalk.kubernetes.v1.KubernetesPodData.ContainerState last_state = 3 [json_name = "lastState"];- Specified by:
getLastStateOrBuilderin interfaceKubernetesPodData.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 [json_name = "ready"];- Specified by:
hasReadyin interfaceKubernetesPodData.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 [json_name = "ready"];- Specified by:
getReadyin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The ready.
-
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.
int32 restart_count = 5 [json_name = "restartCount"];- Specified by:
getRestartCountin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The restartCount.
-
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.
string image = 6 [json_name = "image"];- Specified by:
getImagein interfaceKubernetesPodData.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.
string image = 6 [json_name = "image"];- Specified by:
getImageBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for image.
-
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.
string image_id = 7 [json_name = "imageId"];- Specified by:
getImageIdin interfaceKubernetesPodData.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.
string image_id = 7 [json_name = "imageId"];- Specified by:
getImageIdBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for imageId.
-
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
string container_id = 8 [json_name = "containerId"];- Specified by:
getContainerIdin interfaceKubernetesPodData.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
string container_id = 8 [json_name = "containerId"];- Specified by:
getContainerIdBytesin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The bytes for containerId.
-
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.
bool started = 9 [json_name = "started"];- Specified by:
getStartedin interfaceKubernetesPodData.ContainerStatusOrBuilder- Returns:
- The started.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 KubernetesPodData.ContainerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesPodData.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 KubernetesPodData.ContainerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static KubernetesPodData.ContainerStatus parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static KubernetesPodData.ContainerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static KubernetesPodData.ContainerStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static KubernetesPodData.ContainerStatus.Builder newBuilder(KubernetesPodData.ContainerStatus prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected KubernetesPodData.ContainerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-