public abstract class PublisherOptions
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PublisherOptions.Builder |
| Constructor and Description |
|---|
PublisherOptions() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
hashCode() |
static PublisherOptions.Builder |
newBuilder() |
abstract @Nullable SerializableSupplier<java.lang.Object> |
publisherSupplier()
A supplier for the publisher to be used.
|
abstract com.google.cloud.pubsublite.TopicPath |
topicPath() |
boolean |
usesCache() |
public abstract com.google.cloud.pubsublite.TopicPath topicPath()
public abstract @Nullable SerializableSupplier<java.lang.Object> publisherSupplier()
The returned type must be convertible to Publisher
public abstract int hashCode()
hashCode in class java.lang.Objectpublic static PublisherOptions.Builder newBuilder()
public boolean usesCache()