Uses of Interface
com.google.api.gax.longrunning.OperationSnapshot
-
Packages that use OperationSnapshot Package Description com.google.api.gax.longrunning com.google.api.gax.rpc com.google.api.gax.tracing -
-
Uses of OperationSnapshot in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning that return types with arguments of type OperationSnapshot Modifier and Type Method Description ApiFuture<OperationSnapshot>OperationFuture. getInitialFuture()Returns theOperationSnapshotfuture of the initial request which started thisOperationFuture.ApiFuture<OperationSnapshot>OperationFutureImpl. getInitialFuture()RetryingFuture<OperationSnapshot>OperationFuture. getPollingFuture()Returns theRetryingFuturewhich continues to pollOperationSnapshot.RetryingFuture<OperationSnapshot>OperationFutureImpl. getPollingFuture()Methods in com.google.api.gax.longrunning with parameters of type OperationSnapshot Modifier and Type Method Description TimedAttemptSettingsOperationResponsePollAlgorithm. createNextAttempt(Throwable prevThrowable, OperationSnapshot prevResponse, TimedAttemptSettings prevSettings)static <ResponseT,MetadataT>
OperationFuture<ResponseT,MetadataT>OperationFutures. immediateOperationFuture(OperationSnapshot completedSnapshot)Creates an already-completedOperationFuture, useful for testing.booleanOperationResponsePollAlgorithm. shouldRetry(Throwable prevThrowable, OperationSnapshot prevResponse) -
Uses of OperationSnapshot in com.google.api.gax.rpc
Methods in com.google.api.gax.rpc that return types with arguments of type OperationSnapshot Modifier and Type Method Description UnaryCallSettings<RequestT,OperationSnapshot>OperationCallSettings.Builder. getInitialCallSettings()Get the call settings which are used on the call to initiate the operation.UnaryCallSettings<RequestT,OperationSnapshot>OperationCallSettings. getInitialCallSettings()ApiFunction<OperationSnapshot,MetadataT>OperationCallSettings.Builder. getMetadataTransformer()ApiFunction<OperationSnapshot,MetadataT>OperationCallSettings. getMetadataTransformer()UnaryCallable<String,OperationSnapshot>LongRunningClient. getOperationCallable()Returns aUnaryCallablewhich can issue calls to get the latest state of an operation.ApiFunction<OperationSnapshot,ResponseT>OperationCallSettings.Builder. getResponseTransformer()ApiFunction<OperationSnapshot,ResponseT>OperationCallSettings. getResponseTransformer()Method parameters in com.google.api.gax.rpc with type arguments of type OperationSnapshot Modifier and Type Method Description static <RequestT,ResponseT,MetadataT>
OperationCallable<RequestT,ResponseT,MetadataT>Callables. longRunningOperation(UnaryCallable<RequestT,OperationSnapshot> initialCallable, OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings, ClientContext clientContext, LongRunningClient longRunningClient)Creates a callable object that represents a long-running operation.OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>OperationCallSettings.Builder. setInitialCallSettings(UnaryCallSettings<RequestT,OperationSnapshot> initialCallSettings)Set the call settings which are used on the call to initiate the operation.OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>OperationCallSettings.Builder. setMetadataTransformer(ApiFunction<OperationSnapshot,MetadataT> metadataTransformer)OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>OperationCallSettings.Builder. setResponseTransformer(ApiFunction<OperationSnapshot,ResponseT> responseTransformer) -
Uses of OperationSnapshot in com.google.api.gax.tracing
Methods in com.google.api.gax.tracing that return types with arguments of type OperationSnapshot Modifier and Type Method Description ApiFuture<OperationSnapshot>TracedOperationInitialCallable. futureCall(RequestT request, ApiCallContext context)Constructor parameters in com.google.api.gax.tracing with type arguments of type OperationSnapshot Constructor Description TracedOperationInitialCallable(UnaryCallable<RequestT,OperationSnapshot> innerCallable, ApiTracerFactory tracedFactory, SpanName spanName)
-