Class: Google::Cloud::VisionAI::V1::ProcessorIOSpec
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::ProcessorIOSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/platform.rb
Overview
Message describing the input / output specifications of a processor.
Defined Under Namespace
Classes: GraphInputChannelSpec, GraphOutputChannelSpec, InstanceResourceInputBindingSpec, InstanceResourceOutputBindingSpec
Instance Attribute Summary collapse
-
#graph_input_channel_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphInputChannelSpec>
For processors with input_channel_specs, the processor must be explicitly connected to another processor.
-
#graph_output_channel_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphOutputChannelSpec>
The output artifact specifications for the current processor.
-
#instance_resource_input_binding_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::InstanceResourceInputBindingSpec>
The input resource that needs to be fed from the application instance.
-
#instance_resource_output_binding_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::InstanceResourceOutputBindingSpec>
The output resource that the processor will generate per instance.
Instance Attribute Details
#graph_input_channel_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphInputChannelSpec>
Returns For processors with input_channel_specs, the processor must be explicitly connected to another processor.
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1385 class ProcessorIOSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message for input channel specification. # @!attribute [rw] name # @return [::String] # The name of the current input channel. # @!attribute [rw] data_type # @return [::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. # @!attribute [rw] accepted_data_type_uris # @return [::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. # @!attribute [rw] required # @return [::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. # @!attribute [rw] max_connection_allowed # @return [::Integer] # How many input edges can be connected to this input channel. 0 means # unlimited. class GraphInputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for output channel specification. # @!attribute [rw] name # @return [::String] # The name of the current output channel. # @!attribute [rw] data_type # @return [::Google::Cloud::VisionAI::V1::DataType] # The data type of the current output channel. # @!attribute [rw] data_type_uri # @return [::String] class GraphOutputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for instance resource channel specification. # External resources are virtual nodes which are not expressed in the # application graph. Each processor expresses its out-graph spec, so customer # is able to override the external source or destinations to the # @!attribute [rw] config_type_uri # @return [::String] # The configuration proto that includes the Googleapis resources. I.e. # type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation # @!attribute [rw] resource_type_uri # @return [::String] # The direct type url of Googleapis resource. i.e. # type.googleapis.com/google.cloud.vision.v1.Asset # @!attribute [rw] name # @return [::String] # Name of the input binding, unique within the processor. class InstanceResourceInputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] name # @return [::String] # Name of the output binding, unique within the processor. # @!attribute [rw] resource_type_uri # @return [::String] # The resource type uri of the acceptable output resource. # @!attribute [rw] explicit # @return [::Boolean] # Whether the output resource needs to be explicitly set in the instance. # If it is false, the processor will automatically generate it if required. class InstanceResourceOutputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#graph_output_channel_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphOutputChannelSpec>
Returns The output artifact specifications for the current processor.
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1385 class ProcessorIOSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message for input channel specification. # @!attribute [rw] name # @return [::String] # The name of the current input channel. # @!attribute [rw] data_type # @return [::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. # @!attribute [rw] accepted_data_type_uris # @return [::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. # @!attribute [rw] required # @return [::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. # @!attribute [rw] max_connection_allowed # @return [::Integer] # How many input edges can be connected to this input channel. 0 means # unlimited. class GraphInputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for output channel specification. # @!attribute [rw] name # @return [::String] # The name of the current output channel. # @!attribute [rw] data_type # @return [::Google::Cloud::VisionAI::V1::DataType] # The data type of the current output channel. # @!attribute [rw] data_type_uri # @return [::String] class GraphOutputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for instance resource channel specification. # External resources are virtual nodes which are not expressed in the # application graph. Each processor expresses its out-graph spec, so customer # is able to override the external source or destinations to the # @!attribute [rw] config_type_uri # @return [::String] # The configuration proto that includes the Googleapis resources. I.e. # type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation # @!attribute [rw] resource_type_uri # @return [::String] # The direct type url of Googleapis resource. i.e. # type.googleapis.com/google.cloud.vision.v1.Asset # @!attribute [rw] name # @return [::String] # Name of the input binding, unique within the processor. class InstanceResourceInputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] name # @return [::String] # Name of the output binding, unique within the processor. # @!attribute [rw] resource_type_uri # @return [::String] # The resource type uri of the acceptable output resource. # @!attribute [rw] explicit # @return [::Boolean] # Whether the output resource needs to be explicitly set in the instance. # If it is false, the processor will automatically generate it if required. class InstanceResourceOutputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#instance_resource_input_binding_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::InstanceResourceInputBindingSpec>
Returns The input resource that needs to be fed from the application instance.
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1385 class ProcessorIOSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message for input channel specification. # @!attribute [rw] name # @return [::String] # The name of the current input channel. # @!attribute [rw] data_type # @return [::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. # @!attribute [rw] accepted_data_type_uris # @return [::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. # @!attribute [rw] required # @return [::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. # @!attribute [rw] max_connection_allowed # @return [::Integer] # How many input edges can be connected to this input channel. 0 means # unlimited. class GraphInputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for output channel specification. # @!attribute [rw] name # @return [::String] # The name of the current output channel. # @!attribute [rw] data_type # @return [::Google::Cloud::VisionAI::V1::DataType] # The data type of the current output channel. # @!attribute [rw] data_type_uri # @return [::String] class GraphOutputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for instance resource channel specification. # External resources are virtual nodes which are not expressed in the # application graph. Each processor expresses its out-graph spec, so customer # is able to override the external source or destinations to the # @!attribute [rw] config_type_uri # @return [::String] # The configuration proto that includes the Googleapis resources. I.e. # type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation # @!attribute [rw] resource_type_uri # @return [::String] # The direct type url of Googleapis resource. i.e. # type.googleapis.com/google.cloud.vision.v1.Asset # @!attribute [rw] name # @return [::String] # Name of the input binding, unique within the processor. class InstanceResourceInputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] name # @return [::String] # Name of the output binding, unique within the processor. # @!attribute [rw] resource_type_uri # @return [::String] # The resource type uri of the acceptable output resource. # @!attribute [rw] explicit # @return [::Boolean] # Whether the output resource needs to be explicitly set in the instance. # If it is false, the processor will automatically generate it if required. class InstanceResourceOutputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#instance_resource_output_binding_specs ⇒ ::Array<::Google::Cloud::VisionAI::V1::ProcessorIOSpec::InstanceResourceOutputBindingSpec>
Returns The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name.
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1385 class ProcessorIOSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message for input channel specification. # @!attribute [rw] name # @return [::String] # The name of the current input channel. # @!attribute [rw] data_type # @return [::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. # @!attribute [rw] accepted_data_type_uris # @return [::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. # @!attribute [rw] required # @return [::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. # @!attribute [rw] max_connection_allowed # @return [::Integer] # How many input edges can be connected to this input channel. 0 means # unlimited. class GraphInputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for output channel specification. # @!attribute [rw] name # @return [::String] # The name of the current output channel. # @!attribute [rw] data_type # @return [::Google::Cloud::VisionAI::V1::DataType] # The data type of the current output channel. # @!attribute [rw] data_type_uri # @return [::String] class GraphOutputChannelSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Message for instance resource channel specification. # External resources are virtual nodes which are not expressed in the # application graph. Each processor expresses its out-graph spec, so customer # is able to override the external source or destinations to the # @!attribute [rw] config_type_uri # @return [::String] # The configuration proto that includes the Googleapis resources. I.e. # type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation # @!attribute [rw] resource_type_uri # @return [::String] # The direct type url of Googleapis resource. i.e. # type.googleapis.com/google.cloud.vision.v1.Asset # @!attribute [rw] name # @return [::String] # Name of the input binding, unique within the processor. class InstanceResourceInputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] name # @return [::String] # Name of the output binding, unique within the processor. # @!attribute [rw] resource_type_uri # @return [::String] # The resource type uri of the acceptable output resource. # @!attribute [rw] explicit # @return [::Boolean] # Whether the output resource needs to be explicitly set in the instance. # If it is false, the processor will automatically generate it if required. class InstanceResourceOutputBindingSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |