Interface OperationSnapshotFactory<RequestT,OperationT> (2.37.0)

publicinterface OperationSnapshotFactory<RequestT,OperationT>

A factory which creates an OperationSnapshot from an initial request message (the one which started a long running operation) and an operation response (which may be either initial request response or the polling request response).

Public for technical reasons. For internal use only.

Type Parameters

Name Description
RequestT
OperationT

Methods

create(RequestT request, OperationT response)

publicabstractOperationSnapshotcreate(RequestTrequest,OperationTresponse)
Parameters
Name Description
request RequestT
response OperationT
Returns
Type Description
OperationSnapshot

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.