Interface PubsubOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    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

    • getTopic

      String getTopic()
       Optional. The name of the Pub/Sub topic created and managed by Eventarc as
       a transport for the event delivery. Format:
       `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`.
      
       You can set an existing topic for triggers of the type
       `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide
       here is not deleted by Eventarc at trigger deletion.
       
      string topic = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The topic.
    • getTopicBytes

      com.google.protobuf.ByteString getTopicBytes()
       Optional. The name of the Pub/Sub topic created and managed by Eventarc as
       a transport for the event delivery. Format:
       `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`.
      
       You can set an existing topic for triggers of the type
       `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide
       here is not deleted by Eventarc at trigger deletion.
       
      string topic = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for topic.
    • getSubscription

      String getSubscription()
       Output only. The name of the Pub/Sub subscription created and managed by
       Eventarc as a transport for the event delivery. Format:
       `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
       
      string subscription = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The subscription.
    • getSubscriptionBytes

      com.google.protobuf.ByteString getSubscriptionBytes()
       Output only. The name of the Pub/Sub subscription created and managed by
       Eventarc as a transport for the event delivery. Format:
       `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
       
      string subscription = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for subscription.