| Package | Description |
|---|---|
| com.google.cloud.pubsub |
A client to Google Cloud Pub/Sub.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.Builder
A builder for
Subscription objects. |
| Modifier and Type | Method and Description |
|---|---|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.ackDeadLineSeconds(int ackDeadLineSeconds)
Sets the maximum time after a subscriber receives a message before the subscriber should
acknowledge the message.
|
static SubscriptionInfo.Builder |
SubscriptionInfo.builder(String topic,
String name)
Creates a builder for
SubscriptionInfo objects given the name of the topic and the name
of the subscription. |
static SubscriptionInfo.Builder |
SubscriptionInfo.builder(TopicId topic,
String name)
Creates a builder for
SubscriptionInfo objects given the identity of the topic and the
name of the subscription. |
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.name(String name)
Sets the name of the subscription.
|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.pushConfig(PushConfig pushConfig)
Sets the push configuration for the subscription.
|
SubscriptionInfo.Builder |
SubscriptionInfo.toBuilder()
Returns a builder for the subscription object.
|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.topic(String topic)
Sets the topic the subscription refers to, given the topic name.
|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.topic(String project,
String topic)
Sets the topic the subscription refers to, given the project and topic names.
|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.topic(TopicId topic)
Sets the topic the subscription refers to, given the topic identity.
|
Copyright © 2016 Google. All rights reserved.