syntax = "proto2"; package mediapipe; import "mediapipe/framework/calculator.proto"; option java_package = "com.google.mediapipe.proto"; option java_outer_classname = "SwitchContainerProto"; // Options for a switch-container directing traffic to one of several // contained subgraph or calculator nodes. message SwitchContainerOptions { extend mediapipe.CalculatorOptions { optional SwitchContainerOptions ext = 345967970; } reserved 1; // The contained registered subgraphs or calculators. repeated CalculatorGraphConfig.Node contained_node = 2; // Activates the specified channel to receive input packets. optional int32 select = 3; // Activates channel 1 for enable = true, channel 0 otherwise. optional bool enable = 4; }