Package com.google.container.v1
Interface NotificationConfig.PubSubOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationConfig.PubSub,NotificationConfig.PubSub.Builder
- Enclosing class:
- NotificationConfig
public static interface NotificationConfig.PubSubOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEnable notifications for Pub/Sub.Allows filtering to one or more specific event types.Allows filtering to one or more specific event types.getTopic()The desired Pub/Sub topic to which notifications will be sent by GKE.com.google.protobuf.ByteStringThe desired Pub/Sub topic to which notifications will be sent by GKE.booleanAllows filtering to one or more specific event types.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()Enable notifications for Pub/Sub.
bool enabled = 1;- Returns:
- The enabled.
-
getTopic
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:
- The topic.
-
getTopicBytes
com.google.protobuf.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:
- The bytes for topic.
-
hasFilter
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:
- Whether the filter field is set.
-
getFilter
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:
- The filter.
-
getFilterOrBuilder
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;
-