Packages

c

com.google.pubsub.v1

PublisherClient

abstract class PublisherClient extends PublisherClientPowerApi with Publisher with AkkaGrpcClient

Annotations
@AkkaGrpcGenerated()
Source
PublisherClient.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublisherClient
  2. AkkaGrpcClient
  3. Publisher
  4. PublisherClientPowerApi
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PublisherClient()

Abstract Value Members

  1. abstract def close(): CompletionStage[Done]
    Definition Classes
    AkkaGrpcClient
  2. abstract def closed(): CompletionStage[Done]
    Definition Classes
    AkkaGrpcClient
  3. 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).

    Definition Classes
    Publisher
  4. 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_.

    Definition Classes
    Publisher
  5. 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.

    Definition Classes
    Publisher
  6. abstract def getTopic(in: GetTopicRequest): CompletionStage[Topic]

    Gets the configuration of a topic.

    Gets the configuration of a topic.

    Definition Classes
    Publisher
  7. 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.

    Definition Classes
    Publisher
  8. abstract def listTopicSubscriptions(in: ListTopicSubscriptionsRequest): CompletionStage[ListTopicSubscriptionsResponse]

    Lists the names of the attached subscriptions on this topic.

    Lists the names of the attached subscriptions on this topic.

    Definition Classes
    Publisher
  9. abstract def listTopics(in: ListTopicsRequest): CompletionStage[ListTopicsResponse]

    Lists matching topics.

    Lists matching topics.

    Definition Classes
    Publisher
  10. 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.

    Definition Classes
    Publisher
  11. 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.

    Definition Classes
    Publisher

Concrete Value Members

  1. def createTopic(): SingleResponseRequestBuilder[Topic, Topic]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer createTopic(com.google.pubsub.v1.Topic) if possible.

    Definition Classes
    PublisherClientPowerApi
  2. def deleteTopic(): SingleResponseRequestBuilder[DeleteTopicRequest, Empty]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer deleteTopic(com.google.pubsub.v1.DeleteTopicRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  3. def detachSubscription(): SingleResponseRequestBuilder[DetachSubscriptionRequest, DetachSubscriptionResponse]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer detachSubscription(com.google.pubsub.v1.DetachSubscriptionRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  4. def getTopic(): SingleResponseRequestBuilder[GetTopicRequest, Topic]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer getTopic(com.google.pubsub.v1.GetTopicRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  5. def listTopicSnapshots(): SingleResponseRequestBuilder[ListTopicSnapshotsRequest, ListTopicSnapshotsResponse]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer listTopicSnapshots(com.google.pubsub.v1.ListTopicSnapshotsRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  6. def listTopicSubscriptions(): SingleResponseRequestBuilder[ListTopicSubscriptionsRequest, ListTopicSubscriptionsResponse]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer listTopicSubscriptions(com.google.pubsub.v1.ListTopicSubscriptionsRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  7. def listTopics(): SingleResponseRequestBuilder[ListTopicsRequest, ListTopicsResponse]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer listTopics(com.google.pubsub.v1.ListTopicsRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  8. def publish(): SingleResponseRequestBuilder[PublishRequest, PublishResponse]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer publish(com.google.pubsub.v1.PublishRequest) if possible.

    Definition Classes
    PublisherClientPowerApi
  9. def updateTopic(): SingleResponseRequestBuilder[UpdateTopicRequest, Topic]

    Lower level "lifted" version of the method, giving access to request metadata etc.

    Lower level "lifted" version of the method, giving access to request metadata etc. prefer updateTopic(com.google.pubsub.v1.UpdateTopicRequest) if possible.

    Definition Classes
    PublisherClientPowerApi