Interface NotificationConfig.PubSubOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnabled()
      Enable notifications for Pub/Sub.
      NotificationConfig.Filter getFilter()
      Allows filtering to one or more specific event types.
      NotificationConfig.FilterOrBuilder getFilterOrBuilder()
      Allows filtering to one or more specific event types.
      String getTopic()
      The desired Pub/Sub topic to which notifications will be sent by GKE.
      com.google.protobuf.ByteString getTopicBytes()
      The desired Pub/Sub topic to which notifications will be sent by GKE.
      boolean hasFilter()
      Allows filtering to one or more specific event types.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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;