public final class DisruptionEvent extends GeneratedMessage implements DisruptionEventOrBuilder
DisruptionEvent is a notification sent to customers about the disruption
event of a resource.
Protobuf type google.container.v1beta1.DisruptionEvent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DISRUPTION_TYPE_FIELD_NUMBER
public static final int DISRUPTION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PDB_BLOCKED_NODE_FIELD_NUMBER
public static final int PDB_BLOCKED_NODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PDB_BLOCKED_POD_FIELD_NUMBER
public static final int PDB_BLOCKED_POD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PDB_VIOLATION_TIMEOUT_FIELD_NUMBER
public static final int PDB_VIOLATION_TIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DisruptionEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DisruptionEvent.Builder newBuilder()
newBuilder(DisruptionEvent prototype)
public static DisruptionEvent.Builder newBuilder(DisruptionEvent prototype)
public static DisruptionEvent parseDelimitedFrom(InputStream input)
public static DisruptionEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DisruptionEvent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisruptionEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DisruptionEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisruptionEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisruptionEvent parseFrom(CodedInputStream input)
public static DisruptionEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DisruptionEvent parseFrom(InputStream input)
public static DisruptionEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DisruptionEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisruptionEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DisruptionEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DisruptionEvent getDefaultInstanceForType()
getDisruptionType()
public DisruptionEvent.DisruptionType getDisruptionType()
The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
getDisruptionTypeValue()
public int getDisruptionTypeValue()
The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for disruptionType.
|
getParserForType()
public Parser<DisruptionEvent> getParserForType()
Overrides
getPdbBlockedNode()
public 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 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 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.v1beta1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
| Parameter |
| Name |
Description |
index |
int
|
getPdbBlockedPodCount()
public 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.v1beta1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
| Returns |
| Type |
Description |
int |
|
getPdbBlockedPodList()
public 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.v1beta1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
getPdbBlockedPodOrBuilder(int index)
public 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.v1beta1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
| Parameter |
| Name |
Description |
index |
int
|
getPdbBlockedPodOrBuilderList()
public 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.v1beta1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;
| Returns |
| Type |
Description |
List<? extends com.google.container.v1beta1.DisruptionEvent.PdbBlockedPodOrBuilder> |
|
getPdbViolationTimeout()
public 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 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;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasPdbViolationTimeout()
public 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DisruptionEvent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DisruptionEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DisruptionEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides