Interface DisruptionEventOrBuilder (2.86.0)

public interface DisruptionEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisruptionType()

public abstract DisruptionEvent.DisruptionType getDisruptionType()

The type of the disruption event.

.google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;

Returns
Type Description
DisruptionEvent.DisruptionType

The disruptionType.

getDisruptionTypeValue()

public abstract int getDisruptionTypeValue()

The type of the disruption event.

.google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for disruptionType.

getPdbBlockedNode()

public abstract 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
Type Description
String

The pdbBlockedNode.

getPdbBlockedNodeBytes()

public abstract 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
Type Description
ByteString

The bytes for pdbBlockedNode.

getPdbBlockedPod(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
DisruptionEvent.PdbBlockedPod

getPdbBlockedPodCount()

public abstract 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;

Returns
Type Description
int

getPdbBlockedPodList()

public abstract 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;

Returns
Type Description
List<PdbBlockedPod>

getPdbBlockedPodOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
DisruptionEvent.PdbBlockedPodOrBuilder

getPdbBlockedPodOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.container.v1.DisruptionEvent.PdbBlockedPodOrBuilder>

getPdbViolationTimeout()

public abstract 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
Type Description
Duration

The pdbViolationTimeout.

getPdbViolationTimeoutOrBuilder()

public abstract 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;

Returns
Type Description
DurationOrBuilder

hasPdbViolationTimeout()

public abstract 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
Type Description
boolean

Whether the pdbViolationTimeout field is set.