Class ContextName.ProjectLocationSessionContextBuilder (4.47.0)

public static class ContextName.ProjectLocationSessionContextBuilder

Builder for projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}.

Inheritance

java.lang.Object > ContextName.ProjectLocationSessionContextBuilder

Constructors

ProjectLocationSessionContextBuilder()

protected ProjectLocationSessionContextBuilder()

Methods

build()

public ContextName build()
Returns
TypeDescription
ContextName

getContext()

public String getContext()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSession()

public String getSession()
Returns
TypeDescription
String

setContext(String context)

public ContextName.ProjectLocationSessionContextBuilder setContext(String context)
Parameter
NameDescription
contextString
Returns
TypeDescription
ContextName.ProjectLocationSessionContextBuilder

setLocation(String location)

public ContextName.ProjectLocationSessionContextBuilder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
ContextName.ProjectLocationSessionContextBuilder

setProject(String project)

public ContextName.ProjectLocationSessionContextBuilder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
ContextName.ProjectLocationSessionContextBuilder

setSession(String session)

public ContextName.ProjectLocationSessionContextBuilder setSession(String session)
Parameter
NameDescription
sessionString
Returns
TypeDescription
ContextName.ProjectLocationSessionContextBuilder