Interface AnnotationSpecOrBuilder (2.32.0)

public interface AnnotationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getExampleCount()

public abstract int getExampleCount()

Output only. The number of examples in the parent dataset labeled by the annotation spec.

int32 example_count = 9;

Returns
TypeDescription
int

The exampleCount.

getName()

public abstract String getName()

Output only. Resource name of the annotation spec. Form:

'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Resource name of the annotation spec. Form:

'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.