Interface DisruptionEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DisruptionEvent, DisruptionEvent.Builder

@Generated public interface DisruptionEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDisruptionTypeValue

      int getDisruptionTypeValue()
       The type of the disruption event.
       
      .google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;
      Returns:
      The enum numeric value on the wire for disruptionType.
    • getDisruptionType

      DisruptionEvent.DisruptionType getDisruptionType()
       The type of the disruption event.
       
      .google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;
      Returns:
      The disruptionType.
    • getPdbBlockedNode

      String getPdbBlockedNode()
       The node whose drain is blocked by PDB. This field is set for both
       POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      string pdb_blocked_node = 2;
      Returns:
      The pdbBlockedNode.
    • getPdbBlockedNodeBytes

      com.google.protobuf.ByteString getPdbBlockedNodeBytes()
       The node whose drain is blocked by PDB. This field is set for both
       POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      string pdb_blocked_node = 2;
      Returns:
      The bytes for pdbBlockedNode.
    • getPdbBlockedPodList

      List<DisruptionEvent.PdbBlockedPod> getPdbBlockedPodList()
       The pods whose evictions are blocked by PDB. This field is set for
       both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      repeated .google.container.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
    • getPdbBlockedPod

      DisruptionEvent.PdbBlockedPod getPdbBlockedPod(int index)
       The pods whose evictions are blocked by PDB. This field is set for
       both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      repeated .google.container.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
    • getPdbBlockedPodCount

      int getPdbBlockedPodCount()
       The pods whose evictions are blocked by PDB. This field is set for
       both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      repeated .google.container.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
    • getPdbBlockedPodOrBuilderList

      List<? extends DisruptionEvent.PdbBlockedPodOrBuilder> getPdbBlockedPodOrBuilderList()
       The pods whose evictions are blocked by PDB. This field is set for
       both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      repeated .google.container.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
    • getPdbBlockedPodOrBuilder

      DisruptionEvent.PdbBlockedPodOrBuilder getPdbBlockedPodOrBuilder(int index)
       The pods whose evictions are blocked by PDB. This field is set for
       both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
       
      repeated .google.container.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
    • hasPdbViolationTimeout

      boolean hasPdbViolationTimeout()
       The timeout in seconds for which the node drain is blocked by PDB.
       After this timeout, pods are forcefully evicted.
       This field is only populated when event_type is
       POD_PDB_VIOLATION.
       
      optional .google.protobuf.Duration pdb_violation_timeout = 4;
      Returns:
      Whether the pdbViolationTimeout field is set.
    • getPdbViolationTimeout

      com.google.protobuf.Duration getPdbViolationTimeout()
       The timeout in seconds for which the node drain is blocked by PDB.
       After this timeout, pods are forcefully evicted.
       This field is only populated when event_type is
       POD_PDB_VIOLATION.
       
      optional .google.protobuf.Duration pdb_violation_timeout = 4;
      Returns:
      The pdbViolationTimeout.
    • getPdbViolationTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getPdbViolationTimeoutOrBuilder()
       The timeout in seconds for which the node drain is blocked by PDB.
       After this timeout, pods are forcefully evicted.
       This field is only populated when event_type is
       POD_PDB_VIOLATION.
       
      optional .google.protobuf.Duration pdb_violation_timeout = 4;