Class PslReadDataSourceOptions.Builder (1.0.0)

public abstract static class PslReadDataSourceOptions.Builder

Inheritance

java.lang.Object > PslReadDataSourceOptions.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract PslReadDataSourceOptions build()
Returns
TypeDescription
PslReadDataSourceOptions

setCredentialsKey(String credentialsKey)

public abstract PslReadDataSourceOptions.Builder setCredentialsKey(String credentialsKey)
Parameter
NameDescription
credentialsKeyString
Returns
TypeDescription
PslReadDataSourceOptions.Builder

setFlowControlSettings(FlowControlSettings flowControlSettings)

public abstract PslReadDataSourceOptions.Builder setFlowControlSettings(FlowControlSettings flowControlSettings)
Parameter
NameDescription
flowControlSettingscom.google.cloud.pubsublite.cloudpubsub.FlowControlSettings
Returns
TypeDescription
PslReadDataSourceOptions.Builder

setMaxMessagesPerBatch(long maxMessagesPerBatch)

public abstract PslReadDataSourceOptions.Builder setMaxMessagesPerBatch(long maxMessagesPerBatch)
Parameter
NameDescription
maxMessagesPerBatchlong
Returns
TypeDescription
PslReadDataSourceOptions.Builder

setSubscriptionPath(SubscriptionPath subscriptionPath)

public abstract PslReadDataSourceOptions.Builder setSubscriptionPath(SubscriptionPath subscriptionPath)
Parameter
NameDescription
subscriptionPathcom.google.cloud.pubsublite.SubscriptionPath
Returns
TypeDescription
PslReadDataSourceOptions.Builder