docstr: Return a `tf.compat.v1.ConfigProto` that ensures we use the RPC stack for tests.
  
  This configuration ensures that we continue to exercise the gRPC
  stack when testing, rather than using the in-process optimization,
  which avoids using gRPC as the transport between a client and
  master in the same process.
  
  Returns:
    A `tf.compat.v1.ConfigProto`.
docstr_tok: ["Return","a","`","tf.compat.v1.ConfigProto","`","that","ensures","we","use","the","RPC","stack","for","tests",".","This","configuration","ensures","that","we","continue","to","exercise","the","gRPC","stack","when","testing",",","rather","than","using","the","in-process","optimization",",","which","avoids","using","gRPC","as","the","transport","between","a","client","and","master","in","the","same","process",".","Returns",":","A","`","tf.compat.v1.ConfigProto","`","."]
code: def _useRPCConfig(self):
      """Return a `tf.compat.v1.ConfigProto` that ensures we use the RPC stack for tests.
  
      This configuration ensures that we continue to exercise the gRPC
      stack when testing, rather than using the in-process optimization,
      which avoids using gRPC as the transport between a client and
      master in the same process.
  
      Returns:
        A `tf.compat.v1.ConfigProto`.
      """
      return config_pb2.ConfigProto(
          rpc_options=rpc_options_pb2.RPCOptions(
              use_rpc_for_inprocess_master=True
          )
      )
  
imports: import time
  import numpy
  from tensorflow.core.protobuf import cluster_pb2
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.protobuf import tensorflow_server_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import data_flow_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.training import input
  from tensorflow.python.training import queue_runner_impl
  from tensorflow.python.training import server_lib
  from tsl.protobuf import rpc_options_pb2
label_desc: Use image node_id 5 for calling the GrpcServerTest obj's underlying member method code with example usage: obj._useRPCConfig() and returns: config_pb2