Class EntityTypeName.Builder (0.13.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
TypeDescription
EntityTypeName

getAgent()

public String getAgent()
Returns
TypeDescription
String

getEntityType()

public String getEntityType()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAgent(String agent)

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

setEntityType(String entityType)

public EntityTypeName.Builder setEntityType(String entityType)
Parameter
NameDescription
entityTypeString
Returns
TypeDescription
EntityTypeName.Builder

setLocation(String location)

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

setProject(String project)

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