All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1PodStatusFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.time.OffsetDateTime;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1PodStatusFluent> extends Fluent {
  public A addToConditions(Integer index, V1PodCondition item);

  public A setToConditions(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1PodCondition item);

  public A addToConditions(io.kubernetes.client.openapi.models.V1PodCondition... items);

  public A addAllToConditions(Collection items);

  public A removeFromConditions(io.kubernetes.client.openapi.models.V1PodCondition... items);

  public A removeAllFromConditions(
      java.util.Collection items);

  public A removeMatchingFromConditions(Predicate predicate);

  /**
   * This method has been deprecated, please use method buildConditions instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public List getConditions();

  public java.util.List buildConditions();

  public io.kubernetes.client.openapi.models.V1PodCondition buildCondition(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodCondition buildFirstCondition();

  public io.kubernetes.client.openapi.models.V1PodCondition buildLastCondition();

  public io.kubernetes.client.openapi.models.V1PodCondition buildMatchingCondition(
      java.util.function.Predicate
          predicate);

  public Boolean hasMatchingCondition(
      java.util.function.Predicate
          predicate);

  public A withConditions(
      java.util.List conditions);

  public A withConditions(io.kubernetes.client.openapi.models.V1PodCondition... conditions);

  public java.lang.Boolean hasConditions();

  public V1PodStatusFluent.ConditionsNested addNewCondition();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested
      addNewConditionLike(io.kubernetes.client.openapi.models.V1PodCondition item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested
      setNewConditionLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1PodCondition item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested editCondition(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested
      editFirstCondition();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested
      editLastCondition();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ConditionsNested
      editMatchingCondition(
          java.util.function.Predicate
              predicate);

  public A addToContainerStatuses(java.lang.Integer index, V1ContainerStatus item);

  public A setToContainerStatuses(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public A addToContainerStatuses(io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A addAllToContainerStatuses(
      java.util.Collection items);

  public A removeFromContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A removeAllFromContainerStatuses(
      java.util.Collection items);

  public A removeMatchingFromContainerStatuses(
      java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildContainerStatuses instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List
      getContainerStatuses();

  public java.util.List
      buildContainerStatuses();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildContainerStatus(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildFirstContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildLastContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildMatchingContainerStatus(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingContainerStatus(
      java.util.function.Predicate
          predicate);

  public A withContainerStatuses(
      java.util.List containerStatuses);

  public A withContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... containerStatuses);

  public java.lang.Boolean hasContainerStatuses();

  public V1PodStatusFluent.ContainerStatusesNested addNewContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      addNewContainerStatusLike(io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      setNewContainerStatusLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      editContainerStatus(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      editFirstContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      editLastContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.ContainerStatusesNested
      editMatchingContainerStatus(
          java.util.function.Predicate
              predicate);

  public A addToEphemeralContainerStatuses(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public A setToEphemeralContainerStatuses(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public A addToEphemeralContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A addAllToEphemeralContainerStatuses(
      java.util.Collection items);

  public A removeFromEphemeralContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A removeAllFromEphemeralContainerStatuses(
      java.util.Collection items);

  public A removeMatchingFromEphemeralContainerStatuses(
      java.util.function.Predicate
          predicate);

  /**
   * This method has been deprecated, please use method buildEphemeralContainerStatuses instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List
      getEphemeralContainerStatuses();

  public java.util.List
      buildEphemeralContainerStatuses();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildEphemeralContainerStatus(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildFirstEphemeralContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildLastEphemeralContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus
      buildMatchingEphemeralContainerStatus(
          java.util.function.Predicate
              predicate);

  public java.lang.Boolean hasMatchingEphemeralContainerStatus(
      java.util.function.Predicate
          predicate);

  public A withEphemeralContainerStatuses(
      java.util.List
          ephemeralContainerStatuses);

  public A withEphemeralContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... ephemeralContainerStatuses);

  public java.lang.Boolean hasEphemeralContainerStatuses();

  public V1PodStatusFluent.EphemeralContainerStatusesNested addNewEphemeralContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      addNewEphemeralContainerStatusLike(
          io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      setNewEphemeralContainerStatusLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      editEphemeralContainerStatus(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      editFirstEphemeralContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      editLastEphemeralContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.EphemeralContainerStatusesNested
      editMatchingEphemeralContainerStatus(
          java.util.function.Predicate
              predicate);

  public String getHostIP();

  public A withHostIP(java.lang.String hostIP);

  public java.lang.Boolean hasHostIP();

  public A addToInitContainerStatuses(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public A setToInitContainerStatuses(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public A addToInitContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A addAllToInitContainerStatuses(
      java.util.Collection items);

  public A removeFromInitContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... items);

  public A removeAllFromInitContainerStatuses(
      java.util.Collection items);

  public A removeMatchingFromInitContainerStatuses(
      java.util.function.Predicate
          predicate);

  /**
   * This method has been deprecated, please use method buildInitContainerStatuses instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List
      getInitContainerStatuses();

  public java.util.List
      buildInitContainerStatuses();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildInitContainerStatus(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildFirstInitContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildLastInitContainerStatus();

  public io.kubernetes.client.openapi.models.V1ContainerStatus buildMatchingInitContainerStatus(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingInitContainerStatus(
      java.util.function.Predicate
          predicate);

  public A withInitContainerStatuses(
      java.util.List initContainerStatuses);

  public A withInitContainerStatuses(
      io.kubernetes.client.openapi.models.V1ContainerStatus... initContainerStatuses);

  public java.lang.Boolean hasInitContainerStatuses();

  public V1PodStatusFluent.InitContainerStatusesNested addNewInitContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      addNewInitContainerStatusLike(io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      setNewInitContainerStatusLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1ContainerStatus item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      editInitContainerStatus(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      editFirstInitContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      editLastInitContainerStatus();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.InitContainerStatusesNested
      editMatchingInitContainerStatus(
          java.util.function.Predicate
              predicate);

  public java.lang.String getMessage();

  public A withMessage(java.lang.String message);

  public java.lang.Boolean hasMessage();

  public java.lang.String getNominatedNodeName();

  public A withNominatedNodeName(java.lang.String nominatedNodeName);

  public java.lang.Boolean hasNominatedNodeName();

  public java.lang.String getPhase();

  public A withPhase(java.lang.String phase);

  public java.lang.Boolean hasPhase();

  public java.lang.String getPodIP();

  public A withPodIP(java.lang.String podIP);

  public java.lang.Boolean hasPodIP();

  public A addToPodIPs(java.lang.Integer index, V1PodIP item);

  public A setToPodIPs(java.lang.Integer index, io.kubernetes.client.openapi.models.V1PodIP item);

  public A addToPodIPs(io.kubernetes.client.openapi.models.V1PodIP... items);

  public A addAllToPodIPs(java.util.Collection items);

  public A removeFromPodIPs(io.kubernetes.client.openapi.models.V1PodIP... items);

  public A removeAllFromPodIPs(
      java.util.Collection items);

  public A removeMatchingFromPodIPs(java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildPodIPs instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getPodIPs();

  public java.util.List buildPodIPs();

  public io.kubernetes.client.openapi.models.V1PodIP buildPodIP(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodIP buildFirstPodIP();

  public io.kubernetes.client.openapi.models.V1PodIP buildLastPodIP();

  public io.kubernetes.client.openapi.models.V1PodIP buildMatchingPodIP(
      java.util.function.Predicate predicate);

  public java.lang.Boolean hasMatchingPodIP(
      java.util.function.Predicate predicate);

  public A withPodIPs(java.util.List podIPs);

  public A withPodIPs(io.kubernetes.client.openapi.models.V1PodIP... podIPs);

  public java.lang.Boolean hasPodIPs();

  public V1PodStatusFluent.PodIPsNested addNewPodIP();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested addNewPodIPLike(
      io.kubernetes.client.openapi.models.V1PodIP item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested setNewPodIPLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1PodIP item);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested editPodIP(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested editFirstPodIP();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested editLastPodIP();

  public io.kubernetes.client.openapi.models.V1PodStatusFluent.PodIPsNested editMatchingPodIP(
      java.util.function.Predicate predicate);

  public java.lang.String getQosClass();

  public A withQosClass(java.lang.String qosClass);

  public java.lang.Boolean hasQosClass();

  public java.lang.String getReason();

  public A withReason(java.lang.String reason);

  public java.lang.Boolean hasReason();

  public OffsetDateTime getStartTime();

  public A withStartTime(java.time.OffsetDateTime startTime);

  public java.lang.Boolean hasStartTime();

  public interface ConditionsNested
      extends Nested, V1PodConditionFluent> {
    public N and();

    public N endCondition();
  }

  public interface ContainerStatusesNested
      extends io.kubernetes.client.fluent.Nested,
          V1ContainerStatusFluent> {
    public N and();

    public N endContainerStatus();
  }

  public interface EphemeralContainerStatusesNested
      extends io.kubernetes.client.fluent.Nested,
          V1ContainerStatusFluent> {
    public N and();

    public N endEphemeralContainerStatus();
  }

  public interface InitContainerStatusesNested
      extends io.kubernetes.client.fluent.Nested,
          V1ContainerStatusFluent> {
    public N and();

    public N endInitContainerStatus();
  }

  public interface PodIPsNested
      extends io.kubernetes.client.fluent.Nested,
          V1PodIPFluent> {
    public N and();

    public N endPodIP();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy