/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/maps/addressvalidation/v1/address_validation_service.proto

package com.google.maps.addressvalidation.v1;

public interface ValidationResultOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidationResult)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Overall verdict flags
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Verdict verdict = 1;</code>
   *
   * @return Whether the verdict field is set.
   */
  boolean hasVerdict();
  /**
   *
   *
   * <pre>
   * Overall verdict flags
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Verdict verdict = 1;</code>
   *
   * @return The verdict.
   */
  com.google.maps.addressvalidation.v1.Verdict getVerdict();
  /**
   *
   *
   * <pre>
   * Overall verdict flags
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Verdict verdict = 1;</code>
   */
  com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder();

  /**
   *
   *
   * <pre>
   * Information about the address itself as opposed to the geocode.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Address address = 2;</code>
   *
   * @return Whether the address field is set.
   */
  boolean hasAddress();
  /**
   *
   *
   * <pre>
   * Information about the address itself as opposed to the geocode.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Address address = 2;</code>
   *
   * @return The address.
   */
  com.google.maps.addressvalidation.v1.Address getAddress();
  /**
   *
   *
   * <pre>
   * Information about the address itself as opposed to the geocode.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Address address = 2;</code>
   */
  com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder();

  /**
   *
   *
   * <pre>
   * Information about the location and place that the address geocoded to.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Geocode geocode = 3;</code>
   *
   * @return Whether the geocode field is set.
   */
  boolean hasGeocode();
  /**
   *
   *
   * <pre>
   * Information about the location and place that the address geocoded to.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Geocode geocode = 3;</code>
   *
   * @return The geocode.
   */
  com.google.maps.addressvalidation.v1.Geocode getGeocode();
  /**
   *
   *
   * <pre>
   * Information about the location and place that the address geocoded to.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.Geocode geocode = 3;</code>
   */
  com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder();

  /**
   *
   *
   * <pre>
   * Other information relevant to deliverability. `metadata` is not guaranteed
   * to be fully populated for every address sent to the Address Validation API.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;</code>
   *
   * @return Whether the metadata field is set.
   */
  boolean hasMetadata();
  /**
   *
   *
   * <pre>
   * Other information relevant to deliverability. `metadata` is not guaranteed
   * to be fully populated for every address sent to the Address Validation API.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;</code>
   *
   * @return The metadata.
   */
  com.google.maps.addressvalidation.v1.AddressMetadata getMetadata();
  /**
   *
   *
   * <pre>
   * Other information relevant to deliverability. `metadata` is not guaranteed
   * to be fully populated for every address sent to the Address Validation API.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;</code>
   */
  com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadataOrBuilder();

  /**
   *
   *
   * <pre>
   * Extra deliverability flags provided by USPS. Only provided in region `US`
   * and `PR`.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.UspsData usps_data = 5;</code>
   *
   * @return Whether the uspsData field is set.
   */
  boolean hasUspsData();
  /**
   *
   *
   * <pre>
   * Extra deliverability flags provided by USPS. Only provided in region `US`
   * and `PR`.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.UspsData usps_data = 5;</code>
   *
   * @return The uspsData.
   */
  com.google.maps.addressvalidation.v1.UspsData getUspsData();
  /**
   *
   *
   * <pre>
   * Extra deliverability flags provided by USPS. Only provided in region `US`
   * and `PR`.
   * </pre>
   *
   * <code>.google.maps.addressvalidation.v1.UspsData usps_data = 5;</code>
   */
  com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuilder();
}
