Interface PubsubDestinationOrBuilder (3.56.0)

public interface PubsubDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract String getTopic()

The name of the Pub/Sub topic to publish to. For 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. For example: projects/PROJECT_ID/topics/TOPIC_ID.

string topic = 1;

Returns
Type Description
ByteString

The bytes for topic.