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