Class AnnotationSpecName.Builder (3.31.0)

public static class AnnotationSpecName.Builder

Builder for projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}.

Inheritance

java.lang.Object > AnnotationSpecName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public AnnotationSpecName build()
Returns
TypeDescription
AnnotationSpecName

getAnnotationSpec()

public String getAnnotationSpec()
Returns
TypeDescription
String

getDataset()

public String getDataset()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAnnotationSpec(String annotationSpec)

public AnnotationSpecName.Builder setAnnotationSpec(String annotationSpec)
Parameter
NameDescription
annotationSpecString
Returns
TypeDescription
AnnotationSpecName.Builder

setDataset(String dataset)

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

setLocation(String location)

public AnnotationSpecName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
AnnotationSpecName.Builder

setProject(String project)

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