Class EntityTypeName.Builder (0.17.0)

public static class EntityTypeName.Builder

Builder for projects/{project}/locations/{location}/agents/{agent}/entityTypes/{entity_type}.

Inheritance

java.lang.Object > EntityTypeName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public EntityTypeName build()
Returns
Type Description
EntityTypeName

getAgent()

public String getAgent()
Returns
Type Description
String

getEntityType()

public String getEntityType()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setAgent(String agent)

public EntityTypeName.Builder setAgent(String agent)
Parameter
Name Description
agent String
Returns
Type Description
EntityTypeName.Builder

setEntityType(String entityType)

public EntityTypeName.Builder setEntityType(String entityType)
Parameter
Name Description
entityType String
Returns
Type Description
EntityTypeName.Builder

setLocation(String location)

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

setProject(String project)

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