Interface PubsubDestinationOrBuilder (3.4.1)

public interface PubsubDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract String getTopic()

The name of the Pub/Sub topic to publish to. Example: projects/PROJECT_ID/topics/TOPIC_ID.

string topic = 1;

Returns
Type Description
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

The name of the Pub/Sub topic to publish to. Example: projects/PROJECT_ID/topics/TOPIC_ID.

string topic = 1;

Returns
Type Description
ByteString

The bytes for topic.