Interface AnnotationOrBuilder (0.12.0)

public interface AnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Resource name of the annotation. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Resource name of the annotation. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getUserSpecifiedAnnotation()

public abstract UserSpecifiedAnnotation getUserSpecifiedAnnotation()

User provided annotation.

.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;

Returns
Type Description
UserSpecifiedAnnotation

The userSpecifiedAnnotation.

getUserSpecifiedAnnotationOrBuilder()

public abstract UserSpecifiedAnnotationOrBuilder getUserSpecifiedAnnotationOrBuilder()

User provided annotation.

.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;

Returns
Type Description
UserSpecifiedAnnotationOrBuilder

hasUserSpecifiedAnnotation()

public abstract boolean hasUserSpecifiedAnnotation()

User provided annotation.

.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;

Returns
Type Description
boolean

Whether the userSpecifiedAnnotation field is set.