Class: Google::Cloud::VisionAI::V1::StreamWithAnnotation

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

Overview

Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.

Defined Under Namespace

Classes: NodeAnnotation

Instance Attribute Summary collapse

Instance Attribute Details

#application_annotations::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>

Returns Annotations that will be applied to the whole application.

Returns:



1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1628

class StreamWithAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Message describing annotations specific to application node.
  # @!attribute [rw] node
  #   @return [::String]
  #     The node name of the application graph.
  # @!attribute [rw] annotations
  #   @return [::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>]
  #     The node specific stream annotations.
  class NodeAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#node_annotations::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>

Returns Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.

Returns:

  • (::Array<::Google::Cloud::VisionAI::V1::StreamWithAnnotation::NodeAnnotation>)

    Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined.



1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1628

class StreamWithAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Message describing annotations specific to application node.
  # @!attribute [rw] node
  #   @return [::String]
  #     The node name of the application graph.
  # @!attribute [rw] annotations
  #   @return [::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>]
  #     The node specific stream annotations.
  class NodeAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#stream::String

Returns Vision AI Stream resource name.

Returns:

  • (::String)

    Vision AI Stream resource name.



1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1628

class StreamWithAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Message describing annotations specific to application node.
  # @!attribute [rw] node
  #   @return [::String]
  #     The node name of the application graph.
  # @!attribute [rw] annotations
  #   @return [::Array<::Google::Cloud::VisionAI::V1::StreamAnnotation>]
  #     The node specific stream annotations.
  class NodeAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end