1717import six
1818
1919from gcloud import connection
20- from gcloud .datastore import datastore_v1_pb2 as datastore_pb
20+ from gcloud .datastore import _datastore_v1_pb2 as datastore_pb
2121from gcloud .datastore import helpers
2222
2323
@@ -132,8 +132,8 @@ def lookup(self, dataset_id, key_pbs,
132132 Maps the ``DatastoreService.Lookup`` protobuf RPC.
133133
134134 This method deals only with protobufs
135- (:class:`gcloud.datastore.datastore_v1_pb2 .Key` and
136- :class:`gcloud.datastore.datastore_v1_pb2 .Entity`) and is used
135+ (:class:`gcloud.datastore._datastore_v1_pb2 .Key` and
136+ :class:`gcloud.datastore._datastore_v1_pb2 .Entity`) and is used
137137 under the hood in :func:`gcloud.datastore.get`:
138138
139139 >>> from gcloud import datastore
@@ -150,7 +150,7 @@ def lookup(self, dataset_id, key_pbs,
150150 :type dataset_id: string
151151 :param dataset_id: The ID of the dataset to look up the keys.
152152
153- :type key_pbs: list of :class:`gcloud.datastore.datastore_v1_pb2 .Key`
153+ :type key_pbs: list of :class:`gcloud.datastore._datastore_v1_pb2 .Key`
154154 (or a single Key)
155155 :param key_pbs: The key (or keys) to retrieve from the datastore.
156156
@@ -174,7 +174,7 @@ def lookup(self, dataset_id, key_pbs,
174174 the given transaction. Incompatible with
175175 ``eventual==True``.
176176
177- :rtype: list of :class:`gcloud.datastore.datastore_v1_pb2 .Entity`
177+ :rtype: list of :class:`gcloud.datastore._datastore_v1_pb2 .Entity`
178178 (or a single Entity)
179179 :returns: The entities corresponding to the keys provided.
180180 If a single key was provided and no results matched,
@@ -257,7 +257,7 @@ def run_query(self, dataset_id, query_pb, namespace=None,
257257 :type dataset_id: string
258258 :param dataset_id: The ID of the dataset over which to run the query.
259259
260- :type query_pb: :class:`gcloud.datastore.datastore_v1_pb2 .Query`
260+ :type query_pb: :class:`gcloud.datastore._datastore_v1_pb2 .Query`
261261 :param query_pb: The Protobuf representing the query to run.
262262
263263 :type namespace: string
@@ -302,7 +302,7 @@ def begin_transaction(self, dataset_id, serializable=False):
302302 transaction should be SERIALIZABLE (True) or
303303 SNAPSHOT (False).
304304
305- :rtype: :class:`.datastore_v1_pb2 .BeginTransactionResponse`
305+ :rtype: :class:`._datastore_v1_pb2 .BeginTransactionResponse`
306306 :returns': the result protobuf for the begin transaction request.
307307 """
308308 request = datastore_pb .BeginTransactionRequest ()
@@ -327,15 +327,15 @@ def commit(self, dataset_id, mutation_pb, transaction_id=None):
327327 :type dataset_id: string
328328 :param dataset_id: The ID dataset to which the transaction applies.
329329
330- :type mutation_pb: :class:`gcloud.datastore.datastore_v1_pb2 .Mutation`.
330+ :type mutation_pb: :class:`datastore_pb .Mutation`.
331331 :param mutation_pb: The protobuf for the mutations being saved.
332332
333333 :type transaction_id: string
334334 :param transaction_id: The transaction ID returned from
335335 :meth:`begin_transaction`. If not passed, the
336336 commit will be non-transactional.
337337
338- :rtype: :class:`gcloud.datastore.datastore_v1_pb2 .MutationResult`.
338+ :rtype: :class:`gcloud.datastore._datastore_v1_pb2 .MutationResult`.
339339 :returns': the result protobuf for the mutation.
340340 """
341341 request = datastore_pb .CommitRequest ()
@@ -379,10 +379,10 @@ def allocate_ids(self, dataset_id, key_pbs):
379379 :param dataset_id: The ID of the dataset to which the transaction
380380 belongs.
381381
382- :type key_pbs: list of :class:`gcloud.datastore.datastore_v1_pb2 .Key`
382+ :type key_pbs: list of :class:`gcloud.datastore._datastore_v1_pb2 .Key`
383383 :param key_pbs: The keys for which the backend should allocate IDs.
384384
385- :rtype: list of :class:`gcloud.datastore.datastore_v1_pb2 .Key`
385+ :rtype: list of :class:`gcloud.datastore._datastore_v1_pb2 .Key`
386386 :returns: An equal number of keys, with IDs filled in by the backend.
387387 """
388388 request = datastore_pb .AllocateIdsRequest ()
0 commit comments