def _make_table_stub(self): """Creates gRPC stub to make requests to the Table Admin API. :rtype: :class:`grpc.early_adopter.implementations._Stub` :returns: A gRPC stub object. """ return make_stub(self, TABLE_STUB_FACTORY, TABLE_ADMIN_HOST, TABLE_ADMIN_PORT)
def _make_data_stub(self): """Creates gRPC stub to make requests to the Data API. :rtype: :class:`grpc.early_adopter.implementations._Stub` :returns: A gRPC stub object. """ return make_stub(self, DATA_STUB_FACTORY, DATA_API_HOST, DATA_API_PORT)
def _make_cluster_stub(self): """Creates gRPC stub to make requests to the Cluster Admin API. :rtype: :class:`grpc.early_adopter.implementations._Stub` :returns: A gRPC stub object. """ return make_stub(self, CLUSTER_STUB_FACTORY, CLUSTER_ADMIN_HOST, CLUSTER_ADMIN_PORT)
def _make_operations_stub(self): """Creates gRPC stub to make requests to the Operations API. These are for long-running operations of the Cluster Admin API, hence the host and port matching. :rtype: :class:`grpc.early_adopter.implementations._Stub` :returns: A gRPC stub object. """ return make_stub(self, OPERATIONS_STUB_FACTORY, CLUSTER_ADMIN_HOST, CLUSTER_ADMIN_PORT)
def _callFUT(self, credentials, stub_factory, host, port): from gcloud_bigtable._helpers import make_stub return make_stub(credentials, stub_factory, host, port)