Class ProtoOperationTransformers.ResponseTransformer<ResponseT> (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
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

NameDescription
ResponseT

Static Methods

<ResponseT>create(Class<ResponseT> packedClass)

public static ProtoOperationTransformers.ResponseTransformer<ResponseT> <ResponseT>create(Class<ResponseT> packedClass)
Parameter
NameDescription
packedClassClass<ResponseT>
Returns
TypeDescription
ResponseTransformer<ResponseT>

Methods

apply(OperationSnapshot operationSnapshot)

public ResponseT apply(OperationSnapshot operationSnapshot)
Parameter
NameDescription
operationSnapshotOperationSnapshot
Returns
TypeDescription
ResponseT