public static interface NotificationConfig.PubSubOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()
Enable notifications for Pub/Sub.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the filter field is set. |