Class ContextName.ProjectLocationSessionContextBuilder (4.41.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
Type Description
ContextName

getContext()

public String getContext()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSession()

public String getSession()
Returns
Type Description
String

setContext(String context)

public ContextName.ProjectLocationSessionContextBuilder setContext(String context)
Parameter
Name Description
context String
Returns
Type Description
ContextName.ProjectLocationSessionContextBuilder

setLocation(String location)

public ContextName.ProjectLocationSessionContextBuilder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
ContextName.ProjectLocationSessionContextBuilder

setProject(String project)

public ContextName.ProjectLocationSessionContextBuilder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
ContextName.ProjectLocationSessionContextBuilder

setSession(String session)

public ContextName.ProjectLocationSessionContextBuilder setSession(String session)
Parameter
Name Description
session String
Returns
Type Description
ContextName.ProjectLocationSessionContextBuilder