Class ProtoOperationTransformers.MetadataTransformer<MetadataT> (2.33.0)

public static class ProtoOperationTransformers.MetadataTransformer<MetadataT> implements ApiFunction<OperationSnapshot,MetadataT>

Inheritance

java.lang.Object > ProtoOperationTransformers.MetadataTransformer<MetadataT>

Implements

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

Type Parameter

NameDescription
MetadataT

Static Methods

<ResponseT>create(Class<ResponseT> packedClass)

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

Methods

apply(OperationSnapshot operationSnapshot)

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