Package com.google.cloud.visionai.v1
Interface StreamAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamAnnotation,StreamAnnotation.Builder
@Generated
public interface StreamAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAnnotation for type ACTIVE_ZONEAnnotation for type ACTIVE_ZONEAnnotation for type CROSSING_LINEAnnotation for type CROSSING_LINEUser-friendly name for the annotation.com.google.protobuf.ByteStringUser-friendly name for the annotation.getId()ID of the annotation.com.google.protobuf.ByteStringID of the annotation.The Vision AI stream resource name.com.google.protobuf.ByteStringThe Vision AI stream resource name.getType()The actual type of Annotation.intThe actual type of Annotation.booleanAnnotation for type ACTIVE_ZONEbooleanAnnotation for type CROSSING_LINEMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasActiveZone
boolean hasActiveZone()Annotation for type ACTIVE_ZONE
.google.cloud.visionai.v1.NormalizedPolygon active_zone = 5;- Returns:
- Whether the activeZone field is set.
-
getActiveZone
NormalizedPolygon getActiveZone()Annotation for type ACTIVE_ZONE
.google.cloud.visionai.v1.NormalizedPolygon active_zone = 5;- Returns:
- The activeZone.
-
getActiveZoneOrBuilder
NormalizedPolygonOrBuilder getActiveZoneOrBuilder()Annotation for type ACTIVE_ZONE
.google.cloud.visionai.v1.NormalizedPolygon active_zone = 5; -
hasCrossingLine
boolean hasCrossingLine()Annotation for type CROSSING_LINE
.google.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;- Returns:
- Whether the crossingLine field is set.
-
getCrossingLine
NormalizedPolyline getCrossingLine()Annotation for type CROSSING_LINE
.google.cloud.visionai.v1.NormalizedPolyline crossing_line = 6;- Returns:
- The crossingLine.
-
getCrossingLineOrBuilder
NormalizedPolylineOrBuilder getCrossingLineOrBuilder()Annotation for type CROSSING_LINE
.google.cloud.visionai.v1.NormalizedPolyline crossing_line = 6; -
getId
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:
- The id.
-
getIdBytes
com.google.protobuf.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:
- The bytes for id.
-
getDisplayName
String getDisplayName()User-friendly name for the annotation.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()User-friendly name for the annotation.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getSourceStream
String getSourceStream()The Vision AI stream resource name.
string source_stream = 3;- Returns:
- The sourceStream.
-
getSourceStreamBytes
com.google.protobuf.ByteString getSourceStreamBytes()The Vision AI stream resource name.
string source_stream = 3;- Returns:
- The bytes for sourceStream.
-
getTypeValue
int getTypeValue()The actual type of Annotation.
.google.cloud.visionai.v1.StreamAnnotationType type = 4;- Returns:
- The enum numeric value on the wire for type.
-
getType
StreamAnnotationType getType()The actual type of Annotation.
.google.cloud.visionai.v1.StreamAnnotationType type = 4;- Returns:
- The type.
-
getAnnotationPayloadCase
StreamAnnotation.AnnotationPayloadCase getAnnotationPayloadCase()
-