| Modifier and Type | Method and Description |
|---|---|
Pubsub.Builder |
Pubsub.Builder.allowPoolingConnections(boolean allowPoolingConnections)
Set whether to allow connection pooling or not.
|
static Pubsub.Builder |
Pubsub.builder()
Create a new
Pubsub.Builder that can be used to build a new Pubsub client. |
Pubsub.Builder |
Pubsub.Builder.compressionLevel(int compressionLevel)
Set the Gzip compression level to use, 0-9 or -1 for default.
|
Pubsub.Builder |
Pubsub.Builder.connectTimeout(int connectTimeout)
Set the maximum time in milliseconds the client will can wait when connecting to a remote host.
|
Pubsub.Builder |
Pubsub.Builder.credential(com.google.api.client.auth.oauth2.Credential credential)
Set Google Cloud API credentials to use.
|
Pubsub.Builder |
Pubsub.Builder.enabledCipherSuites(List<String> enabledCipherSuites)
Set cipher suites to enable for SSL/TLS.
|
Pubsub.Builder |
Pubsub.Builder.enabledCipherSuites(String... enabledCipherSuites)
Set cipher suites to enable for SSL/TLS.
|
Pubsub.Builder |
Pubsub.Builder.maxConnections(int maxConnections)
Set the maximum number of connections client will open.
|
Pubsub.Builder |
Pubsub.Builder.pooledConnectionIdleTimeout(int pooledConnectionIdleTimeout)
Set the maximum number of milliseconds an idle pooled connection will be be kept.
|
Pubsub.Builder |
Pubsub.Builder.pooledConnectionTTL(int pooledConnectionTTL)
Set the maximum number of milliseconds a pooled connection will be reused.
|
Pubsub.Builder |
Pubsub.Builder.readTimeout(int readTimeout)
Set the connection read timeout in milliseconds.
|
Pubsub.Builder |
Pubsub.Builder.requestTimeout(int requestTimeout)
Set the request timeout in milliseconds.
|
Pubsub.Builder |
Pubsub.Builder.uri(URI uri)
The Google Cloud Pub/Sub API URI.
|
Copyright © 2018. All rights reserved.