Class ExampleName.Builder (0.151.0)

public static class ExampleName.Builder

Builder for projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}/examples/{example}.

Inheritance

java.lang.Object > ExampleName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ExampleName build()
Returns
TypeDescription
ExampleName

getAnnotatedDataset()

public String getAnnotatedDataset()
Returns
TypeDescription
String

getDataset()

public String getDataset()
Returns
TypeDescription
String

getExample()

public String getExample()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAnnotatedDataset(String annotatedDataset)

public ExampleName.Builder setAnnotatedDataset(String annotatedDataset)
Parameter
NameDescription
annotatedDatasetString
Returns
TypeDescription
ExampleName.Builder

setDataset(String dataset)

public ExampleName.Builder setDataset(String dataset)
Parameter
NameDescription
datasetString
Returns
TypeDescription
ExampleName.Builder

setExample(String example)

public ExampleName.Builder setExample(String example)
Parameter
NameDescription
exampleString
Returns
TypeDescription
ExampleName.Builder

setProject(String project)

public ExampleName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
ExampleName.Builder