Class ProtoOperationTransformers.MetadataTransformer<MetadataT> (2.47.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

Name Description
MetadataT

Static Methods

<ResponseT>create(Class<ResponseT> packedClass)

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

Methods

apply(OperationSnapshot operationSnapshot)

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