1syntax = "proto2"; 2 3package android.automotive.computepipe.proto; 4 5import "packages/services/Car/computepipe/proto/OutputConfig.proto"; 6 7message TerminationOption { 8 enum TerminationType { 9 CLIENT_STOP = 0; 10 MIN_PACKET_COUNT = 1; 11 MAX_RUN_TIME = 2; 12 EVENT = 3; 13 } 14 15 optional TerminationType type = 1; 16 /** 17 * type based qualifier, could be run time, packet count, or usecase 18 * specific event identifier. 19 */ 20 optional int32 qualifier = 2; 21} 22 23message TerminationConfig { 24 optional TerminationOption options = 1; 25 optional int32 config_id = 2; 26 optional OutputConfig output_config = 3; 27} 28