def _make_instance_stub(client):
 if (client.emulator_host is None):
  return make_secure_stub(client.credentials, client.user_agent, bigtable_instance_admin_pb2.BigtableInstanceAdminStub, INSTANCE_ADMIN_HOST)
 else:
  return make_insecure_stub(bigtable_instance_admin_pb2.BigtableInstanceAdminStub, client.emulator_host)

def _make_instance_stub ( client ) : if ( client . emulator_host is None ) : return make_secure_stub ( client . credentials , client . user_agent , bigtable_instance_admin_pb2 . BigtableInstanceAdminStub , INSTANCE_ADMIN_HOST ) else : return make_insecure_stub ( bigtable_instance_admin_pb2 . BigtableInstanceAdminStub , client . emulator_host )
creates grpc stub to make requests to the instance admin api .