Class PslWriteDataSourceOptions (1.0.0)

publicabstractclass PslWriteDataSourceOptionsimplementsSerializable

Inheritance

java.lang.Object > PslWriteDataSourceOptions

Implements

Serializable

Static Methods

builder()

publicstaticPslWriteDataSourceOptions.Builderbuilder()
Returns
Type Description
PslWriteDataSourceOptions.Builder

fromProperties(Map<String,String> properties)

publicstaticPslWriteDataSourceOptionsfromProperties(Map<String,String>properties)
Parameter
Name Description
properties Map<String,String>
Returns
Type Description
PslWriteDataSourceOptions

Constructors

PslWriteDataSourceOptions()

publicPslWriteDataSourceOptions()

Methods

createNewPublisher()

publicPublisher<MessageMetadata>createNewPublisher()
Returns
Type Description
com.google.cloud.pubsublite.internal.Publisher<com.google.cloud.pubsublite.MessageMetadata>

credentialsKey()

publicabstractStringcredentialsKey()
Returns
Type Description
String

getCredentialProvider()

publicPslCredentialsProvidergetCredentialProvider()
Returns
Type Description
PslCredentialsProvider

topicPath()

publicabstractTopicPathtopicPath()
Returns
Type Description
com.google.cloud.pubsublite.TopicPath

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.