@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcFirestoreStub extends FirestoreStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcFirestoreStub(FirestoreStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcFirestoreStub, using the given settings.
|
protected |
GrpcFirestoreStub(FirestoreStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFirestoreStub, using the given settings.
|
protected GrpcFirestoreStub(FirestoreStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcFirestoreStub(FirestoreStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcFirestoreStub create(FirestoreStubSettings settings) throws IOException
IOExceptionpublic static final GrpcFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
getDocumentCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,FirestoreClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
listDocumentsPagedCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
listDocumentsCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> createDocumentCallable()
createDocumentCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateDocumentRequest,Document> updateDocumentCallable()
updateDocumentCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,Empty> deleteDocumentCallable()
deleteDocumentCallable in class FirestoreStubpublic com.google.api.gax.rpc.ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsCallable()
batchGetDocumentsCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,BeginTransactionResponse> beginTransactionCallable()
beginTransactionCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> commitCallable()
commitCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<RollbackRequest,Empty> rollbackCallable()
rollbackCallable in class FirestoreStubpublic com.google.api.gax.rpc.ServerStreamingCallable<RunQueryRequest,RunQueryResponse> runQueryCallable()
runQueryCallable in class FirestoreStubpublic com.google.api.gax.rpc.BidiStreamingCallable<WriteRequest,WriteResponse> writeCallable()
writeCallable in class FirestoreStubpublic com.google.api.gax.rpc.BidiStreamingCallable<ListenRequest,ListenResponse> listenCallable()
listenCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsPagedCallable()
listCollectionIdsPagedCallable in class FirestoreStubpublic com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,ListCollectionIdsResponse> listCollectionIdsCallable()
listCollectionIdsCallable in class FirestoreStubpublic final void close()
close in interface AutoCloseableclose in class FirestoreStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.