Class TaskName.Builder (2.3.10)

public static class TaskName.Builder

Builder for projects/{project}/locations/{location}/queues/{queue}/tasks/{task}.

Inheritance

java.lang.Object > TaskName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public TaskName build()
Returns
TypeDescription
TaskName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getQueue()

public String getQueue()
Returns
TypeDescription
String

getTask()

public String getTask()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setQueue(String queue)

public TaskName.Builder setQueue(String queue)
Parameter
NameDescription
queueString
Returns
TypeDescription
TaskName.Builder

setTask(String task)

public TaskName.Builder setTask(String task)
Parameter
NameDescription
taskString
Returns
TypeDescription
TaskName.Builder