Class ProtoOperationTransformers.MetadataTransformer<MetadataT> (2.20.0)

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