Class DataSchemaName.Builder (0.9.0)

public static class DataSchemaName.Builder

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

Inheritance

java.lang.Object > DataSchemaName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DataSchemaName build()
Returns
Type Description
DataSchemaName

getCorpus()

public String getCorpus()
Returns
Type Description
String

getDataSchema()

public String getDataSchema()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

setCorpus(String corpus)

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

setDataSchema(String dataSchema)

public DataSchemaName.Builder setDataSchema(String dataSchema)
Parameter
Name Description
dataSchema String
Returns
Type Description
DataSchemaName.Builder

setLocation(String location)

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

setProjectNumber(String projectNumber)

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