@Generated("by gapic-generator-java")
Package com.google.maps.addressvalidation.v1
A client to Address Validation API
The interfaces provided are listed below, along with usage samples.
======================= AddressValidationClient =======================
Service Description: The service for validating addresses.
Sample for AddressValidationClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AddressValidationClient addressValidationClient = AddressValidationClient.create()) {
ValidateAddressRequest request =
ValidateAddressRequest.newBuilder()
.setAddress(PostalAddress.newBuilder().build())
.setPreviousResponseId("previousResponseId468754323")
.setEnableUspsCass(true)
.build();
ValidateAddressResponse response = addressValidationClient.validateAddress(request);
}
-
Class Summary Class Description Address Details of the post-processed address.Address.Builder Details of the post-processed address.AddressComponent Represents an address component, such as a street, city, or state.AddressComponent.Builder Represents an address component, such as a street, city, or state.AddressMetadata The metadata for the address.AddressMetadata.Builder The metadata for the address.AddressProto AddressValidationClient Service Description: The service for validating addresses.AddressValidationGrpc The service for validating addresses.AddressValidationGrpc.AddressValidationBlockingStub A stub to allow clients to do synchronous rpc calls to service AddressValidation.AddressValidationGrpc.AddressValidationFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service AddressValidation.AddressValidationGrpc.AddressValidationImplBase Base class for the server implementation of the service AddressValidation.AddressValidationGrpc.AddressValidationStub A stub to allow clients to do asynchronous rpc calls to service AddressValidation.AddressValidationServiceProto AddressValidationSettings Settings class to configure an instance ofAddressValidationClient
.AddressValidationSettings.Builder Builder for AddressValidationSettings.ComponentName A wrapper for the name of the component.ComponentName.Builder A wrapper for the name of the component.Geocode Contains information about the place the input was geocoded to.Geocode.Builder Contains information about the place the input was geocoded to.GeocodeProto MetadataProto PlusCode Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.PlusCode.Builder Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.ProvideValidationFeedbackRequest The request for sending validation feedback.ProvideValidationFeedbackRequest.Builder The request for sending validation feedback.ProvideValidationFeedbackResponse The response for validation feedback.ProvideValidationFeedbackResponse.Builder The response for validation feedback.UspsAddress USPS representation of a US address.UspsAddress.Builder USPS representation of a US address.UspsData The USPS data for the address.UspsData.Builder The USPS data for the address.UspsDataProto ValidateAddressRequest The request for validating an address.ValidateAddressRequest.Builder The request for validating an address.ValidateAddressResponse The response to an address validation request.ValidateAddressResponse.Builder The response to an address validation request.ValidationResult The result of validating an address.ValidationResult.Builder The result of validating an address.Verdict High level overview of the address validation result and geocode.Verdict.Builder High level overview of the address validation result and geocode. -
Enum Summary Enum Description AddressComponent.ConfirmationLevel The different possible values for confirmation levels.ProvideValidationFeedbackRequest.ValidationConclusion The possible final outcomes of the sequence of address validation requests needed to validate an address.Verdict.Granularity The various granularities that an address or a geocode can have.