Class IndexName.Builder (0.4.0)

public static class IndexName.Builder

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

Inheritance

java.lang.Object > IndexName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public IndexName build()
Returns
Type Description
IndexName

getCorpus()

public String getCorpus()
Returns
Type Description
String

getIndex()

public String getIndex()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

setCorpus(String corpus)

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

setIndex(String index)

public IndexName.Builder setIndex(String index)
Parameter
Name Description
index String
Returns
Type Description
IndexName.Builder

setLocation(String location)

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

setProjectNumber(String projectNumber)

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