Package com.google.container.v1
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 Summary
Modifier and TypeMethodDescriptionThe type of the disruption event.intThe type of the disruption event.The node whose drain is blocked by PDB.com.google.protobuf.ByteStringThe node whose drain is blocked by PDB.getPdbBlockedPod(int index) The pods whose evictions are blocked by PDB.intThe pods whose evictions are blocked by PDB.The pods whose evictions are blocked by PDB.getPdbBlockedPodOrBuilder(int index) The pods whose evictions are blocked by PDB.List<? extends DisruptionEvent.PdbBlockedPodOrBuilder>The pods whose evictions are blocked by PDB.com.google.protobuf.DurationThe timeout in seconds for which the node drain is blocked by PDB.com.google.protobuf.DurationOrBuilderThe timeout in seconds for which the node drain is blocked by PDB.booleanThe timeout in seconds for which the node drain is blocked by PDB.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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;
-