Class AddressValidationGrpc.AddressValidationFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<AddressValidationGrpc.AddressValidationFutureStub>
-
- com.google.maps.addressvalidation.v1.AddressValidationGrpc.AddressValidationFutureStub
-
- Enclosing class:
- AddressValidationGrpc
public static final class AddressValidationGrpc.AddressValidationFutureStub extends io.grpc.stub.AbstractFutureStub<AddressValidationGrpc.AddressValidationFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AddressValidation.The service for validating addresses.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AddressValidationGrpc.AddressValidationFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<ProvideValidationFeedbackResponse>
provideValidationFeedback(ProvideValidationFeedbackRequest request)
Feedback about the outcome of the sequence of validation attempts.com.google.common.util.concurrent.ListenableFuture<ValidateAddressResponse>
validateAddress(ValidateAddressRequest request)
Validates an address.
-
-
-
Method Detail
-
build
protected AddressValidationGrpc.AddressValidationFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AddressValidationGrpc.AddressValidationFutureStub>
-
validateAddress
public com.google.common.util.concurrent.ListenableFuture<ValidateAddressResponse> validateAddress(ValidateAddressRequest request)
Validates an address.
-
provideValidationFeedback
public com.google.common.util.concurrent.ListenableFuture<ProvideValidationFeedbackResponse> provideValidationFeedback(ProvideValidationFeedbackRequest request)
Feedback about the outcome of the sequence of validation attempts. This should be the last call made after a sequence of validation calls for the same address, and should be called once the transaction is concluded. This should only be sent once for the sequence of `ValidateAddress` requests needed to validate an address fully.
-
-