Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ProcessorIOSpec::GraphInputChannelSpec.
Message for input channel specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accepted_data_type_uris
def accepted_data_type_uris() -> ::Array<::String> 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.
#accepted_data_type_uris=
def accepted_data_type_uris=(value) -> ::Array<::String> Parameter
- value (::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.
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.
#data_type
def data_type() -> ::Google::Cloud::VisionAI::V1::DataType 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.
#data_type=
def data_type=(value) -> ::Google::Cloud::VisionAI::V1::DataType Parameter
- value (::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.
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.
#max_connection_allowed
def max_connection_allowed() -> ::Integer Returns
- (::Integer) — How many input edges can be connected to this input channel. 0 means unlimited.
#max_connection_allowed=
def max_connection_allowed=(value) -> ::Integer Parameter
- value (::Integer) — 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.
#name
def name() -> ::String Returns
- (::String) — The name of the current input channel.
#name=
def name=(value) -> ::String Parameter
- value (::String) — The name of the current input channel.
Returns
- (::String) — The name of the current input channel.
#required
def required() -> ::Boolean 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.
#required=
def required=(value) -> ::Boolean Parameter
- value (::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.
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.