Interface NotificationConfig.PubSubOrBuilder (2.11.0)

public static interface NotificationConfig.PubSubOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Enable notifications for Pub/Sub.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getFilter()

public abstract NotificationConfig.Filter getFilter()

Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent

.google.container.v1.NotificationConfig.Filter filter = 3;

Returns
TypeDescription
NotificationConfig.Filter

The filter.

getFilterOrBuilder()

public abstract NotificationConfig.FilterOrBuilder getFilterOrBuilder()

Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent

.google.container.v1.NotificationConfig.Filter filter = 3;

Returns
TypeDescription
NotificationConfig.FilterOrBuilder

getTopic()

public abstract String getTopic()

The desired Pub/Sub topic to which notifications will be sent by GKE. Format is projects/{project}/topics/{topic}.

string topic = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

The desired Pub/Sub topic to which notifications will be sent by GKE. Format is projects/{project}/topics/{topic}.

string topic = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for topic.

hasFilter()

public abstract boolean hasFilter()

Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent

.google.container.v1.NotificationConfig.Filter filter = 3;

Returns
TypeDescription
boolean

Whether the filter field is set.