Interface FirestoreRpc (3.2.0)

public interface FirestoreRpc extends AutoCloseable, ServiceRpc

Contains the RPC stubs used by the manual Cloud Firestore client.

Implements

AutoCloseable, com.google.cloud.ServiceRpc

Methods

batchGetDocumentsCallable()

public abstract ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsCallable()

Gets multiple documents.

Returns
TypeDescription
ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse>

batchWriteCallable()

public abstract UnaryCallable<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
Returns
TypeDescription
UnaryCallable<BatchWriteRequest,BatchWriteResponse>

beginTransactionCallable()

public abstract UnaryCallable<BeginTransactionRequest,BeginTransactionResponse> beginTransactionCallable()

Starts a new transaction.

Returns
TypeDescription
UnaryCallable<BeginTransactionRequest,BeginTransactionResponse>

commitCallable()

public abstract UnaryCallable<CommitRequest,CommitResponse> commitCallable()

Commits a transaction, while optionally updating documents.

Returns
TypeDescription
UnaryCallable<CommitRequest,CommitResponse>

getExecutor()

public abstract ScheduledExecutorService getExecutor()

Returns the executor used by the GAPIC client.

Returns
TypeDescription
ScheduledExecutorService

listCollectionIdsPagedCallable()

public abstract UnaryCallable<ListCollectionIdsRequest,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsPagedCallable()

Returns a list of collections IDs.

Returns
TypeDescription
UnaryCallable<ListCollectionIdsRequest,ListCollectionIdsPagedResponse>

listDocumentsPagedCallable()

public abstract UnaryCallable<ListDocumentsRequest,FirestoreClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()

Returns a list of documents.

Returns
TypeDescription
UnaryCallable<ListDocumentsRequest,ListDocumentsPagedResponse>

listenCallable()

public abstract BidiStreamingCallable<ListenRequest,ListenResponse> listenCallable()

Returns a bi-directional watch stream.

Returns
TypeDescription
BidiStreamingCallable<ListenRequest,ListenResponse>

partitionQueryPagedCallable()

public abstract UnaryCallable<PartitionQueryRequest,FirestoreClient.PartitionQueryPagedResponse> partitionQueryPagedCallable()
Returns
TypeDescription
UnaryCallable<PartitionQueryRequest,PartitionQueryPagedResponse>

rollbackCallable()

public abstract UnaryCallable<RollbackRequest,Empty> rollbackCallable()

Rolls back a transaction.

Returns
TypeDescription
UnaryCallable<RollbackRequest,Empty>

runQueryCallable()

public abstract ServerStreamingCallable<RunQueryRequest,RunQueryResponse> runQueryCallable()

Runs a query.

Returns
TypeDescription
ServerStreamingCallable<RunQueryRequest,RunQueryResponse>

shutdown()

public abstract void shutdown()

shutdownNow()

public abstract void shutdownNow()