'Creates a new DatastoreV4Service Stubby2 client stub.
Args:
server: host:port or bns address.
channel: directly use a channel to create a stub. Will ignore server
argument if this is specified.
service_name: the service name used by the Stubby server.'

@staticmethod
def NewRPC2Stub(server=None, channel=None, service_name=None):

    if (_client_stub_base_class is object):
        raise RuntimeError('Add    //net/rpc/python    as    a    dependency    to    use    Stubby')
    return _DatastoreV4Service_RPC2ClientStub(server, channel, service_name)
