Uses of Interface
com.google.api.gax.longrunning.OperationSnapshot
Packages that use OperationSnapshot
Package
Description
-
Uses of OperationSnapshot in com.google.api.gax.longrunning
Methods in com.google.api.gax.longrunning that return types with arguments of type OperationSnapshotModifier and TypeMethodDescriptionOperationFuture.getInitialFuture()Returns theOperationSnapshotfuture of the initial request which started thisOperationFuture.OperationFutureImpl.getInitialFuture()OperationFuture.getPollingFuture()Returns theRetryingFuturewhich continues to pollOperationSnapshot.OperationFutureImpl.getPollingFuture()Methods in com.google.api.gax.longrunning with parameters of type OperationSnapshotModifier and TypeMethodDescriptionOperationResponsePollAlgorithm.createNextAttempt(Throwable prevThrowable, OperationSnapshot prevResponse, TimedAttemptSettings prevSettings) static final <ResponseT,MetadataT>
OperationFuture<ResponseT,MetadataT> OperationFutures.immediateOperationFuture(OperationSnapshot completedSnapshot) Creates an already-completedOperationFuture, useful for testing.booleanOperationResponsePollAlgorithm.shouldRetry(Throwable prevThrowable, OperationSnapshot prevResponse) Constructor parameters in com.google.api.gax.longrunning with type arguments of type OperationSnapshotModifierConstructorDescriptionOperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) Creates a new operation future instance.OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) Creates a new operation future instance.OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) Creates a new operation future instance.OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer, ApiFunction<Exception, ResponseT> exceptionTransformer) OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer, ApiFunction<Exception, ResponseT> exceptionTransformer) OperationFutureImpl(RetryingFuture<OperationSnapshot> pollingFuture, ApiFuture<OperationSnapshot> initialFuture, ApiFunction<OperationSnapshot, ResponseT> responseTransformer, ApiFunction<OperationSnapshot, MetadataT> metadataTransformer, ApiFunction<Exception, ResponseT> exceptionTransformer) -
Uses of OperationSnapshot in com.google.api.gax.rpc
Methods in com.google.api.gax.rpc that return types with arguments of type OperationSnapshotModifier and TypeMethodDescriptionOperationCallSettings.Builder.getInitialCallSettings()Get the call settings which are used on the call to initiate the operation.OperationCallSettings.getInitialCallSettings()OperationCallSettings.Builder.getMetadataTransformer()OperationCallSettings.getMetadataTransformer()LongRunningClient.getOperationCallable()Returns aUnaryCallablewhich can issue calls to get the latest state of an operation.OperationCallSettings.Builder.getResponseTransformer()OperationCallSettings.getResponseTransformer()Method parameters in com.google.api.gax.rpc with type arguments of type OperationSnapshotModifier and TypeMethodDescriptionstatic <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.setInitialCallSettings(UnaryCallSettings<RequestT, OperationSnapshot> initialCallSettings) Set the call settings which are used on the call to initiate the operation.OperationCallSettings.Builder.setMetadataTransformer(ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) 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 OperationSnapshotModifier and TypeMethodDescriptionTracedOperationInitialCallable.futureCall(RequestT request, ApiCallContext context) Constructor parameters in com.google.api.gax.tracing with type arguments of type OperationSnapshotModifierConstructorDescriptionTracedOperationInitialCallable(UnaryCallable<RequestT, OperationSnapshot> innerCallable, ApiTracerFactory tracedFactory, SpanName spanName)