Class: Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphInputChannelSpec

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 for input channel specification.

Instance Attribute Summary collapse

Instance Attribute Details

#accepted_data_type_uris::Array<::String>

Returns If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.

Returns:

  • (::Array<::String>)

    If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted.



1413
1414
1415
1416
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1413

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

#data_type::Google::Cloud::VisionAI::V1::DataType

Returns The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.

Returns:

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

    The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types.



1413
1414
1415
1416
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1413

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

#max_connection_allowed::Integer

Returns How many input edges can be connected to this input channel. 0 means unlimited.

Returns:

  • (::Integer)

    How many input edges can be connected to this input channel. 0 means unlimited.



1413
1414
1415
1416
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1413

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

#name::String

Returns The name of the current input channel.

Returns:

  • (::String)

    The name of the current input channel.



1413
1414
1415
1416
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1413

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

#required::Boolean

Returns Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.

Returns:

  • (::Boolean)

    Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists.



1413
1414
1415
1416
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1413

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