Interface PodStatusPubSub.PodStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PodStatusPubSub.PodStatus, PodStatusPubSub.PodStatus.Builder
Enclosing class:
PodStatusPubSub

public static interface PodStatusPubSub.PodStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPhase

      boolean hasPhase()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
      
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
      
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1 [json_name = "phase"];
      Returns:
      Whether the phase field is set.
    • getPhase

      String getPhase()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
      
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
      
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1 [json_name = "phase"];
      Returns:
      The phase.
    • getPhaseBytes

      com.google.protobuf.ByteString getPhaseBytes()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
      
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
      
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1 [json_name = "phase"];
      Returns:
      The bytes for phase.
    • getConditionsList

      List<PodStatusPubSub.PodCondition> getConditionsList()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.PodCondition conditions = 2 [json_name = "conditions"];
    • getConditions

      PodStatusPubSub.PodCondition getConditions(int index)
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.PodCondition conditions = 2 [json_name = "conditions"];
    • getConditionsCount

      int getConditionsCount()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.PodCondition conditions = 2 [json_name = "conditions"];
    • getConditionsOrBuilderList

      List<? extends PodStatusPubSub.PodConditionOrBuilder> getConditionsOrBuilderList()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.PodCondition conditions = 2 [json_name = "conditions"];
    • getConditionsOrBuilder

      PodStatusPubSub.PodConditionOrBuilder getConditionsOrBuilder(int index)
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       +listType=map
       +listMapKey=type
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.PodCondition conditions = 2 [json_name = "conditions"];
    • hasMessage

      boolean hasMessage()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3 [json_name = "message"];
      Returns:
      Whether the message field is set.
    • getMessage

      String getMessage()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3 [json_name = "message"];
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3 [json_name = "message"];
      Returns:
      The bytes for message.
    • hasReason

      boolean hasReason()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4 [json_name = "reason"];
      Returns:
      Whether the reason field is set.
    • getReason

      String getReason()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4 [json_name = "reason"];
      Returns:
      The reason.
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4 [json_name = "reason"];
      Returns:
      The bytes for reason.
    • hasNominatedNodeName

      boolean hasNominatedNodeName()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominated_node_name = 11 [json_name = "nominatedNodeName"];
      Returns:
      Whether the nominatedNodeName field is set.
    • getNominatedNodeName

      String getNominatedNodeName()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominated_node_name = 11 [json_name = "nominatedNodeName"];
      Returns:
      The nominatedNodeName.
    • getNominatedNodeNameBytes

      com.google.protobuf.ByteString getNominatedNodeNameBytes()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominated_node_name = 11 [json_name = "nominatedNodeName"];
      Returns:
      The bytes for nominatedNodeName.
    • hasHostIp

      boolean hasHostIp()
       hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will
       not be updated even if there is a node is assigned to pod
       +optional
       
      optional string host_ip = 5 [json_name = "hostIp"];
      Returns:
      Whether the hostIp field is set.
    • getHostIp

      String getHostIp()
       hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will
       not be updated even if there is a node is assigned to pod
       +optional
       
      optional string host_ip = 5 [json_name = "hostIp"];
      Returns:
      The hostIp.
    • getHostIpBytes

      com.google.protobuf.ByteString getHostIpBytes()
       hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will
       not be updated even if there is a node is assigned to pod
       +optional
       
      optional string host_ip = 5 [json_name = "hostIp"];
      Returns:
      The bytes for hostIp.
    • getHostIpsList

      List<PodStatusPubSub.HostIP> getHostIpsList()
       hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
       match the hostIP field. This list is empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
       not be updated even if there is a node is assigned to this pod.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.HostIP host_ips = 16 [json_name = "hostIps"];
    • getHostIps

      PodStatusPubSub.HostIP getHostIps(int index)
       hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
       match the hostIP field. This list is empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
       not be updated even if there is a node is assigned to this pod.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.HostIP host_ips = 16 [json_name = "hostIps"];
    • getHostIpsCount

      int getHostIpsCount()
       hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
       match the hostIP field. This list is empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
       not be updated even if there is a node is assigned to this pod.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.HostIP host_ips = 16 [json_name = "hostIps"];
    • getHostIpsOrBuilderList

      List<? extends PodStatusPubSub.HostIPOrBuilder> getHostIpsOrBuilderList()
       hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
       match the hostIP field. This list is empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
       not be updated even if there is a node is assigned to this pod.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.HostIP host_ips = 16 [json_name = "hostIps"];
    • getHostIpsOrBuilder

      PodStatusPubSub.HostIPOrBuilder getHostIpsOrBuilder(int index)
       hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
       match the hostIP field. This list is empty if the pod has not started yet.
       A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
       not be updated even if there is a node is assigned to this pod.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.HostIP host_ips = 16 [json_name = "hostIps"];
    • hasPodIp

      boolean hasPodIp()
       podIP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string pod_ip = 6 [json_name = "podIp"];
      Returns:
      Whether the podIp field is set.
    • getPodIp

      String getPodIp()
       podIP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string pod_ip = 6 [json_name = "podIp"];
      Returns:
      The podIp.
    • getPodIpBytes

      com.google.protobuf.ByteString getPodIpBytes()
       podIP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string pod_ip = 6 [json_name = "podIp"];
      Returns:
      The bytes for podIp.
    • hasStartTime

      boolean hasStartTime()
       RFC 3339 date and time at which the object was acknowledged by the Kubelet.
       This is before the Kubelet pulled the container image(s) for the pod.
       +optional
       
      optional int64 start_time = 7 [json_name = "startTime", (.gen_bq_schema.bigquery) = { ... }
      Returns:
      Whether the startTime field is set.
    • getStartTime

      long getStartTime()
       RFC 3339 date and time at which the object was acknowledged by the Kubelet.
       This is before the Kubelet pulled the container image(s) for the pod.
       +optional
       
      optional int64 start_time = 7 [json_name = "startTime", (.gen_bq_schema.bigquery) = { ... }
      Returns:
      The startTime.
    • getInitContainerStatusesList

      List<PodStatusPubSub.ContainerStatus> getInitContainerStatusesList()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus init_container_statuses = 10 [json_name = "initContainerStatuses"];
    • getInitContainerStatuses

      PodStatusPubSub.ContainerStatus getInitContainerStatuses(int index)
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus init_container_statuses = 10 [json_name = "initContainerStatuses"];
    • getInitContainerStatusesCount

      int getInitContainerStatusesCount()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus init_container_statuses = 10 [json_name = "initContainerStatuses"];
    • getInitContainerStatusesOrBuilderList

      List<? extends PodStatusPubSub.ContainerStatusOrBuilder> getInitContainerStatusesOrBuilderList()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus init_container_statuses = 10 [json_name = "initContainerStatuses"];
    • getInitContainerStatusesOrBuilder

      PodStatusPubSub.ContainerStatusOrBuilder getInitContainerStatusesOrBuilder(int index)
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus init_container_statuses = 10 [json_name = "initContainerStatuses"];
    • getContainerStatusesList

      List<PodStatusPubSub.ContainerStatus> getContainerStatusesList()
       The list has one entry per container in the manifest.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus container_statuses = 8 [json_name = "containerStatuses"];
    • getContainerStatuses

      PodStatusPubSub.ContainerStatus getContainerStatuses(int index)
       The list has one entry per container in the manifest.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus container_statuses = 8 [json_name = "containerStatuses"];
    • getContainerStatusesCount

      int getContainerStatusesCount()
       The list has one entry per container in the manifest.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus container_statuses = 8 [json_name = "containerStatuses"];
    • getContainerStatusesOrBuilderList

      List<? extends PodStatusPubSub.ContainerStatusOrBuilder> getContainerStatusesOrBuilderList()
       The list has one entry per container in the manifest.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus container_statuses = 8 [json_name = "containerStatuses"];
    • getContainerStatusesOrBuilder

      PodStatusPubSub.ContainerStatusOrBuilder getContainerStatusesOrBuilder(int index)
       The list has one entry per container in the manifest.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus container_statuses = 8 [json_name = "containerStatuses"];
    • hasQosClass

      boolean hasQosClass()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
       +optional
       
      optional string qos_class = 9 [json_name = "qosClass"];
      Returns:
      Whether the qosClass field is set.
    • getQosClass

      String getQosClass()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
       +optional
       
      optional string qos_class = 9 [json_name = "qosClass"];
      Returns:
      The qosClass.
    • getQosClassBytes

      com.google.protobuf.ByteString getQosClassBytes()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
       +optional
       
      optional string qos_class = 9 [json_name = "qosClass"];
      Returns:
      The bytes for qosClass.
    • getEphemeralContainerStatusesList

      List<PodStatusPubSub.ContainerStatus> getEphemeralContainerStatusesList()
       Status for any ephemeral containers that have run in this pod.
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus ephemeral_container_statuses = 13 [json_name = "ephemeralContainerStatuses"];
    • getEphemeralContainerStatuses

      PodStatusPubSub.ContainerStatus getEphemeralContainerStatuses(int index)
       Status for any ephemeral containers that have run in this pod.
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus ephemeral_container_statuses = 13 [json_name = "ephemeralContainerStatuses"];
    • getEphemeralContainerStatusesCount

      int getEphemeralContainerStatusesCount()
       Status for any ephemeral containers that have run in this pod.
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus ephemeral_container_statuses = 13 [json_name = "ephemeralContainerStatuses"];
    • getEphemeralContainerStatusesOrBuilderList

      List<? extends PodStatusPubSub.ContainerStatusOrBuilder> getEphemeralContainerStatusesOrBuilderList()
       Status for any ephemeral containers that have run in this pod.
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus ephemeral_container_statuses = 13 [json_name = "ephemeralContainerStatuses"];
    • getEphemeralContainerStatusesOrBuilder

      PodStatusPubSub.ContainerStatusOrBuilder getEphemeralContainerStatusesOrBuilder(int index)
       Status for any ephemeral containers that have run in this pod.
       +optional
       +listType=atomic
       
      repeated .chalk.pubsub.v1.PodStatusPubSub.ContainerStatus ephemeral_container_statuses = 13 [json_name = "ephemeralContainerStatuses"];
    • hasResize

      boolean hasResize()
       Status of resources resize desired for pod's containers.
       It is empty if no resources resize is pending.
       Any changes to container resources will automatically set this to "Proposed"
       +featureGate=InPlacePodVerticalScaling
       +optional
       
      optional string resize = 14 [json_name = "resize"];
      Returns:
      Whether the resize field is set.
    • getResize

      String getResize()
       Status of resources resize desired for pod's containers.
       It is empty if no resources resize is pending.
       Any changes to container resources will automatically set this to "Proposed"
       +featureGate=InPlacePodVerticalScaling
       +optional
       
      optional string resize = 14 [json_name = "resize"];
      Returns:
      The resize.
    • getResizeBytes

      com.google.protobuf.ByteString getResizeBytes()
       Status of resources resize desired for pod's containers.
       It is empty if no resources resize is pending.
       Any changes to container resources will automatically set this to "Proposed"
       +featureGate=InPlacePodVerticalScaling
       +optional
       
      optional string resize = 14 [json_name = "resize"];
      Returns:
      The bytes for resize.