Interface GetTopicRequestOrBuilder (1.120.24)

public interface GetTopicRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract String getTopic()

Required. The name of the topic to get. Format is projects/{project}/topics/{topic}.

string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Required. The name of the topic to get. Format is projects/{project}/topics/{topic}.

string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for topic.