Class PslReadDataSourceOptions.Builder (0.3.4)

publicabstractstaticclass PslReadDataSourceOptions.Builder

Inheritance

java.lang.Object > PslReadDataSourceOptions.Builder

Constructors

Builder()

publicBuilder()

Methods

build()

publicabstractPslReadDataSourceOptionsbuild()
Returns
Type Description

setCredentialsKey(String credentialsKey)

publicabstractPslReadDataSourceOptions.BuildersetCredentialsKey(StringcredentialsKey)
Parameter
Name Description
credentialsKey String
Returns
Type Description

setFlowControlSettings(FlowControlSettings flowControlSettings)

publicabstractPslReadDataSourceOptions.BuildersetFlowControlSettings(FlowControlSettingsflowControlSettings)
Parameter
Name Description
flowControlSettings com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings
Returns
Type Description

setMaxMessagesPerBatch(long maxMessagesPerBatch)

publicabstractPslReadDataSourceOptions.BuildersetMaxMessagesPerBatch(longmaxMessagesPerBatch)
Parameter
Name Description
maxMessagesPerBatch long
Returns
Type Description

setSubscriptionPath(SubscriptionPath subscriptionPath)

publicabstractPslReadDataSourceOptions.BuildersetSubscriptionPath(SubscriptionPathsubscriptionPath)
Parameter
Name Description
subscriptionPath com.google.cloud.pubsublite.SubscriptionPath
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.