- 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 NotificationConfig.Filter.Builder extends GeneratedMessage.Builder<NotificationConfig.Filter.Builder> implements NotificationConfig.FilterOrBuilderAllows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent
Protobuf type google.container.v1beta1.NotificationConfig.Filter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NotificationConfig.Filter.BuilderImplements
NotificationConfig.FilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEventType(Iterable<? extends NotificationConfig.EventType> values)
public NotificationConfig.Filter.Builder addAllEventType(Iterable<? extends NotificationConfig.EventType> values)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.container.v1beta1.NotificationConfig.EventType>The eventType to add. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
addAllEventTypeValue(Iterable<Integer> values)
public NotificationConfig.Filter.Builder addAllEventTypeValue(Iterable<Integer> values)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for eventType to add. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
addEventType(NotificationConfig.EventType value)
public NotificationConfig.Filter.Builder addEventType(NotificationConfig.EventType value)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
NotificationConfig.EventTypeThe eventType to add. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
addEventTypeValue(int value)
public NotificationConfig.Filter.Builder addEventTypeValue(int value)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for eventType to add. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
build()
public NotificationConfig.Filter build()| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter |
|
buildPartial()
public NotificationConfig.Filter buildPartial()| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter |
|
clear()
public NotificationConfig.Filter.Builder clear()| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
|
clearEventType()
public NotificationConfig.Filter.Builder clearEventType()Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NotificationConfig.Filter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEventType(int index)
public NotificationConfig.EventType getEventType(int index)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.EventType |
The eventType at the given index. |
getEventTypeCount()
public int getEventTypeCount()Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of eventType. |
getEventTypeList()
public List<NotificationConfig.EventType> getEventTypeList()Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Returns | |
|---|---|
| Type | Description |
List<EventType> |
A list containing the eventType. |
getEventTypeValue(int index)
public int getEventTypeValue(int index)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of eventType at the given index. |
getEventTypeValueList()
public List<Integer> getEventTypeValueList()Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for eventType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NotificationConfig.Filter other)
public NotificationConfig.Filter.Builder mergeFrom(NotificationConfig.Filter other)| Parameter | |
|---|---|
| Name | Description |
other |
NotificationConfig.Filter |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NotificationConfig.Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NotificationConfig.Filter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
|
setEventType(int index, NotificationConfig.EventType value)
public NotificationConfig.Filter.Builder setEventType(int index, NotificationConfig.EventType value)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
NotificationConfig.EventTypeThe eventType to set. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |
setEventTypeValue(int index, int value)
public NotificationConfig.Filter.Builder setEventTypeValue(int index, int value)Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for eventType to set. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig.Filter.Builder |
This builder for chaining. |