Class TopicName.Builder (1.10.0)

public static class TopicName.Builder

Builder for projects/{project}/locations/{location}/topics/{topic}.

Inheritance

java.lang.Object > TopicName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public TopicName build()
Returns
TypeDescription
TopicName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTopic()

public String getTopic()
Returns
TypeDescription
String

setLocation(String location)

public TopicName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
TopicName.Builder

setProject(String project)

public TopicName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
TopicName.Builder

setTopic(String topic)

public TopicName.Builder setTopic(String topic)
Parameter
NameDescription
topicString
Returns
TypeDescription
TopicName.Builder