public interface StreamAnnotationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getActiveZone()
public abstract NormalizedPolygon getActiveZone()
Annotation for type ACTIVE_ZONE
.google.events.cloud.visionai.v1.NormalizedPolygon active_zone = 5;
Returns | |
---|---|
Type | Description |
NormalizedPolygon | The activeZone. |
getActiveZoneOrBuilder()
public abstract NormalizedPolygonOrBuilder getActiveZoneOrBuilder()
Annotation for type ACTIVE_ZONE
.google.events.cloud.visionai.v1.NormalizedPolygon active_zone = 5;
Returns | |
---|---|
Type | Description |
NormalizedPolygonOrBuilder |
getAnnotationPayloadCase()
public abstract StreamAnnotation.AnnotationPayloadCase getAnnotationPayloadCase()
Returns | |
---|---|
Type | Description |
StreamAnnotation.AnnotationPayloadCase |
getCrossingLine()
public abstract NormalizedPolyline getCrossingLine()
Annotation for type CROSSING_LINE
.google.events.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;
Returns | |
---|---|
Type | Description |
NormalizedPolyline | The crossingLine. |
getCrossingLineOrBuilder()
public abstract NormalizedPolylineOrBuilder getCrossingLineOrBuilder()
Annotation for type CROSSING_LINE
.google.events.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;
Returns | |
---|---|
Type | Description |
NormalizedPolylineOrBuilder |
getDisplayName()
public abstract String getDisplayName()
User-friendly name for the annotation.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
User-friendly name for the annotation.
string display_name = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getSourceStream()
public abstract String getSourceStream()
The Vision AI stream resource name.
string source_stream = 3;
Returns | |
---|---|
Type | Description |
String | The sourceStream. |
getSourceStreamBytes()
public abstract ByteString getSourceStreamBytes()
The Vision AI stream resource name.
string source_stream = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceStream. |
getType()
public abstract StreamAnnotationType getType()
The actual type of Annotation.
.google.events.cloud.visionai.v1.StreamAnnotationType type = 4;
Returns | |
---|---|
Type | Description |
StreamAnnotationType | The type. |
getTypeValue()
public abstract int getTypeValue()
The actual type of Annotation.
.google.events.cloud.visionai.v1.StreamAnnotationType type = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the crossingLine field is set. |