Class CorpusName.Builder (0.8.0)

public static class CorpusName.Builder

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

Inheritance

java.lang.Object > CorpusName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public CorpusName build()
Returns
Type Description
CorpusName

getCorpus()

public String getCorpus()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

setCorpus(String corpus)

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

setLocation(String location)

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

setProjectNumber(String projectNumber)

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