Package com.google.container.v1
Class DisruptionEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.DisruptionEvent
- All Implemented Interfaces:
DisruptionEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DisruptionEvent
extends com.google.protobuf.GeneratedMessage
implements DisruptionEventOrBuilder
DisruptionEvent is a notification sent to customers about the disruption event of a resource.Protobuf type
google.container.v1.DisruptionEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDisruptionEvent is a notification sent to customers about the disruption event of a resource.static enumThe type of the disruption event.static final classThe namespace/name of the pod whose eviction is blocked by PDB.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DisruptionEventstatic final com.google.protobuf.Descriptors.DescriptorThe type of the disruption event.intThe type of the disruption event.com.google.protobuf.Parser<DisruptionEvent>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.intinthashCode()booleanThe timeout in seconds for which the node drain is blocked by PDB.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DisruptionEvent.Builderstatic DisruptionEvent.BuildernewBuilder(DisruptionEvent prototype) protected DisruptionEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DisruptionEventparseDelimitedFrom(InputStream input) static DisruptionEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DisruptionEventparseFrom(byte[] data) static DisruptionEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DisruptionEventparseFrom(com.google.protobuf.ByteString data) static DisruptionEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DisruptionEventparseFrom(com.google.protobuf.CodedInputStream input) static DisruptionEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DisruptionEventparseFrom(InputStream input) static DisruptionEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DisruptionEventparseFrom(ByteBuffer data) static DisruptionEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DisruptionEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DISRUPTION_TYPE_FIELD_NUMBER
public static final int DISRUPTION_TYPE_FIELD_NUMBER- See Also:
-
PDB_BLOCKED_NODE_FIELD_NUMBER
public static final int PDB_BLOCKED_NODE_FIELD_NUMBER- See Also:
-
PDB_BLOCKED_POD_FIELD_NUMBER
public static final int PDB_BLOCKED_POD_FIELD_NUMBER- See Also:
-
PDB_VIOLATION_TIMEOUT_FIELD_NUMBER
public static final int PDB_VIOLATION_TIMEOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDisruptionTypeValue
public int getDisruptionTypeValue()The type of the disruption event.
.google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;- Specified by:
getDisruptionTypeValuein interfaceDisruptionEventOrBuilder- Returns:
- The enum numeric value on the wire for disruptionType.
-
getDisruptionType
The type of the disruption event.
.google.container.v1.DisruptionEvent.DisruptionType disruption_type = 1;- Specified by:
getDisruptionTypein interfaceDisruptionEventOrBuilder- Returns:
- The disruptionType.
-
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;- Specified by:
getPdbBlockedNodein interfaceDisruptionEventOrBuilder- Returns:
- The pdbBlockedNode.
-
getPdbBlockedNodeBytes
public 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;- Specified by:
getPdbBlockedNodeBytesin interfaceDisruptionEventOrBuilder- Returns:
- The bytes for pdbBlockedNode.
-
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;- Specified by:
getPdbBlockedPodListin interfaceDisruptionEventOrBuilder
-
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;- Specified by:
getPdbBlockedPodOrBuilderListin interfaceDisruptionEventOrBuilder
-
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.v1.DisruptionEvent.PdbBlockedPod pdb_blocked_pod = 3;- Specified by:
getPdbBlockedPodCountin interfaceDisruptionEventOrBuilder
-
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;- Specified by:
getPdbBlockedPodin interfaceDisruptionEventOrBuilder
-
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;- Specified by:
getPdbBlockedPodOrBuilderin interfaceDisruptionEventOrBuilder
-
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;- Specified by:
hasPdbViolationTimeoutin interfaceDisruptionEventOrBuilder- Returns:
- Whether the pdbViolationTimeout field is set.
-
getPdbViolationTimeout
public 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;- Specified by:
getPdbViolationTimeoutin interfaceDisruptionEventOrBuilder- Returns:
- The pdbViolationTimeout.
-
getPdbViolationTimeoutOrBuilder
public 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;- Specified by:
getPdbViolationTimeoutOrBuilderin interfaceDisruptionEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DisruptionEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisruptionEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisruptionEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisruptionEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisruptionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DisruptionEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DisruptionEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DisruptionEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DisruptionEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DisruptionEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DisruptionEvent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-