Class IntentName.Builder (0.52.0)

public static class IntentName.Builder

Builder for projects/{project}/locations/{location}/agents/{agent}/intents/{intent}.

Inheritance

java.lang.Object > IntentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public IntentName build()
Returns
TypeDescription
IntentName

getAgent()

public String getAgent()
Returns
TypeDescription
String

getIntent()

public String getIntent()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAgent(String agent)

public IntentName.Builder setAgent(String agent)
Parameter
NameDescription
agentString
Returns
TypeDescription
IntentName.Builder

setIntent(String intent)

public IntentName.Builder setIntent(String intent)
Parameter
NameDescription
intentString
Returns
TypeDescription
IntentName.Builder

setLocation(String location)

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

setProject(String project)

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