Class: Google::Cloud::VisionAI::V1::StreamAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/annotations.rb

Overview

message about annotations about Vision AI stream resource.

Instance Attribute Summary collapse

Instance Attribute Details

#active_zone::Google::Cloud::VisionAI::V1::NormalizedPolygon

Returns Annotation for type ACTIVE_ZONE

Note: The following fields are mutually exclusive: active_zone, crossing_line. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VisionAI::V1::NormalizedPolygon)

    Annotation for type ACTIVE_ZONE

    Note: The following fields are mutually exclusive: active_zone, crossing_line. If a field in that set is populated, all other fields in the set will automatically be cleared.



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#crossing_line::Google::Cloud::VisionAI::V1::NormalizedPolyline

Returns Annotation for type CROSSING_LINE

Note: The following fields are mutually exclusive: crossing_line, active_zone. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VisionAI::V1::NormalizedPolyline)

    Annotation for type CROSSING_LINE

    Note: The following fields are mutually exclusive: crossing_line, active_zone. If a field in that set is populated, all other fields in the set will automatically be cleared.



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::String

Returns User-friendly name for the annotation.

Returns:

  • (::String)

    User-friendly name for the annotation.



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::String

Returns 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.

Returns:

  • (::String)

    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.



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_stream::String

Returns The Vision AI stream resource name.

Returns:

  • (::String)

    The Vision AI stream resource name.



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::Google::Cloud::VisionAI::V1::StreamAnnotationType

Returns The actual type of Annotation.

Returns:



624
625
626
627
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 624

class StreamAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end