Class AddressValidationGrpc.AddressValidationStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AddressValidationGrpc.AddressValidationStub>
-
- com.google.maps.addressvalidation.v1.AddressValidationGrpc.AddressValidationStub
-
- Enclosing class:
- AddressValidationGrpc
public static final class AddressValidationGrpc.AddressValidationStub extends io.grpc.stub.AbstractAsyncStub<AddressValidationGrpc.AddressValidationStub>
A stub to allow clients to do asynchronous 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.AddressValidationStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
provideValidationFeedback(ProvideValidationFeedbackRequest request, io.grpc.stub.StreamObserver<ProvideValidationFeedbackResponse> responseObserver)
Feedback about the outcome of the sequence of validation attempts.void
validateAddress(ValidateAddressRequest request, io.grpc.stub.StreamObserver<ValidateAddressResponse> responseObserver)
Validates an address.
-
-
-
Method Detail
-
build
protected AddressValidationGrpc.AddressValidationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AddressValidationGrpc.AddressValidationStub>
-
validateAddress
public void validateAddress(ValidateAddressRequest request, io.grpc.stub.StreamObserver<ValidateAddressResponse> responseObserver)
Validates an address.
-
provideValidationFeedback
public void provideValidationFeedback(ProvideValidationFeedbackRequest request, io.grpc.stub.StreamObserver<ProvideValidationFeedbackResponse> responseObserver)
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.
-
-