Class TopicName.Builder (1.13.8)

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
Type Description
TopicName

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getTopic()

public String getTopic()
Returns
Type Description
String

setLocation(String location)

public TopicName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
TopicName.Builder

setProject(String project)

public TopicName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
TopicName.Builder

setTopic(String topic)

public TopicName.Builder setTopic(String topic)
Parameter
Name Description
topic String
Returns
Type Description
TopicName.Builder