@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
IOException
protected GrpcFirestoreStub(FirestoreStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcFirestoreStub create(FirestoreStubSettings settings) throws IOException
IOException
public static final GrpcFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
getDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,FirestoreClient.ListDocumentsPagedResponse> listDocumentsPagedCallable()
listDocumentsPagedCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
listDocumentsCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> createDocumentCallable()
createDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<UpdateDocumentRequest,Document> updateDocumentCallable()
updateDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,Empty> deleteDocumentCallable()
deleteDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.ServerStreamingCallable<BatchGetDocumentsRequest,BatchGetDocumentsResponse> batchGetDocumentsCallable()
batchGetDocumentsCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<BeginTransactionRequest,BeginTransactionResponse> beginTransactionCallable()
beginTransactionCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<CommitRequest,CommitResponse> commitCallable()
commitCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<RollbackRequest,Empty> rollbackCallable()
rollbackCallable
in class FirestoreStub
public com.google.api.gax.rpc.ServerStreamingCallable<RunQueryRequest,RunQueryResponse> runQueryCallable()
runQueryCallable
in class FirestoreStub
public com.google.api.gax.rpc.BidiStreamingCallable<WriteRequest,WriteResponse> writeCallable()
writeCallable
in class FirestoreStub
public com.google.api.gax.rpc.BidiStreamingCallable<ListenRequest,ListenResponse> listenCallable()
listenCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,FirestoreClient.ListCollectionIdsPagedResponse> listCollectionIdsPagedCallable()
listCollectionIdsPagedCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,ListCollectionIdsResponse> listCollectionIdsCallable()
listCollectionIdsCallable
in class FirestoreStub
public final void close()
close
in interface AutoCloseable
close
in class FirestoreStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.