Class SearchConfigName.Builder (0.8.0)

public static class SearchConfigName.Builder

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

Inheritance

java.lang.Object > SearchConfigName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SearchConfigName build()
Returns
Type Description
SearchConfigName

getCorpus()

public String getCorpus()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

getSearchConfig()

public String getSearchConfig()
Returns
Type Description
String

setCorpus(String corpus)

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

setLocation(String location)

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

setProjectNumber(String projectNumber)

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

setSearchConfig(String searchConfig)

public SearchConfigName.Builder setSearchConfig(String searchConfig)
Parameter
Name Description
searchConfig String
Returns
Type Description
SearchConfigName.Builder