Interface NotificationEndpointOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NotificationEndpoint, NotificationEndpoint.Builder

@Generated public interface NotificationEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    boolean
    Immutable.

    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 Details

    • hasPubsubTopic

      boolean hasPubsubTopic()
       Immutable. The Cloud Pub/Sub topic that receives events for the
       subscription.
      
       Format: `projects/{project}/topics/{topic}`
      
      
       You must create the topic in the same Google Cloud project where
       you create this subscription.
      
       When the topic receives events, the events are encoded as Cloud Pub/Sub
       messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for
       CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
       
      string pubsub_topic = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the pubsubTopic field is set.
    • getPubsubTopic

      String getPubsubTopic()
       Immutable. The Cloud Pub/Sub topic that receives events for the
       subscription.
      
       Format: `projects/{project}/topics/{topic}`
      
      
       You must create the topic in the same Google Cloud project where
       you create this subscription.
      
       When the topic receives events, the events are encoded as Cloud Pub/Sub
       messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for
       CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
       
      string pubsub_topic = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The pubsubTopic.
    • getPubsubTopicBytes

      com.google.protobuf.ByteString getPubsubTopicBytes()
       Immutable. The Cloud Pub/Sub topic that receives events for the
       subscription.
      
       Format: `projects/{project}/topics/{topic}`
      
      
       You must create the topic in the same Google Cloud project where
       you create this subscription.
      
       When the topic receives events, the events are encoded as Cloud Pub/Sub
       messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for
       CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
       
      string pubsub_topic = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for pubsubTopic.
    • getEndpointCase