Class AssetName.Builder (0.8.0)

public static class AssetName.Builder

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

Inheritance

java.lang.Object > AssetName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public AssetName build()
Returns
Type Description
AssetName

getAsset()

public String getAsset()
Returns
Type Description
String

getCorpus()

public String getCorpus()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProjectNumber()

public String getProjectNumber()
Returns
Type Description
String

setAsset(String asset)

public AssetName.Builder setAsset(String asset)
Parameter
Name Description
asset String
Returns
Type Description
AssetName.Builder

setCorpus(String corpus)

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

setLocation(String location)

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

setProjectNumber(String projectNumber)

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