Interface StreamAnnotationOrBuilder (0.14.1)

public interface StreamAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveZone()

public abstract NormalizedPolygon getActiveZone()

Annotation for type ACTIVE_ZONE

.google.events.cloud.visionai.v1.NormalizedPolygon active_zone = 5;

Returns
TypeDescription
NormalizedPolygon

The activeZone.

getActiveZoneOrBuilder()

public abstract NormalizedPolygonOrBuilder getActiveZoneOrBuilder()

Annotation for type ACTIVE_ZONE

.google.events.cloud.visionai.v1.NormalizedPolygon active_zone = 5;

Returns
TypeDescription
NormalizedPolygonOrBuilder

getAnnotationPayloadCase()

public abstract StreamAnnotation.AnnotationPayloadCase getAnnotationPayloadCase()
Returns
TypeDescription
StreamAnnotation.AnnotationPayloadCase

getCrossingLine()

public abstract NormalizedPolyline getCrossingLine()

Annotation for type CROSSING_LINE

.google.events.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;

Returns
TypeDescription
NormalizedPolyline

The crossingLine.

getCrossingLineOrBuilder()

public abstract NormalizedPolylineOrBuilder getCrossingLineOrBuilder()

Annotation for type CROSSING_LINE

.google.events.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;

Returns
TypeDescription
NormalizedPolylineOrBuilder

getDisplayName()

public abstract String getDisplayName()

User-friendly name for the annotation.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

User-friendly name for the annotation.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getId()

public abstract String getId()

ID of the annotation. It must be unique when used in the certain context. For example, all the annotations to one input streams of a Vision AI application.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

ID of the annotation. It must be unique when used in the certain context. For example, all the annotations to one input streams of a Vision AI application.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getSourceStream()

public abstract String getSourceStream()

The Vision AI stream resource name.

string source_stream = 3;

Returns
TypeDescription
String

The sourceStream.

getSourceStreamBytes()

public abstract ByteString getSourceStreamBytes()

The Vision AI stream resource name.

string source_stream = 3;

Returns
TypeDescription
ByteString

The bytes for sourceStream.

getType()

public abstract StreamAnnotationType getType()

The actual type of Annotation.

.google.events.cloud.visionai.v1.StreamAnnotationType type = 4;

Returns
TypeDescription
StreamAnnotationType

The type.

getTypeValue()

public abstract int getTypeValue()

The actual type of Annotation.

.google.events.cloud.visionai.v1.StreamAnnotationType type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasActiveZone()

public abstract boolean hasActiveZone()

Annotation for type ACTIVE_ZONE

.google.events.cloud.visionai.v1.NormalizedPolygon active_zone = 5;

Returns
TypeDescription
boolean

Whether the activeZone field is set.

hasCrossingLine()

public abstract boolean hasCrossingLine()

Annotation for type CROSSING_LINE

.google.events.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;

Returns
TypeDescription
boolean

Whether the crossingLine field is set.