Package com.google.api.gax.rpc
Interface RequestMutator<RequestT>
- Type Parameters:
RequestT- request message type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@InternalApi("For use by transport-specific implementations")
@FunctionalInterface
public interface RequestMutator<RequestT>
A request mutator takes a
request message, applies some Function to it, and then returns
the modified request message. This is currently only used for autopopulation of the
request ID.
Implementations of this interface are expected to be autogenerated.
-
Method Summary
-
Method Details
-
apply
Applies a Function torequestmessage- Parameters:
request- request message
-