class_docstr: Per-stream handler of EventListener gRPC streams.
class_docstr_tok: ["Per-stream","handler","of","EventListener","gRPC","streams","."]
docstr: Callback for Event proto received through the gRPC stream.
  
  This Event proto carries a GraphDef, encoded as bytes, in its graph_def
  field.
  
  Args:
    graph_def: A GraphDef object.
    device_name: Name of the device on which the graph was created.
    wall_time: An epoch timestamp (in microseconds) for the graph.
  
  Returns:
    `None` or an `EventReply` proto to be sent back to the client. If `None`,
    an `EventReply` proto construct with the default no-arg constructor will
    be sent back to the client.
docstr_tok: ["Callback","for","Event","proto","received","through","the","gRPC","stream",".","This","Event","proto","carries","a","GraphDef",",","encoded","as","bytes",",","in","its","graph_def","field",".","Args",":","graph_def",":","A","GraphDef","object",".","device_name",":","Name","of","the","device","on","which","the","graph","was","created",".","wall_time",":","An","epoch","timestamp","(","in","microseconds",")","for","the","graph",".","Returns",":","`","None","`","or","an","`","EventReply","`","proto","to","be","sent","back","to","the","client",".","If","`","None","`",",","an","`","EventReply","`","proto","construct","with","the","default","no-arg","constructor","will","be","sent","back","to","the","client","."]
code: def on_graph_def(self, graph_def, device_name, wall_time):
      """Callback for Event proto received through the gRPC stream.
  
      This Event proto carries a GraphDef, encoded as bytes, in its graph_def
      field.
  
      Args:
        graph_def: A GraphDef object.
        device_name: Name of the device on which the graph was created.
        wall_time: An epoch timestamp (in microseconds) for the graph.
  
      Returns:
        `None` or an `EventReply` proto to be sent back to the client. If `None`,
        an `EventReply` proto construct with the default no-arg constructor will
        be sent back to the client.
      """
      raise NotImplementedError(
          "on_graph_def() is not implemented in the base servicer class"
      )
  
imports: import collections
  import json
  import queue
  import threading
  import time
  from concurrent import futures
  import grpc
  from tensorflow.core.debug import debug_service_pb2
  from tensorflow.core.framework import graph_pb2
  from tensorflow.python.debug.lib import debug_graphs
  from tensorflow.python.debug.lib import debug_service_pb2_grpc
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import compat
label_desc: Use image node_id 3 for calling the EventListenerBaseStreamHandler obj's underlying member method code with example usage: obj.on_graph_def(graph_def, device_name, wall_time) without return types