Packages

trait Publisher extends AnyRef

The service that an application uses to manipulate topics, and to send messages to a topic.

Source
Publisher.java
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Publisher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def createTopic(in: Topic): CompletionStage[Topic]

    Creates the given topic with the given name.

    Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).

  2. abstract def deleteTopic(in: DeleteTopicRequest): CompletionStage[Empty]

    Deletes the topic with the given name.

    Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_.

  3. abstract def detachSubscription(in: DetachSubscriptionRequest): CompletionStage[DetachSubscriptionResponse]

    Detaches a subscription from this topic.

    Detaches a subscription from this topic. All messages retained in the subscription are dropped. Subsequent Pull and StreamingPull requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will stop.

  4. abstract def getTopic(in: GetTopicRequest): CompletionStage[Topic]

    Gets the configuration of a topic.

  5. abstract def listTopicSnapshots(in: ListTopicSnapshotsRequest): CompletionStage[ListTopicSnapshotsResponse]

    Lists the names of the snapshots on this topic.

    Lists the names of the snapshots on this topic. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.

  6. abstract def listTopicSubscriptions(in: ListTopicSubscriptionsRequest): CompletionStage[ListTopicSubscriptionsResponse]

    Lists the names of the attached subscriptions on this topic.

  7. abstract def listTopics(in: ListTopicsRequest): CompletionStage[ListTopicsResponse]

    Lists matching topics.

  8. abstract def publish(in: PublishRequest): CompletionStage[PublishResponse]

    Adds one or more messages to the topic.

    Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.

  9. abstract def updateTopic(in: UpdateTopicRequest): CompletionStage[Topic]

    Updates an existing topic by updating the fields specified in the update mask.

    Updates an existing topic by updating the fields specified in the update mask. Note that certain properties of a topic are not modifiable.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped