Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
ackDeadlineSeconds() - Method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
ackDeadlineSeconds() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
ackDeadlineSeconds(Integer) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
ackDeadlineSeconds(Optional<? extends Integer>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
Acker - Class in com.spotify.google.cloud.pubsub.client
 
Acker.Builder - Class in com.spotify.google.cloud.pubsub.client
A builder that can be used to build an Acker.
ackId() - Method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
ackId() - Method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
ackId(String) - Method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
acknowledge(String) - Method in class com.spotify.google.cloud.pubsub.client.Acker
 
acknowledge(String, String, String...) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Acknowledge a batch of received messages.
acknowledge(String, String, List<String>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Acknowledge a batch of received messages.
acknowledge(String, List<String>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Acknowledge a batch of received messages.
addSubscription(Subscription) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
addTopic(Topic) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
allowPoolingConnections(boolean) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set whether to allow connection pooling or not.
applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
attributes() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
attributes() - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(Map<? extends String, ? extends String>) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(String, String, String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(String, String, String, String, String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(String, String, String, String, String, String, String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
attributes(String, String, String, String, String, String, String, String, String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 

B

Backoff - Class in com.spotify.google.cloud.pubsub.client
Thread safe backoff.
Backoff.Builder - Class in com.spotify.google.cloud.pubsub.client
 
BASE64_MATCHER - Static variable in interface com.spotify.google.cloud.pubsub.client.Message
 
batchSize(int) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the Google Cloud Pub/Sub ack batch size.
batchSize() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the max Google Pub/Sub request batch size.
batchSize(int) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the maximum batch size.
batchSize() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
batchSize(int) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the Google Cloud Pub/Sub pull batch size.
build() - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Build an Acker.
build() - Method in class com.spotify.google.cloud.pubsub.client.Backoff.Builder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Build a Publisher.
build() - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Creates a new Pubsub.
build() - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Build a Puller.
build() - Method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
build() - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
builder() - Static method in class com.spotify.google.cloud.pubsub.client.Acker
Create a builder that can be used to build an Acker.
Builder() - Constructor for class com.spotify.google.cloud.pubsub.client.Acker.Builder
 
builder() - Static method in class com.spotify.google.cloud.pubsub.client.Backoff
Create a builder that can be used to build an Acker.
Builder() - Constructor for class com.spotify.google.cloud.pubsub.client.Backoff.Builder
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
builder() - Static method in class com.spotify.google.cloud.pubsub.client.Publisher
Create a builder that can be used to build a Publisher.
Builder() - Constructor for class com.spotify.google.cloud.pubsub.client.Publisher.Builder
 
builder() - Static method in class com.spotify.google.cloud.pubsub.client.Pubsub
Create a new Pubsub.Builder that can be used to build a new Pubsub client.
builder() - Static method in class com.spotify.google.cloud.pubsub.client.Puller
Create a builder that can be used to build a Puller.
Builder() - Constructor for class com.spotify.google.cloud.pubsub.client.Puller.Builder
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.PushConfig
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.RequestInfo
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.SubscriptionList
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.Topic
 
builder() - Static method in interface com.spotify.google.cloud.pubsub.client.TopicList
 

C

canonicalSubscription(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
canonicalTopic(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.Topic
 
close() - Method in class com.spotify.google.cloud.pubsub.client.Acker
 
close() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Close this Publisher.
close() - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Close this Pubsub client.
close() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
closeFuture() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get a future that is completed when this Publisher is closed.
closeFuture() - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a future that is completed when this Pubsub client is closed.
com.spotify.google.cloud.pubsub.client - package com.spotify.google.cloud.pubsub.client
 
complete(T) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
completeExceptionally(Throwable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
compressionLevel(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the Gzip compression level to use, 0-9 or -1 for default.
concurrency(int) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the Google Cloud Pub/Sub request concurrency level.
concurrency(int) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the Google Cloud Pub/Sub request concurrency level.
concurrency() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the concurrent Google Pub/Sub request limit.
concurrency(int) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the Google Cloud Pub/Sub request concurrency level.
concurrency() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
connectTimeout(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the maximum time in milliseconds the client will can wait when connecting to a remote host.
create() - Static method in class com.spotify.google.cloud.pubsub.client.Pubsub
Create a new Pubsub client with default configuration.
createSubscription(String, String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Create a Pub/Sub subscription.
createSubscription(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Create a Pub/Sub subscription.
createTopic(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Create a Pub/Sub topic.
credential(Credential) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set Google Cloud API credentials to use.

D

data() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
data() - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
data(String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
decodedData() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
decodedDataUTF8() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
deleteSubscription(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Delete a Pub/Sub subscription.
deleteSubscription(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Delete a Pub/Sub subscription.
deleteTopic(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Delete a Pub/Sub topic.
deleteTopic(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Delete a Pub/Sub topic.

E

enabledCipherSuites(String...) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set cipher suites to enable for SSL/TLS.
enabledCipherSuites(List<String>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set cipher suites to enable for SSL/TLS.
encode(CharSequence) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(CharSequence, int, int) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(CharBuffer) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(char[]) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(ByteBuffer) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(byte[], int, int) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
encode(byte[]) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
exceptionally(Function<Throwable, ? extends T>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 

F

fail(Throwable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
failedFuture(RequestInfo, Throwable) - Static method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
from(Message) - Static method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
from(MessageBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
from(PushConfig) - Static method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
from(PushConfigBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
from(ReceivedMessage) - Static method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
from(ReceivedMessageBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
from(RequestInfo) - Static method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
from(RequestInfoBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
from(Subscription) - Static method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
from(SubscriptionBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
from(SubscriptionList) - Static method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
from(SubscriptionListBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
from(Topic) - Static method in class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
from(TopicBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
from(TopicList) - Static method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
from(TopicListBuilder) - Static method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 

G

getSubscription(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a Pub/Sub subscription.
getSubscription(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a Pub/Sub subscription.
getTopic(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a Pub/Sub topic.
getTopic(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a Pub/Sub topic.

H

handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
handleMessage(Puller, String, Message, String) - Method in interface com.spotify.google.cloud.pubsub.client.Puller.MessageHandler
Called when a Puller receives a message.

I

initialInterval(long) - Method in class com.spotify.google.cloud.pubsub.client.Backoff.Builder
The initial interval in milliseconds between calls
isEncoded(Message) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 

L

listener(Publisher.Listener) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set a Publisher.Listener for monitoring operations performed by the Publisher.
ListenerAdapter() - Constructor for class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
listSubscriptions(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
List the Pub/Sub subscriptions in a project.
listSubscriptions(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a page of Pub/Sub subscriptions in a project using a specified page token.
listTopics(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
List the Pub/Sub topics in a project.
listTopics(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Get a page of Pub/Sub topics in a project using a specified page token.

M

maxAckQueueSize(int) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the max size for the queue of acks back to Google Cloud Pub/Sub.
maxAckQueueSize() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
maxBackoffMultiplier(int) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the maximum backoff multiplier.
maxBackoffMultiplier(int) - Method in class com.spotify.google.cloud.pubsub.client.Backoff.Builder
The maximum interval multiplier for backoff (0 is no backoff)
maxBackoffMultiplier(int) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the maximum backoff multiplier.
maxConnections(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the maximum number of connections client will open.
maxLatencyMs(long) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the maximum latency in millis before sending an incomplete Google Cloud Pub/Sub ack batch request.
maxLatencyMs(long) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the maximum latency in millis before sending an incomplete Google Cloud Pub/Sub publish batch request.
maxOutstandingMessages(int) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the limit of outstanding messages pending handling.
maxOutstandingMessages() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
Message - Interface in com.spotify.google.cloud.pubsub.client
 
message() - Method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
message() - Method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
message(Message) - Method in class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
MessageBuilder - Class in com.spotify.google.cloud.pubsub.client
 
MessageBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
messageHandler(Puller.MessageHandler) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
The handler to call for received messages.
messageId() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
messageId() - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
messageId(String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
messageId(Optional<? extends String>) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
method() - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
method() - Method in interface com.spotify.google.cloud.pubsub.client.RequestInfo
 
method() - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
method(String) - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
modifyAckDeadline(String, String, int, String...) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Modify the ack deadline for a list of received messages.
modifyAckDeadline(String, String, int, List<String>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Modify the ack deadline for a list of received messages.
modifyAckDeadline(String, int, List<String>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Modify the ack deadline for a list of received messages.

N

name() - Method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
name() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
name(String) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
name() - Method in interface com.spotify.google.cloud.pubsub.client.Topic
 
name() - Method in class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
name(String) - Method in class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
nextPageToken() - Method in interface com.spotify.google.cloud.pubsub.client.SubscriptionList
 
nextPageToken() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
nextPageToken(String) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
nextPageToken(Optional<? extends String>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
nextPageToken() - Method in interface com.spotify.google.cloud.pubsub.client.TopicList
 
nextPageToken() - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
nextPageToken(String) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
nextPageToken(Optional<? extends String>) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 

O

of(String) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
of(RequestInfo) - Static method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
of(String) - Static method in interface com.spotify.google.cloud.pubsub.client.PushConfig
 
of() - Static method in interface com.spotify.google.cloud.pubsub.client.PushConfig
 
of(String, Message) - Static method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
of(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
of(String, String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
of(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
of(Iterable<Subscription>) - Static method in interface com.spotify.google.cloud.pubsub.client.SubscriptionList
 
of(Subscription...) - Static method in interface com.spotify.google.cloud.pubsub.client.SubscriptionList
 
of(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.Topic
 
of(String) - Static method in interface com.spotify.google.cloud.pubsub.client.Topic
 
of(Iterable<Topic>) - Static method in interface com.spotify.google.cloud.pubsub.client.TopicList
 
of(Topic...) - Static method in interface com.spotify.google.cloud.pubsub.client.TopicList
 
ofEncoded(CharSequence) - Static method in interface com.spotify.google.cloud.pubsub.client.Message
 
ofEncoded(String, String) - Static method in interface com.spotify.google.cloud.pubsub.client.ReceivedMessage
 
operation() - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
operation() - Method in interface com.spotify.google.cloud.pubsub.client.RequestInfo
 
operation() - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
operation(String) - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
outstandingMessages() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
outstandingRequests() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the current number of outstanding (batch) requests to Google Pub/Sub.
outstandingRequests() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 

P

PATTERN - Static variable in interface com.spotify.google.cloud.pubsub.client.Subscription
 
PATTERN - Static variable in interface com.spotify.google.cloud.pubsub.client.Topic
 
payloadSize() - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
payloadSize() - Method in interface com.spotify.google.cloud.pubsub.client.RequestInfo
 
payloadSize() - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
payloadSize(long) - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
pendingTopics() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the current number of topics that are pending batch sending to Google Pub/Sub.
pooledConnectionIdleTimeout(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the maximum number of milliseconds an idle pooled connection will be be kept.
pooledConnectionTTL(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the maximum number of milliseconds a pooled connection will be reused.
project(String) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the Google Cloud project to ack on from.
project(String) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the Google Cloud project to publish to.
project() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the Google Cloud project this Publisher is publishing to.
project(String) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the Google Cloud project to pull from.
project() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
PROJECTS - Static variable in interface com.spotify.google.cloud.pubsub.client.Subscription
 
PROJECTS - Static variable in interface com.spotify.google.cloud.pubsub.client.Topic
 
publish(String, Message) - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Publish a message on a specific topic.
publish(String, String, Message...) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Publish a batch of messages.
publish(String, String, List<Message>) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Publish a batch of messages.
publish(List<Message>, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Publish a batch of messages.
Publisher - Class in com.spotify.google.cloud.pubsub.client
A tool for publishing larger volumes of messages to Google Pub/Sub.
Publisher.Builder - Class in com.spotify.google.cloud.pubsub.client
A builder that can be used to build a Publisher.
Publisher.Listener - Interface in com.spotify.google.cloud.pubsub.client
A listener for monitoring operations performed by the Publisher.
Publisher.ListenerAdapter - Class in com.spotify.google.cloud.pubsub.client
 
publisherClosed(Publisher) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Called when a Publisher is closed.
publisherClosed(Publisher) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
publisherCreated(Publisher) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Called when a new Publisher is instantiated.
publisherCreated(Publisher) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
publishingMessage(Publisher, String, Message, CompletableFuture<String>) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Called when a Publisher receieves a new message for publication.
publishingMessage(Publisher, String, Message, CompletableFuture<String>) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
publishTime() - Method in interface com.spotify.google.cloud.pubsub.client.Message
 
publishTime() - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
publishTime(Instant) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
publishTime(Optional<? extends Instant>) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 
pubsub(Pubsub) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the Pubsub client to use.
pubsub(Pubsub) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the Pubsub client to use.
Pubsub - Class in com.spotify.google.cloud.pubsub.client
An async low-level Google Cloud Pub/Sub client.
pubsub(Pubsub) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the Pubsub client to use.
Pubsub.Builder - Class in com.spotify.google.cloud.pubsub.client
A Pubsub.Builder that can be used to build a new Pubsub client.
PubsubException - Exception in com.spotify.google.cloud.pubsub.client
 
PubsubException() - Constructor for exception com.spotify.google.cloud.pubsub.client.PubsubException
 
PubsubException(String) - Constructor for exception com.spotify.google.cloud.pubsub.client.PubsubException
 
PubsubException(String, Throwable) - Constructor for exception com.spotify.google.cloud.pubsub.client.PubsubException
 
PubsubFuture<T> - Class in com.spotify.google.cloud.pubsub.client
 
pull(String, String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String, String, boolean) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String, String, boolean, int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String, boolean) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String, boolean, int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
pull(String, PullRequest) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub
Pull a batch of messages.
Puller - Class in com.spotify.google.cloud.pubsub.client
 
Puller(Puller.Builder) - Constructor for class com.spotify.google.cloud.pubsub.client.Puller
 
Puller.Builder - Class in com.spotify.google.cloud.pubsub.client
A builder that can be used to build a Puller.
Puller.MessageHandler - Interface in com.spotify.google.cloud.pubsub.client
A handler for received messages.
pullIntervalMillis(long) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
Set the pull interval in millis.
pullIntervalMillis() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
PushConfig - Interface in com.spotify.google.cloud.pubsub.client
 
pushConfig() - Method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
pushConfig() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
pushConfig(PushConfig) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
pushConfig(Optional<? extends PushConfig>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
PushConfigBuilder - Class in com.spotify.google.cloud.pubsub.client
 
PushConfigBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
pushEndpoint() - Method in interface com.spotify.google.cloud.pubsub.client.PushConfig
 
pushEndpoint() - Method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
pushEndpoint(String) - Method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
pushEndpoint(Optional<? extends String>) - Method in class com.spotify.google.cloud.pubsub.client.PushConfigBuilder
 
putAttribute(String, String) - Method in class com.spotify.google.cloud.pubsub.client.MessageBuilder
 

Q

QueueFullException - Exception in com.spotify.google.cloud.pubsub.client
 
QueueFullException() - Constructor for exception com.spotify.google.cloud.pubsub.client.QueueFullException
 
queueSize(Integer) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
Set the ack queue size.
queueSize(Integer) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.Builder
Set the per-topic queue size.
queueSize() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the per-topic queue size.

R

readTimeout(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the connection read timeout in milliseconds.
ReceivedMessage - Interface in com.spotify.google.cloud.pubsub.client
 
ReceivedMessageBuilder - Class in com.spotify.google.cloud.pubsub.client
 
ReceivedMessageBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.ReceivedMessageBuilder
 
RequestFailedException - Exception in com.spotify.google.cloud.pubsub.client
 
RequestFailedException(int, String) - Constructor for exception com.spotify.google.cloud.pubsub.client.RequestFailedException
 
RequestInfo - Interface in com.spotify.google.cloud.pubsub.client
 
RequestInfoBuilder - Class in com.spotify.google.cloud.pubsub.client
 
RequestInfoBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
requestTimeout(int) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
Set the request timeout in milliseconds.
reset() - Method in class com.spotify.google.cloud.pubsub.client.Backoff
 
runAfterBoth(CompletionStage<?>, Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
runAfterEither(CompletionStage<?>, Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 

S

scheduledQueueSize() - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the total number of scheduled requests.
sendingBatch(Publisher, String, List<Message>, CompletableFuture<List<String>>) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Deprecated.
sendingBatch(Publisher, String, List<Message>, PubsubFuture<List<String>>) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Called when a Publisher is sending a batch of messages to Google Cloud Pub/Sub.
sendingBatch(Publisher, String, List<Message>, PubsubFuture<List<String>>) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
sendingBatch(Publisher, String, List<Message>, CompletableFuture<List<String>>) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
sleep() - Method in class com.spotify.google.cloud.pubsub.client.Backoff
 
statusCode() - Method in exception com.spotify.google.cloud.pubsub.client.RequestFailedException
 
statusMessage() - Method in exception com.spotify.google.cloud.pubsub.client.RequestFailedException
 
subscription(String) - Method in class com.spotify.google.cloud.pubsub.client.Acker.Builder
The subscription to ack on from.
subscription(String) - Method in class com.spotify.google.cloud.pubsub.client.Puller.Builder
The subscription to pull from.
subscription() - Method in class com.spotify.google.cloud.pubsub.client.Puller
 
Subscription - Interface in com.spotify.google.cloud.pubsub.client
 
SubscriptionBuilder - Class in com.spotify.google.cloud.pubsub.client
 
SubscriptionBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
SubscriptionList - Interface in com.spotify.google.cloud.pubsub.client
 
SubscriptionListBuilder - Class in com.spotify.google.cloud.pubsub.client
 
SubscriptionListBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
SUBSCRIPTIONS - Static variable in interface com.spotify.google.cloud.pubsub.client.Subscription
 
subscriptions() - Method in interface com.spotify.google.cloud.pubsub.client.SubscriptionList
 
subscriptions() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
subscriptions(List<? extends Subscription>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
subscriptions(Collection<? extends Subscription>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
subscriptions(Iterable<? extends Subscription>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
subscriptions(Iterator<? extends Subscription>) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
subscriptions(Subscription...) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionListBuilder
 
succeed(T) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
succeededFuture(RequestInfo, T) - Static method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 

T

thenAccept(Consumer<? super T>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenAcceptAsync(Consumer<? super T>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenAcceptAsync(Consumer<? super T>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenApply(Function<? super T, ? extends U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenApplyAsync(Function<? super T, ? extends U>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenRun(Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenRunAsync(Runnable) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
thenRunAsync(Runnable, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
toCompletableFuture() - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
topic() - Method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
topic() - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
topic(String) - Method in class com.spotify.google.cloud.pubsub.client.SubscriptionBuilder
 
Topic - Interface in com.spotify.google.cloud.pubsub.client
 
TopicBuilder - Class in com.spotify.google.cloud.pubsub.client
 
TopicBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.TopicBuilder
 
TopicList - Interface in com.spotify.google.cloud.pubsub.client
 
TopicListBuilder - Class in com.spotify.google.cloud.pubsub.client
 
TopicListBuilder() - Constructor for class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topicPending(Publisher, String, int, int) - Method in interface com.spotify.google.cloud.pubsub.client.Publisher.Listener
Called when a topic is enqueued as pending for future batch sending due to the publisher hitting the concurrency limit.
topicPending(Publisher, String, int, int) - Method in class com.spotify.google.cloud.pubsub.client.Publisher.ListenerAdapter
 
topicQueueSize(String) - Method in class com.spotify.google.cloud.pubsub.client.Publisher
Get the current queue size for the given topic name.
TOPICS - Static variable in interface com.spotify.google.cloud.pubsub.client.Topic
 
topics() - Method in interface com.spotify.google.cloud.pubsub.client.TopicList
 
topics() - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topics(List<? extends Topic>) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topics(Collection<? extends Topic>) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topics(Iterable<? extends Topic>) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topics(Iterator<? extends Topic>) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 
topics(Topic...) - Method in class com.spotify.google.cloud.pubsub.client.TopicListBuilder
 

U

uri(URI) - Method in class com.spotify.google.cloud.pubsub.client.Pubsub.Builder
The Google Cloud Pub/Sub API URI.
uri() - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
uri() - Method in interface com.spotify.google.cloud.pubsub.client.RequestInfo
 
uri() - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 
uri(String) - Method in class com.spotify.google.cloud.pubsub.client.RequestInfoBuilder
 

V

validateCanonicalSubscription(String) - Static method in interface com.spotify.google.cloud.pubsub.client.Subscription
 
validateCanonicalTopic(String) - Static method in interface com.spotify.google.cloud.pubsub.client.Topic
 

W

whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class com.spotify.google.cloud.pubsub.client.PubsubFuture
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.