- 2.56.0 (latest)
- 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 GeneratedMessageV3.Builder<NotificationConfig.Filter.Builder> implements NotificationConfig.FilterOrBuilder
Allows 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
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NotificationConfig.Filter.BuilderImplements
NotificationConfig.FilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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;
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.NotificationConfig.EventType> The eventType to add. |
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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for eventType to add. |
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;
Name | Description |
value | NotificationConfig.EventType The eventType to add. |
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;
Name | Description |
value | int The enum numeric value on the wire for eventType to add. |
Type | Description |
NotificationConfig.Filter.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Filter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationConfig.Filter.Builder |
build()
public NotificationConfig.Filter build()
Type | Description |
NotificationConfig.Filter |
buildPartial()
public NotificationConfig.Filter buildPartial()
Type | Description |
NotificationConfig.Filter |
clear()
public NotificationConfig.Filter.Builder clear()
Type | Description |
NotificationConfig.Filter.Builder |
clearEventType()
public NotificationConfig.Filter.Builder clearEventType()
Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
Type | Description |
NotificationConfig.Filter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.Filter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NotificationConfig.Filter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Filter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NotificationConfig.Filter.Builder |
clone()
public NotificationConfig.Filter.Builder clone()
Type | Description |
NotificationConfig.Filter.Builder |
getDefaultInstanceForType()
public NotificationConfig.Filter getDefaultInstanceForType()
Type | Description |
NotificationConfig.Filter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
Name | Description |
index | int The index of the element to return. |
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;
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;
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;
Name | Description |
index | int The index of the value to return. |
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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for eventType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NotificationConfig.Filter other)
public NotificationConfig.Filter.Builder mergeFrom(NotificationConfig.Filter other)
Name | Description |
other | NotificationConfig.Filter |
Type | Description |
NotificationConfig.Filter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NotificationConfig.Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NotificationConfig.Filter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NotificationConfig.Filter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NotificationConfig.Filter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Filter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int The index to set the value at. |
value | NotificationConfig.EventType The eventType to set. |
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;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for eventType to set. |
Type | Description |
NotificationConfig.Filter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Filter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationConfig.Filter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.Filter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NotificationConfig.Filter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Filter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NotificationConfig.Filter.Builder |