@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonFirestoreStub extends FirestoreStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonFirestoreStub(FirestoreStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonFirestoreStub, using the given settings.
|
protected |
HttpJsonFirestoreStub(FirestoreStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirestoreStub, using the given settings.
|
protected HttpJsonFirestoreStub(FirestoreStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonFirestoreStub(FirestoreStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonFirestoreStub create(FirestoreStubSettings settings) throws IOException
IOException
public static final HttpJsonFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonFirestoreStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<GetDocumentRequest,Document> getDocumentCallable()
getDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListDocumentsRequest,ListDocumentsResponse> listDocumentsCallable()
listDocumentsCallable
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<UpdateDocumentRequest,Document> updateDocumentCallable()
updateDocumentCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<DeleteDocumentRequest,com.google.protobuf.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,com.google.protobuf.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.ServerStreamingCallable<RunAggregationQueryRequest,RunAggregationQueryResponse> runAggregationQueryCallable()
runAggregationQueryCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,PartitionQueryResponse> partitionQueryCallable()
partitionQueryCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<PartitionQueryRequest,FirestoreClient.PartitionQueryPagedResponse> partitionQueryPagedCallable()
partitionQueryPagedCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<ListCollectionIdsRequest,ListCollectionIdsResponse> listCollectionIdsCallable()
listCollectionIdsCallable
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<BatchWriteRequest,BatchWriteResponse> batchWriteCallable()
batchWriteCallable
in class FirestoreStub
public com.google.api.gax.rpc.UnaryCallable<CreateDocumentRequest,Document> createDocumentCallable()
createDocumentCallable
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 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 © 2023 Google LLC. All rights reserved.