Interface PubsubDestinationOrBuilder (3.4.1)

public interface PubsubDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract String getTopic()

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

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

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

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.