public abstract static class SubscriberOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SubscriberOptions |
build() |
abstract SubscriberOptions.Builder |
setCommitterStubSupplier(SerializableSupplier<com.google.cloud.pubsublite.proto.CursorServiceGrpc.CursorServiceStub> stubSupplier) |
abstract SubscriberOptions.Builder |
setFlowControlSettings(com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings flowControlSettings) |
abstract SubscriberOptions.Builder |
setPartitions(java.util.Set<com.google.cloud.pubsublite.Partition> partitions) |
abstract SubscriberOptions.Builder |
setSubscriberStubSupplier(SerializableSupplier<com.google.cloud.pubsublite.proto.SubscriberServiceGrpc.SubscriberServiceStub> stubSupplier) |
abstract SubscriberOptions.Builder |
setSubscriptionPath(com.google.cloud.pubsublite.SubscriptionPath path) |
public abstract SubscriberOptions.Builder setSubscriptionPath(com.google.cloud.pubsublite.SubscriptionPath path)
public abstract SubscriberOptions.Builder setPartitions(java.util.Set<com.google.cloud.pubsublite.Partition> partitions)
public abstract SubscriberOptions.Builder setFlowControlSettings(com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings flowControlSettings)
public abstract SubscriberOptions.Builder setSubscriberStubSupplier(SerializableSupplier<com.google.cloud.pubsublite.proto.SubscriberServiceGrpc.SubscriberServiceStub> stubSupplier)
public abstract SubscriberOptions.Builder setCommitterStubSupplier(SerializableSupplier<com.google.cloud.pubsublite.proto.CursorServiceGrpc.CursorServiceStub> stubSupplier)
public SubscriberOptions build() throws io.grpc.StatusException
io.grpc.StatusException