Package io.kubernetes.client.proto
Class V1.ContainerStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.ContainerStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.ContainerStatusOrBuilder,Serializable
- Enclosing class:
- V1
public static final class V1.ContainerStatus
extends com.google.protobuf.GeneratedMessageV3
implements V1.ContainerStatusOrBuilder
ContainerStatus contains details for the current status of this container.Protobuf type
k8s.io.api.core.v1.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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 com.google.protobuf.Parser<V1.ContainerStatus>Deprecated.static 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 TypeMethodDescriptionbooleanContainer's ID in the format 'docker://<container_id>'.com.google.protobuf.ByteStringContainer's ID in the format 'docker://<container_id>'.static V1.ContainerStatusstatic final com.google.protobuf.Descriptors.DescriptorgetImage()The image the container is running.com.google.protobuf.ByteStringThe image the container is running.ImageID of the container's image.com.google.protobuf.ByteStringImageID of the container's image.Details about the container's last termination condition.Details about the container's last termination condition.getName()This must be a DNS_LABEL.com.google.protobuf.ByteStringThis must be a DNS_LABEL.com.google.protobuf.Parser<V1.ContainerStatus>booleangetReady()Specifies whether the container has passed its readiness probe.intThe number of times the container has been restarted.intbooleanSpecifies whether the container has passed its startup probe.getState()Details about the container's current condition.Details about the container's current condition.final com.google.protobuf.UnknownFieldSetbooleanContainer's ID in the format 'docker://<container_id>'.inthashCode()booleanhasImage()The image the container is running.booleanImageID of the container's image.booleanDetails about the container's last termination condition.booleanhasName()This must be a DNS_LABEL.booleanhasReady()Specifies whether the container has passed its readiness probe.booleanThe number of times the container has been restarted.booleanSpecifies whether the container has passed its startup probe.booleanhasState()Details about the container's current condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1.ContainerStatus.Builderstatic V1.ContainerStatus.BuildernewBuilder(V1.ContainerStatus prototype) protected V1.ContainerStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.ContainerStatusparseDelimitedFrom(InputStream input) static V1.ContainerStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatusparseFrom(byte[] data) static V1.ContainerStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatusparseFrom(com.google.protobuf.ByteString data) static V1.ContainerStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatusparseFrom(com.google.protobuf.CodedInputStream input) static V1.ContainerStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatusparseFrom(InputStream input) static V1.ContainerStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatusparseFrom(ByteBuffer data) static V1.ContainerStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.ContainerStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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, 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:
-
LASTSTATE_FIELD_NUMBER
public static final int LASTSTATE_FIELD_NUMBER- See Also:
-
READY_FIELD_NUMBER
public static final int READY_FIELD_NUMBER- See Also:
-
RESTARTCOUNT_FIELD_NUMBER
public static final int RESTARTCOUNT_FIELD_NUMBER- See Also:
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
IMAGEID_FIELD_NUMBER
public static final int IMAGEID_FIELD_NUMBER- See Also:
-
CONTAINERID_FIELD_NUMBER
public static final int CONTAINERID_FIELD_NUMBER- See Also:
-
STARTED_FIELD_NUMBER
public static final int STARTED_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasName
public boolean hasName()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;- Specified by:
hasNamein interfaceV1.ContainerStatusOrBuilder
-
getName
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;- Specified by:
getNamein interfaceV1.ContainerStatusOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;- Specified by:
getNameBytesin interfaceV1.ContainerStatusOrBuilder
-
hasState
public boolean hasState()Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
hasStatein interfaceV1.ContainerStatusOrBuilder
-
getState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStatein interfaceV1.ContainerStatusOrBuilder
-
getStateOrBuilder
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;- Specified by:
getStateOrBuilderin interfaceV1.ContainerStatusOrBuilder
-
hasLastState
public boolean hasLastState()Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
hasLastStatein interfaceV1.ContainerStatusOrBuilder
-
getLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
getLastStatein interfaceV1.ContainerStatusOrBuilder
-
getLastStateOrBuilder
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;- Specified by:
getLastStateOrBuilderin interfaceV1.ContainerStatusOrBuilder
-
hasReady
public boolean hasReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;- Specified by:
hasReadyin interfaceV1.ContainerStatusOrBuilder
-
getReady
public boolean getReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;- Specified by:
getReadyin interfaceV1.ContainerStatusOrBuilder
-
hasRestartCount
public boolean hasRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;- Specified by:
hasRestartCountin interfaceV1.ContainerStatusOrBuilder
-
getRestartCount
public int getRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;- Specified by:
getRestartCountin interfaceV1.ContainerStatusOrBuilder
-
hasImage
public boolean hasImage()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
hasImagein interfaceV1.ContainerStatusOrBuilder
-
getImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
getImagein interfaceV1.ContainerStatusOrBuilder
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;- Specified by:
getImageBytesin interfaceV1.ContainerStatusOrBuilder
-
hasImageID
public boolean hasImageID()ImageID of the container's image.
optional string imageID = 7;- Specified by:
hasImageIDin interfaceV1.ContainerStatusOrBuilder
-
getImageID
ImageID of the container's image.
optional string imageID = 7;- Specified by:
getImageIDin interfaceV1.ContainerStatusOrBuilder
-
getImageIDBytes
public com.google.protobuf.ByteString getImageIDBytes()ImageID of the container's image.
optional string imageID = 7;- Specified by:
getImageIDBytesin interfaceV1.ContainerStatusOrBuilder
-
hasContainerID
public boolean hasContainerID()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;- Specified by:
hasContainerIDin interfaceV1.ContainerStatusOrBuilder
-
getContainerID
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;- Specified by:
getContainerIDin interfaceV1.ContainerStatusOrBuilder
-
getContainerIDBytes
public com.google.protobuf.ByteString getContainerIDBytes()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;- Specified by:
getContainerIDBytesin interfaceV1.ContainerStatusOrBuilder
-
hasStarted
public boolean hasStarted()Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;- Specified by:
hasStartedin interfaceV1.ContainerStatusOrBuilder
-
getStarted
public boolean getStarted()Specifies whether the container has 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. Is always true when no startupProbe is defined. +optional
optional bool started = 9;- Specified by:
getStartedin interfaceV1.ContainerStatusOrBuilder
-
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 V1.ContainerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.ContainerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.ContainerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.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 V1.ContainerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.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 V1.ContainerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.ContainerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.ContainerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.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
-