Class AnnotationSpecName.Builder (2.51.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
Type Description
AnnotationSpecName

getAnnotationSpec()

public String getAnnotationSpec()
Returns
Type Description
String

getDataset()

public String getDataset()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setAnnotationSpec(String annotationSpec)

public AnnotationSpecName.Builder setAnnotationSpec(String annotationSpec)
Parameter
Name Description
annotationSpec String
Returns
Type Description
AnnotationSpecName.Builder

setDataset(String dataset)

public AnnotationSpecName.Builder setDataset(String dataset)
Parameter
Name Description
dataset String
Returns
Type Description
AnnotationSpecName.Builder

setLocation(String location)

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

setProject(String project)

public AnnotationSpecName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
AnnotationSpecName.Builder