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 Classes
    Modifier and Type
    Class
    Description
    static 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<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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    boolean
     
    Container's ID in the format 'docker://<container_id>'.
    com.google.protobuf.ByteString
    Container's ID in the format 'docker://<container_id>'.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    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.
    This must be a DNS_LABEL.
    com.google.protobuf.ByteString
    This must be a DNS_LABEL.
    com.google.protobuf.Parser<V1.ContainerStatus>
     
    boolean
    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.
    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
     
    boolean
    The image the container is running.
    boolean
    ImageID of the container's image.
    boolean
    Details about the container's last termination condition.
    boolean
    This must be a DNS_LABEL.
    boolean
    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
    Details about the container's current condition.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
     
    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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<V1.ContainerStatus>
     
     
    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, makeMutableCopy, 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

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.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 interface V1.ContainerStatusOrBuilder
    • getName

      public String 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 interface V1.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 interface V1.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 interface V1.ContainerStatusOrBuilder
    • getState

      public V1.ContainerState getState()
       Details about the container's current condition.
       +optional
       
      optional .k8s.io.api.core.v1.ContainerState state = 2;
      Specified by:
      getState in interface V1.ContainerStatusOrBuilder
    • getStateOrBuilder

      public V1.ContainerStateOrBuilder getStateOrBuilder()
       Details about the container's current condition.
       +optional
       
      optional .k8s.io.api.core.v1.ContainerState state = 2;
      Specified by:
      getStateOrBuilder in interface V1.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 interface V1.ContainerStatusOrBuilder
    • getLastState

      public V1.ContainerState getLastState()
       Details about the container's last termination condition.
       +optional
       
      optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      Specified by:
      getLastState in interface V1.ContainerStatusOrBuilder
    • getLastStateOrBuilder

      public V1.ContainerStateOrBuilder getLastStateOrBuilder()
       Details about the container's last termination condition.
       +optional
       
      optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      Specified by:
      getLastStateOrBuilder in interface V1.ContainerStatusOrBuilder
    • hasReady

      public boolean hasReady()
       Specifies whether the container has passed its readiness probe.
       
      optional bool ready = 4;
      Specified by:
      hasReady in interface V1.ContainerStatusOrBuilder
    • getReady

      public boolean getReady()
       Specifies whether the container has passed its readiness probe.
       
      optional bool ready = 4;
      Specified by:
      getReady in interface V1.ContainerStatusOrBuilder
    • hasRestartCount

      public boolean hasRestartCount()
       The number of times the container has been restarted.
       
      optional int32 restartCount = 5;
      Specified by:
      hasRestartCount in interface V1.ContainerStatusOrBuilder
    • getRestartCount

      public int getRestartCount()
       The number of times the container has been restarted.
       
      optional int32 restartCount = 5;
      Specified by:
      getRestartCount in interface V1.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 interface V1.ContainerStatusOrBuilder
    • getImage

      public String getImage()
       The image the container is running.
       More info: https://kubernetes.io/docs/concepts/containers/images.
       
      optional string image = 6;
      Specified by:
      getImage in interface V1.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 interface V1.ContainerStatusOrBuilder
    • hasImageID

      public boolean hasImageID()
       ImageID of the container's image.
       
      optional string imageID = 7;
      Specified by:
      hasImageID in interface V1.ContainerStatusOrBuilder
    • getImageID

      public String getImageID()
       ImageID of the container's image.
       
      optional string imageID = 7;
      Specified by:
      getImageID in interface V1.ContainerStatusOrBuilder
    • getImageIDBytes

      public com.google.protobuf.ByteString getImageIDBytes()
       ImageID of the container's image.
       
      optional string imageID = 7;
      Specified by:
      getImageIDBytes in interface V1.ContainerStatusOrBuilder
    • hasContainerID

      public boolean hasContainerID()
       Container's ID in the format 'docker://<container_id>'.
       +optional
       
      optional string containerID = 8;
      Specified by:
      hasContainerID in interface V1.ContainerStatusOrBuilder
    • getContainerID

      public String getContainerID()
       Container's ID in the format 'docker://<container_id>'.
       +optional
       
      optional string containerID = 8;
      Specified by:
      getContainerID in interface V1.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 interface V1.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 interface V1.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 interface V1.ContainerStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static V1.ContainerStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.ContainerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.ContainerStatus parseDelimitedFrom(InputStream input) throws IOException
      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

      public V1.ContainerStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1.ContainerStatus.Builder newBuilder()
    • newBuilder

      public static V1.ContainerStatus.Builder newBuilder(V1.ContainerStatus prototype)
    • toBuilder

      public V1.ContainerStatus.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1.ContainerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1.ContainerStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1.ContainerStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1.ContainerStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V1.ContainerStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder