- 2.86.0 (latest)
- 2.85.0
- 2.84.0
- 2.83.0
- 2.81.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class DisruptionEvent.Builder extends GeneratedMessage.Builder<DisruptionEvent.Builder> implements DisruptionEventOrBuilderDisruptionEvent is a notification sent to customers about the disruption event of a resource.
Protobuf type google.container.v1beta1.DisruptionEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DisruptionEvent.BuilderImplements
DisruptionEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPdbBlockedPod(Iterable<? extends DisruptionEvent.PdbBlockedPod> values)
public DisruptionEvent.Builder addAllPdbBlockedPod(Iterable<? extends DisruptionEvent.PdbBlockedPod> values)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 |
values |
Iterable<? extends com.google.container.v1beta1.DisruptionEvent.PdbBlockedPod> |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
addPdbBlockedPod(DisruptionEvent.PdbBlockedPod value)
public DisruptionEvent.Builder addPdbBlockedPod(DisruptionEvent.PdbBlockedPod value)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 |
value |
DisruptionEvent.PdbBlockedPod |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
addPdbBlockedPod(DisruptionEvent.PdbBlockedPod.Builder builderForValue)
public DisruptionEvent.Builder addPdbBlockedPod(DisruptionEvent.PdbBlockedPod.Builder builderForValue)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 |
builderForValue |
DisruptionEvent.PdbBlockedPod.Builder |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
addPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod value)
public DisruptionEvent.Builder addPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DisruptionEvent.PdbBlockedPod |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
addPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod.Builder builderForValue)
public DisruptionEvent.Builder addPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DisruptionEvent.PdbBlockedPod.Builder |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
addPdbBlockedPodBuilder()
public DisruptionEvent.PdbBlockedPod.Builder addPdbBlockedPodBuilder()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 |
DisruptionEvent.PdbBlockedPod.Builder |
|
addPdbBlockedPodBuilder(int index)
public DisruptionEvent.PdbBlockedPod.Builder addPdbBlockedPodBuilder(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 |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.PdbBlockedPod.Builder |
|
build()
public DisruptionEvent build()| Returns | |
|---|---|
| Type | Description |
DisruptionEvent |
|
buildPartial()
public DisruptionEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
DisruptionEvent |
|
clear()
public DisruptionEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
clearDisruptionType()
public DisruptionEvent.Builder clearDisruptionType()The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
This builder for chaining. |
clearPdbBlockedNode()
public DisruptionEvent.Builder clearPdbBlockedNode()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 |
DisruptionEvent.Builder |
This builder for chaining. |
clearPdbBlockedPod()
public DisruptionEvent.Builder clearPdbBlockedPod()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 |
DisruptionEvent.Builder |
|
clearPdbViolationTimeout()
public DisruptionEvent.Builder clearPdbViolationTimeout()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 |
DisruptionEvent.Builder |
|
getDefaultInstanceForType()
public DisruptionEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DisruptionEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisruptionType()
public DisruptionEvent.DisruptionType getDisruptionType()The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.DisruptionType |
The disruptionType. |
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. |
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 |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.PdbBlockedPod |
|
getPdbBlockedPodBuilder(int index)
public DisruptionEvent.PdbBlockedPod.Builder getPdbBlockedPodBuilder(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 |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.PdbBlockedPod.Builder |
|
getPdbBlockedPodBuilderList()
public List<DisruptionEvent.PdbBlockedPod.Builder> getPdbBlockedPodBuilderList()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<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<PdbBlockedPod> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.PdbBlockedPodOrBuilder |
|
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. |
getPdbViolationTimeoutBuilder()
public Duration.Builder getPdbViolationTimeoutBuilder()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 |
Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DisruptionEvent other)
public DisruptionEvent.Builder mergeFrom(DisruptionEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
DisruptionEvent |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisruptionEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DisruptionEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
mergePdbViolationTimeout(Duration value)
public DisruptionEvent.Builder mergePdbViolationTimeout(Duration value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
removePdbBlockedPod(int index)
public DisruptionEvent.Builder removePdbBlockedPod(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 |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
setDisruptionType(DisruptionEvent.DisruptionType value)
public DisruptionEvent.Builder setDisruptionType(DisruptionEvent.DisruptionType value)The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DisruptionEvent.DisruptionTypeThe disruptionType to set. |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
This builder for chaining. |
setDisruptionTypeValue(int value)
public DisruptionEvent.Builder setDisruptionTypeValue(int value)The type of the disruption event.
.google.container.v1beta1.DisruptionEvent.DisruptionType disruption_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for disruptionType to set. |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
This builder for chaining. |
setPdbBlockedNode(String value)
public DisruptionEvent.Builder setPdbBlockedNode(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pdbBlockedNode to set. |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
This builder for chaining. |
setPdbBlockedNodeBytes(ByteString value)
public DisruptionEvent.Builder setPdbBlockedNodeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pdbBlockedNode to set. |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
This builder for chaining. |
setPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod value)
public DisruptionEvent.Builder setPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DisruptionEvent.PdbBlockedPod |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
setPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod.Builder builderForValue)
public DisruptionEvent.Builder setPdbBlockedPod(int index, DisruptionEvent.PdbBlockedPod.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DisruptionEvent.PdbBlockedPod.Builder |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
setPdbViolationTimeout(Duration value)
public DisruptionEvent.Builder setPdbViolationTimeout(Duration value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|
setPdbViolationTimeout(Duration.Builder builderForValue)
public DisruptionEvent.Builder setPdbViolationTimeout(Duration.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.Builder |
|