Class NotificationConfig.Filter (2.17.0)

public static final class NotificationConfig.Filter extends GeneratedMessageV3 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

Static Fields

EVENT_TYPE_FIELD_NUMBER

public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NotificationConfig.Filter getDefaultInstance()
Returns
TypeDescription
NotificationConfig.Filter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NotificationConfig.Filter.Builder newBuilder()
Returns
TypeDescription
NotificationConfig.Filter.Builder

newBuilder(NotificationConfig.Filter prototype)

public static NotificationConfig.Filter.Builder newBuilder(NotificationConfig.Filter prototype)
Parameter
NameDescription
prototypeNotificationConfig.Filter
Returns
TypeDescription
NotificationConfig.Filter.Builder

parseDelimitedFrom(InputStream input)

public static NotificationConfig.Filter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NotificationConfig.Filter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NotificationConfig.Filter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NotificationConfig.Filter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NotificationConfig.Filter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NotificationConfig.Filter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NotificationConfig.Filter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NotificationConfig.Filter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NotificationConfig.Filter> parser()
Returns
TypeDescription
Parser<Filter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NotificationConfig.Filter getDefaultInstanceForType()
Returns
TypeDescription
NotificationConfig.Filter

getEventType(int index)

public NotificationConfig.EventType getEventType(int index)

Event types to allowlist.

repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription