Class CollectionName.Builder (0.9.0)

public static class CollectionName.Builder

Builder for projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}.

Inheritance

java.lang.Object > CollectionName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public CollectionName build()
Returns
Type Description
CollectionName

getCollection()

public String getCollection()
Returns
Type Description
String

getCorpus()

public String getCorpus()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

setCollection(String collection)

public CollectionName.Builder setCollection(String collection)
Parameter
Name Description
collection String
Returns
Type Description
CollectionName.Builder

setCorpus(String corpus)

public CollectionName.Builder setCorpus(String corpus)
Parameter
Name Description
corpus String
Returns
Type Description
CollectionName.Builder

setLocation(String location)

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

setProjectNumber(String projectNumber)

public CollectionName.Builder setProjectNumber(String projectNumber)
Parameter
Name Description
projectNumber String
Returns
Type Description
CollectionName.Builder