Enum StreamAnnotationType

java.lang.Object
java.lang.Enum<StreamAnnotationType>
com.google.cloud.visionai.v1.StreamAnnotationType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<StreamAnnotationType>

@Generated public enum StreamAnnotationType extends Enum<StreamAnnotationType> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing all possible types of a stream annotation.
 
Protobuf enum google.cloud.visionai.v1.StreamAnnotationType
  • Enum Constant Details

    • STREAM_ANNOTATION_TYPE_UNSPECIFIED

      public static final StreamAnnotationType STREAM_ANNOTATION_TYPE_UNSPECIFIED
       Type UNSPECIFIED.
       
      STREAM_ANNOTATION_TYPE_UNSPECIFIED = 0;
    • STREAM_ANNOTATION_TYPE_ACTIVE_ZONE

      public static final StreamAnnotationType STREAM_ANNOTATION_TYPE_ACTIVE_ZONE
       active_zone annotation defines a polygon on top of the content from an
       image/video based stream, following processing will only focus on the
       content inside the active zone.
       
      STREAM_ANNOTATION_TYPE_ACTIVE_ZONE = 1;
    • STREAM_ANNOTATION_TYPE_CROSSING_LINE

      public static final StreamAnnotationType STREAM_ANNOTATION_TYPE_CROSSING_LINE
       crossing_line annotation defines a polyline on top of the content from an
       image/video based Vision AI stream, events happening across the line will
       be captured. For example, the counts of people who goes acroos the line
       in Occupancy Analytic Processor.
       
      STREAM_ANNOTATION_TYPE_CROSSING_LINE = 2;
    • UNRECOGNIZED

      public static final StreamAnnotationType UNRECOGNIZED
  • Field Details

    • STREAM_ANNOTATION_TYPE_UNSPECIFIED_VALUE

      public static final int STREAM_ANNOTATION_TYPE_UNSPECIFIED_VALUE
       Type UNSPECIFIED.
       
      STREAM_ANNOTATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • STREAM_ANNOTATION_TYPE_ACTIVE_ZONE_VALUE

      public static final int STREAM_ANNOTATION_TYPE_ACTIVE_ZONE_VALUE
       active_zone annotation defines a polygon on top of the content from an
       image/video based stream, following processing will only focus on the
       content inside the active zone.
       
      STREAM_ANNOTATION_TYPE_ACTIVE_ZONE = 1;
      See Also:
    • STREAM_ANNOTATION_TYPE_CROSSING_LINE_VALUE

      public static final int STREAM_ANNOTATION_TYPE_CROSSING_LINE_VALUE
       crossing_line annotation defines a polyline on top of the content from an
       image/video based Vision AI stream, events happening across the line will
       be captured. For example, the counts of people who goes acroos the line
       in Occupancy Analytic Processor.
       
      STREAM_ANNOTATION_TYPE_CROSSING_LINE = 2;
      See Also:
  • Method Details

    • values

      public static StreamAnnotationType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StreamAnnotationType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static StreamAnnotationType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static StreamAnnotationType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<StreamAnnotationType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static StreamAnnotationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null