1syntax = "proto3"; 2 3package tensorflow; 4 5import "tensorflow/core/protobuf/error_codes.proto"; 6 7option cc_enable_arenas = true; 8option java_outer_classname = "QueueRunnerProtos"; 9option java_multiple_files = true; 10option java_package = "org.tensorflow.framework"; 11option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"; 12 13// Protocol buffer representing a QueueRunner. 14message QueueRunnerDef { 15 // Queue name. 16 string queue_name = 1; 17 18 // A list of enqueue operations. 19 repeated string enqueue_op_name = 2; 20 21 // The operation to run to close the queue. 22 string close_op_name = 3; 23 24 // The operation to run to cancel the queue. 25 string cancel_op_name = 4; 26 27 // A list of exception types considered to signal a safely closed queue 28 // if raised during enqueue operations. 29 repeated error.Code queue_closed_exception_types = 5; 30} 31