Class ProtoOperationTransformers.ResponseTransformer<ResponseT> (2.55.0)

public static class ProtoOperationTransformers.ResponseTransformer<ResponseT> implements ApiFunction<OperationSnapshot,ResponseT>

Inheritance

java.lang.Object > ProtoOperationTransformers.ResponseTransformer<ResponseT>

Implements

com.google.api.core.ApiFunction<com.google.api.gax.longrunning.OperationSnapshot,ResponseT>

Type Parameter

Name Description
ResponseT

Static Methods

<ResponseT>create(Class<ResponseT> packedClass)

public static ProtoOperationTransformers.ResponseTransformer<ResponseT> <ResponseT>create(Class<ResponseT> packedClass)
Parameter
Name Description
packedClass Class<ResponseT>
Returns
Type Description
ResponseTransformer<ResponseT>

Methods

apply(OperationSnapshot operationSnapshot)

public ResponseT apply(OperationSnapshot operationSnapshot)
Parameter
Name Description
operationSnapshot OperationSnapshot
Returns
Type Description
ResponseT