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 class
ContainerStatus 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 int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<V1.ContainerStatus>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Container's ID in the format 'docker://<container_id>'.com.google.protobuf.ByteString
Container's ID in the format 'docker://<container_id>'.static V1.ContainerStatus
static final com.google.protobuf.Descriptors.Descriptor
getImage()
The image the container is running.com.google.protobuf.ByteString
The image the container is running.ImageID of the container's image.com.google.protobuf.ByteString
ImageID 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.ByteString
This must be a DNS_LABEL.com.google.protobuf.Parser<V1.ContainerStatus>
boolean
getReady()
Specifies whether the container has passed its readiness probe.int
The number of times the container has been restarted.int
boolean
Specifies 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.UnknownFieldSet
boolean
Container's ID in the format 'docker://<container_id>'.int
hashCode()
boolean
hasImage()
The image the container is running.boolean
ImageID of the container's image.boolean
Details about the container's last termination condition.boolean
hasName()
This must be a DNS_LABEL.boolean
hasReady()
Specifies whether the container has passed its readiness probe.boolean
The number of times the container has been restarted.boolean
Specifies whether the container has passed its startup probe.boolean
hasState()
Details about the container's current condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static V1.ContainerStatus.Builder
static V1.ContainerStatus.Builder
newBuilder
(V1.ContainerStatus prototype) protected V1.ContainerStatus.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.ContainerStatus
parseDelimitedFrom
(InputStream input) static V1.ContainerStatus
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatus
parseFrom
(byte[] data) static V1.ContainerStatus
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatus
parseFrom
(com.google.protobuf.ByteString data) static V1.ContainerStatus
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatus
parseFrom
(com.google.protobuf.CodedInputStream input) static V1.ContainerStatus
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatus
parseFrom
(InputStream input) static V1.ContainerStatus
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.ContainerStatus
parseFrom
(ByteBuffer data) static V1.ContainerStatus
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.ContainerStatus>
parser()
void
writeTo
(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, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasState
in interfaceV1.ContainerStatusOrBuilder
-
getState
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
- Specified by:
getState
in interfaceV1.ContainerStatusOrBuilder
-
getStateOrBuilder
Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
- Specified by:
getStateOrBuilder
in 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:
hasLastState
in interfaceV1.ContainerStatusOrBuilder
-
getLastState
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
- Specified by:
getLastState
in interfaceV1.ContainerStatusOrBuilder
-
getLastStateOrBuilder
Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
- Specified by:
getLastStateOrBuilder
in interfaceV1.ContainerStatusOrBuilder
-
hasReady
public boolean hasReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
- Specified by:
hasReady
in interfaceV1.ContainerStatusOrBuilder
-
getReady
public boolean getReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
- Specified by:
getReady
in interfaceV1.ContainerStatusOrBuilder
-
hasRestartCount
public boolean hasRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
- Specified by:
hasRestartCount
in interfaceV1.ContainerStatusOrBuilder
-
getRestartCount
public int getRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
- Specified by:
getRestartCount
in 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:
hasImage
in interfaceV1.ContainerStatusOrBuilder
-
getImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
- Specified by:
getImage
in 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:
getImageBytes
in interfaceV1.ContainerStatusOrBuilder
-
hasImageID
public boolean hasImageID()ImageID of the container's image.
optional string imageID = 7;
- Specified by:
hasImageID
in interfaceV1.ContainerStatusOrBuilder
-
getImageID
ImageID of the container's image.
optional string imageID = 7;
- Specified by:
getImageID
in interfaceV1.ContainerStatusOrBuilder
-
getImageIDBytes
public com.google.protobuf.ByteString getImageIDBytes()ImageID of the container's image.
optional string imageID = 7;
- Specified by:
getImageIDBytes
in interfaceV1.ContainerStatusOrBuilder
-
hasContainerID
public boolean hasContainerID()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
- Specified by:
hasContainerID
in interfaceV1.ContainerStatusOrBuilder
-
getContainerID
Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
- Specified by:
getContainerID
in 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:
getContainerIDBytes
in 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:
hasStarted
in 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:
getStarted
in interfaceV1.ContainerStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.ContainerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-