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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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;
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 | int
The enum numeric value on the wire for eventType to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Filter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NotificationConfig.Filter build()
buildPartial()
public NotificationConfig.Filter buildPartial()
clear()
public NotificationConfig.Filter.Builder clear()
Overrides
clearEventType()
public NotificationConfig.Filter.Builder clearEventType()
Event types to allowlist.
repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.Filter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.Filter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NotificationConfig.Filter.Builder clone()
Overrides
getDefaultInstanceForType()
public NotificationConfig.Filter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 | int
The index of the element to return.
|
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 | int
The 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NotificationConfig.Filter other)
public NotificationConfig.Filter.Builder mergeFrom(NotificationConfig.Filter other)
public NotificationConfig.Filter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NotificationConfig.Filter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Filter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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 | int
The index to set the value at.
|
value | int
The enum numeric value on the wire for eventType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.Filter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.Filter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.Filter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides