Class SearchHypernymName.Builder (0.3.0)

public static class SearchHypernymName.Builder

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

Inheritance

java.lang.Object > SearchHypernymName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SearchHypernymName build()
Returns
Type Description
SearchHypernymName

getCorpus()

public String getCorpus()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

getSearchHypernym()

public String getSearchHypernym()
Returns
Type Description
String

setCorpus(String corpus)

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

setLocation(String location)

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

setProjectNumber(String projectNumber)

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

setSearchHypernym(String searchHypernym)

public SearchHypernymName.Builder setSearchHypernym(String searchHypernym)
Parameter
Name Description
searchHypernym String
Returns
Type Description
SearchHypernymName.Builder