From e94eb4ee167261a04ecb8551f5d2b18aac86eed2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 7 Dec 2022 12:50:59 +0000 Subject: [PATCH 1/2] docs: Document that PREMISE_PROXIMITY is a valid value for an address granularity PiperOrigin-RevId: 493546802 Source-Link: https://github.com/googleapis/googleapis/commit/2592f50ec97486ad3bee438350dbac2e8f478f7f Source-Link: https://github.com/googleapis/googleapis-gen/commit/a31ebbb51b9c946eacbd2666366e4a48521a5b8e Copy-Tag: eyJwIjoiamF2YS1tYXBzLWFkZHJlc3N2YWxpZGF0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJhMzFlYmJiNTFiOWM5NDZlYWNiZDI2NjYzNjZlNGE0ODUyMWE1YjhlIn0= --- .../v1/AddressValidationGrpc.java | 514 ---- .../addressvalidation/v1/AddressProto.java | 134 - .../v1/AddressValidationServiceProto.java | 213 -- .../addressvalidation/v1/GeocodeProto.java | 94 - .../addressvalidation/v1/MetadataProto.java | 71 - ...deValidationFeedbackResponseOrBuilder.java | 24 - .../addressvalidation/v1/UspsDataProto.java | 139 - .../v1/AddressValidationClient.java | 0 .../v1/AddressValidationSettings.java | 1 + .../addressvalidation/v1/gapic_metadata.json | 0 .../addressvalidation/v1/package-info.java | 0 .../v1/stub/AddressValidationStub.java | 0 .../stub/AddressValidationStubSettings.java | 0 .../GrpcAddressValidationCallableFactory.java | 0 .../v1/stub/GrpcAddressValidationStub.java | 0 ...pJsonAddressValidationCallableFactory.java | 0 .../stub/HttpJsonAddressValidationStub.java | 6 +- .../AddressValidationClientHttpJsonTest.java | 0 .../v1/AddressValidationClientTest.java | 0 .../v1/MockAddressValidation.java | 0 .../v1/MockAddressValidationImpl.java | 0 .../v1/AddressValidationGrpc.java | 405 +++ .../maps/addressvalidation/v1/Address.java | 1002 +++---- .../v1/AddressComponent.java | 749 ++--- .../v1/AddressComponentOrBuilder.java | 61 +- .../addressvalidation/v1/AddressMetadata.java | 372 +-- .../v1/AddressMetadataOrBuilder.java | 36 +- .../v1/AddressOrBuilder.java | 124 +- .../addressvalidation/v1/AddressProto.java | 106 + .../v1/AddressValidationServiceProto.java | 189 ++ .../addressvalidation/v1/ComponentName.java | 406 ++- .../v1/ComponentNameOrBuilder.java | 36 +- .../maps/addressvalidation/v1/Geocode.java | 701 ++--- .../v1/GeocodeOrBuilder.java | 72 +- .../addressvalidation/v1/GeocodeProto.java | 78 + .../addressvalidation/v1/MetadataProto.java | 58 + .../maps/addressvalidation/v1/PlusCode.java | 399 ++- .../v1/PlusCodeOrBuilder.java | 36 +- .../v1/ProvideValidationFeedbackRequest.java | 579 ++-- ...ideValidationFeedbackRequestOrBuilder.java | 50 +- .../v1/ProvideValidationFeedbackResponse.java | 292 +- ...deValidationFeedbackResponseOrBuilder.java | 9 + .../addressvalidation/v1/UspsAddress.java | 961 +++---- .../v1/UspsAddressOrBuilder.java | 99 +- .../maps/addressvalidation/v1/UspsData.java | 2401 +++++++---------- .../v1/UspsDataOrBuilder.java | 245 +- .../addressvalidation/v1/UspsDataProto.java | 90 + .../v1/ValidateAddressRequest.java | 466 ++-- .../v1/ValidateAddressRequestOrBuilder.java | 38 +- .../v1/ValidateAddressResponse.java | 423 ++- .../v1/ValidateAddressResponseOrBuilder.java | 35 +- .../v1/ValidationResult.java | 684 ++--- .../v1/ValidationResultOrBuilder.java | 58 +- .../maps/addressvalidation/v1/Verdict.java | 729 ++--- .../v1/VerdictOrBuilder.java | 48 +- .../maps/addressvalidation/v1/address.proto | 0 .../v1/address_validation_service.proto | 18 +- .../maps/addressvalidation/v1/geocode.proto | 0 .../maps/addressvalidation/v1/metadata.proto | 0 .../maps/addressvalidation/v1/usps_data.proto | 0 60 files changed, 5076 insertions(+), 8175 deletions(-) delete mode 100644 java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java delete mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java (99%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java (97%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java (100%) create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java (78%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java (71%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java (76%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java (71%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java (71%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java (68%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java (61%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java (77%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java (86%) create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java (69%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java (64%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java (64%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java (59%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java (57%) create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java (70%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java (69%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java (77%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java (86%) create mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java (80%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java (88%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java (69%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java (67%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java (72%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java (83%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java (77%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java (88%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto (97%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto (100%) rename {java-maps-addressvalidation => owl-bot-staging/java-maps-addressvalidation/v1}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto (100%) diff --git a/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java b/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java deleted file mode 100644 index 2a2ad4dfef3c..000000000000 --- a/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java +++ /dev/null @@ -1,514 +0,0 @@ -/* - * 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. - */ -package com.google.maps.addressvalidation.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The service for validating addresses.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/maps/addressvalidation/v1/address_validation_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AddressValidationGrpc { - - private AddressValidationGrpc() {} - - public static final String SERVICE_NAME = "google.maps.addressvalidation.v1.AddressValidation"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ValidateAddressRequest, - com.google.maps.addressvalidation.v1.ValidateAddressResponse> - getValidateAddressMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ValidateAddress", - requestType = com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, - responseType = com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ValidateAddressRequest, - com.google.maps.addressvalidation.v1.ValidateAddressResponse> - getValidateAddressMethod() { - io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ValidateAddressRequest, - com.google.maps.addressvalidation.v1.ValidateAddressResponse> - getValidateAddressMethod; - if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { - synchronized (AddressValidationGrpc.class) { - if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { - AddressValidationGrpc.getValidateAddressMethod = - getValidateAddressMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAddress")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ValidateAddressRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ValidateAddressResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AddressValidationMethodDescriptorSupplier("ValidateAddress")) - .build(); - } - } - } - return getValidateAddressMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - getProvideValidationFeedbackMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvideValidationFeedback", - requestType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, - responseType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - getProvideValidationFeedbackMethod() { - io.grpc.MethodDescriptor< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - getProvideValidationFeedbackMethod; - if ((getProvideValidationFeedbackMethod = - AddressValidationGrpc.getProvideValidationFeedbackMethod) - == null) { - synchronized (AddressValidationGrpc.class) { - if ((getProvideValidationFeedbackMethod = - AddressValidationGrpc.getProvideValidationFeedbackMethod) - == null) { - AddressValidationGrpc.getProvideValidationFeedbackMethod = - getProvideValidationFeedbackMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ProvideValidationFeedback")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AddressValidationMethodDescriptorSupplier( - "ProvideValidationFeedback")) - .build(); - } - } - } - return getProvideValidationFeedbackMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AddressValidationStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationStub(channel, callOptions); - } - }; - return AddressValidationStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AddressValidationBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationBlockingStub(channel, callOptions); - } - }; - return AddressValidationBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AddressValidationFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationFutureStub(channel, callOptions); - } - }; - return AddressValidationFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The service for validating addresses.
-   * 
- */ - public abstract static class AddressValidationImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Validates an address.
-     * 
- */ - public void validateAddress( - com.google.maps.addressvalidation.v1.ValidateAddressRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getValidateAddressMethod(), 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.
-     * 
- */ - public void provideValidationFeedback( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, - io.grpc.stub.StreamObserver< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProvideValidationFeedbackMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getValidateAddressMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.addressvalidation.v1.ValidateAddressRequest, - com.google.maps.addressvalidation.v1.ValidateAddressResponse>( - this, METHODID_VALIDATE_ADDRESS))) - .addMethod( - getProvideValidationFeedbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>( - this, METHODID_PROVIDE_VALIDATION_FEEDBACK))) - .build(); - } - } - - /** - * - * - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationStub - extends io.grpc.stub.AbstractAsyncStub { - private AddressValidationStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationStub(channel, callOptions); - } - - /** - * - * - *
-     * Validates an address.
-     * 
- */ - public void validateAddress( - com.google.maps.addressvalidation.v1.ValidateAddressRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getValidateAddressMethod(), getCallOptions()), - request, - 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.
-     * 
- */ - public void provideValidationFeedback( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, - io.grpc.stub.StreamObserver< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AddressValidationBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Validates an address.
-     * 
- */ - public com.google.maps.addressvalidation.v1.ValidateAddressResponse validateAddress( - com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getValidateAddressMethod(), getCallOptions(), 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.
-     * 
- */ - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse - provideValidationFeedback( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvideValidationFeedbackMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AddressValidationFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Validates an address.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.maps.addressvalidation.v1.ValidateAddressResponse> - validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getValidateAddressMethod(), getCallOptions()), 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> - provideValidationFeedback( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_VALIDATE_ADDRESS = 0; - private static final int METHODID_PROVIDE_VALIDATION_FEEDBACK = 1; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AddressValidationImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AddressValidationImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_VALIDATE_ADDRESS: - serviceImpl.validateAddress( - (com.google.maps.addressvalidation.v1.ValidateAddressRequest) request, - (io.grpc.stub.StreamObserver< - com.google.maps.addressvalidation.v1.ValidateAddressResponse>) - responseObserver); - break; - case METHODID_PROVIDE_VALIDATION_FEEDBACK: - serviceImpl.provideValidationFeedback( - (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) request, - (io.grpc.stub.StreamObserver< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class AddressValidationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AddressValidationBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AddressValidation"); - } - } - - private static final class AddressValidationFileDescriptorSupplier - extends AddressValidationBaseDescriptorSupplier { - AddressValidationFileDescriptorSupplier() {} - } - - private static final class AddressValidationMethodDescriptorSupplier - extends AddressValidationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AddressValidationMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AddressValidationGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AddressValidationFileDescriptorSupplier()) - .addMethod(getValidateAddressMethod()) - .addMethod(getProvideValidationFeedbackMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java deleted file mode 100644 index 77cc312aec0e..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * 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.proto - -package com.google.maps.addressvalidation.v1; - -public final class AddressProto { - private AddressProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Address_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/maps/addressvalidation/v1/addre" - + "ss.proto\022 google.maps.addressvalidation." - + "v1\032\037google/api/field_behavior.proto\032 goo" - + "gle/type/postal_address.proto\"\216\002\n\007Addres" - + "s\022\031\n\021formatted_address\030\002 \001(\t\0222\n\016postal_a" - + "ddress\030\003 \001(\0132\032.google.type.PostalAddress" - + "\022S\n\022address_components\030\004 \003(\01322.google.ma" - + "ps.addressvalidation.v1.AddressComponent" - + "B\003\340A\006\022\037\n\027missing_component_types\030\005 \003(\t\022#" - + "\n\033unconfirmed_component_types\030\006 \003(\t\022\031\n\021u" - + "nresolved_tokens\030\007 \003(\t\"\256\003\n\020AddressCompon" - + "ent\022G\n\016component_name\030\001 \001(\0132/.google.map" - + "s.addressvalidation.v1.ComponentName\022\026\n\016" - + "component_type\030\002 \001(\t\022`\n\022confirmation_lev" - + "el\030\003 \001(\0162D.google.maps.addressvalidation" - + ".v1.AddressComponent.ConfirmationLevel\022\020" - + "\n\010inferred\030\004 \001(\010\022\027\n\017spell_corrected\030\005 \001(" - + "\010\022\020\n\010replaced\030\006 \001(\010\022\022\n\nunexpected\030\007 \001(\010\"" - + "\205\001\n\021ConfirmationLevel\022\"\n\036CONFIRMATION_LE" - + "VEL_UNSPECIFIED\020\000\022\r\n\tCONFIRMED\020\001\022\035\n\031UNCO" - + "NFIRMED_BUT_PLAUSIBLE\020\002\022\036\n\032UNCONFIRMED_A" - + "ND_SUSPICIOUS\020\003\"4\n\rComponentName\022\014\n\004text" - + "\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\202\002\n$com.go" - + "ogle.maps.addressvalidation.v1B\014AddressP" - + "rotoP\001ZQgoogle.golang.org/genproto/googl" - + "eapis/maps/addressvalidation/v1;addressv" - + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" - + "ressValidation.V1\312\002 Google\\Maps\\AddressV" - + "alidation\\V1\352\002#Google::Maps::AddressVali" - + "dation::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_Address_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Address_descriptor, - new java.lang.String[] { - "FormattedAddress", - "PostalAddress", - "AddressComponents", - "MissingComponentTypes", - "UnconfirmedComponentTypes", - "UnresolvedTokens", - }); - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor, - new java.lang.String[] { - "ComponentName", - "ComponentType", - "ConfirmationLevel", - "Inferred", - "SpellCorrected", - "Replaced", - "Unexpected", - }); - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor, - new java.lang.String[] { - "Text", "LanguageCode", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java deleted file mode 100644 index 31aa9a8008ab..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * 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 final class AddressValidationServiceProto { - private AddressValidationServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/maps/addressvalidation/v1/addre" - + "ss_validation_service.proto\022 google.maps" - + ".addressvalidation.v1\032\034google/api/annota" - + "tions.proto\032\027google/api/client.proto\032\037go" - + "ogle/api/field_behavior.proto\032.google/ma" - + "ps/addressvalidation/v1/address.proto\032.g" - + "oogle/maps/addressvalidation/v1/geocode." - + "proto\032/google/maps/addressvalidation/v1/" - + "metadata.proto\0320google/maps/addressvalid" - + "ation/v1/usps_data.proto\032 google/type/po" - + "stal_address.proto\"\202\001\n\026ValidateAddressRe" - + "quest\0220\n\007address\030\001 \001(\0132\032.google.type.Pos" - + "talAddressB\003\340A\002\022\034\n\024previous_response_id\030" - + "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\"r\n\027Valid" - + "ateAddressResponse\022B\n\006result\030\001 \001(\01322.goo" - + "gle.maps.addressvalidation.v1.Validation" - + "Result\022\023\n\013response_id\030\002 \001(\t\"\313\002\n ProvideV" - + "alidationFeedbackRequest\022p\n\nconclusion\030\001" - + " \001(\0162W.google.maps.addressvalidation.v1." - + "ProvideValidationFeedbackRequest.Validat" - + "ionConclusionB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB" - + "\003\340A\002\"\232\001\n\024ValidationConclusion\022%\n!VALIDAT" - + "ION_CONCLUSION_UNSPECIFIED\020\000\022\032\n\026VALIDATE" - + "D_VERSION_USED\020\001\022\025\n\021USER_VERSION_USED\020\002\022" - + "\034\n\030UNVALIDATED_VERSION_USED\020\003\022\n\n\006UNUSED\020" - + "\004\"#\n!ProvideValidationFeedbackResponse\"\312" - + "\002\n\020ValidationResult\022:\n\007verdict\030\001 \001(\0132).g" - + "oogle.maps.addressvalidation.v1.Verdict\022" - + ":\n\007address\030\002 \001(\0132).google.maps.addressva" - + "lidation.v1.Address\022:\n\007geocode\030\003 \001(\0132).g" - + "oogle.maps.addressvalidation.v1.Geocode\022" - + "C\n\010metadata\030\004 \001(\01321.google.maps.addressv" - + "alidation.v1.AddressMetadata\022=\n\tusps_dat" - + "a\030\005 \001(\0132*.google.maps.addressvalidation." - + "v1.UspsData\"\211\004\n\007Verdict\022P\n\021input_granula" - + "rity\030\001 \001(\01625.google.maps.addressvalidati" - + "on.v1.Verdict.Granularity\022U\n\026validation_" - + "granularity\030\002 \001(\01625.google.maps.addressv" - + "alidation.v1.Verdict.Granularity\022R\n\023geoc" - + "ode_granularity\030\003 \001(\01625.google.maps.addr" - + "essvalidation.v1.Verdict.Granularity\022\030\n\020" - + "address_complete\030\004 \001(\010\022\"\n\032has_unconfirme" - + "d_components\030\005 \001(\010\022\037\n\027has_inferred_compo" - + "nents\030\006 \001(\010\022\037\n\027has_replaced_components\030\007" - + " \001(\010\"\200\001\n\013Granularity\022\033\n\027GRANULARITY_UNSP" - + "ECIFIED\020\000\022\017\n\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022" - + "\025\n\021PREMISE_PROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROU" - + "TE\020\005\022\t\n\005OTHER\020\0062\262\003\n\021AddressValidation\022\246\001" - + "\n\017ValidateAddress\0228.google.maps.addressv" - + "alidation.v1.ValidateAddressRequest\0329.go" - + "ogle.maps.addressvalidation.v1.ValidateA" - + "ddressResponse\"\036\202\323\344\223\002\030\"\023/v1:validateAddr" - + "ess:\001*\022\316\001\n\031ProvideValidationFeedback\022B.g" - + "oogle.maps.addressvalidation.v1.ProvideV" - + "alidationFeedbackRequest\032C.google.maps.a" - + "ddressvalidation.v1.ProvideValidationFee" - + "dbackResponse\"(\202\323\344\223\002\"\"\035/v1:provideValida" - + "tionFeedback:\001*\032#\312A addressvalidation.go" - + "ogleapis.comB\223\002\n$com.google.maps.address" - + "validation.v1B\035AddressValidationServiceP" - + "rotoP\001ZQgoogle.golang.org/genproto/googl" - + "eapis/maps/addressvalidation/v1;addressv" - + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" - + "ressValidation.V1\312\002 Google\\Maps\\AddressV" - + "alidation\\V1\352\002#Google::Maps::AddressVali" - + "dation::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(), - com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(), - com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(), - com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor, - new java.lang.String[] { - "Address", "PreviousResponseId", "EnableUspsCass", - }); - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor, - new java.lang.String[] { - "Result", "ResponseId", - }); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor, - new java.lang.String[] { - "Conclusion", "ResponseId", - }); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor, - new java.lang.String[] { - "Verdict", "Address", "Geocode", "Metadata", "UspsData", - }); - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor, - new java.lang.String[] { - "InputGranularity", - "ValidationGranularity", - "GeocodeGranularity", - "AddressComplete", - "HasUnconfirmedComponents", - "HasInferredComponents", - "HasReplacedComponents", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(); - com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(); - com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(); - com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java deleted file mode 100644 index 9f5c8bd8a5f5..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * 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/geocode.proto - -package com.google.maps.addressvalidation.v1; - -public final class GeocodeProto { - private GeocodeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/maps/addressvalidation/v1/geoco" - + "de.proto\022 google.maps.addressvalidation." - + "v1\032\036google/geo/type/viewport.proto\032\030goog" - + "le/type/latlng.proto\"\336\001\n\007Geocode\022%\n\010loca" - + "tion\030\001 \001(\0132\023.google.type.LatLng\022=\n\tplus_" - + "code\030\002 \001(\0132*.google.maps.addressvalidati" - + "on.v1.PlusCode\022)\n\006bounds\030\004 \001(\0132\031.google." - + "geo.type.Viewport\022\033\n\023feature_size_meters" - + "\030\005 \001(\002\022\020\n\010place_id\030\006 \001(\t\022\023\n\013place_types\030" - + "\007 \003(\t\"6\n\010PlusCode\022\023\n\013global_code\030\001 \001(\t\022\025" - + "\n\rcompound_code\030\002 \001(\tB\202\002\n$com.google.map" - + "s.addressvalidation.v1B\014GeocodeProtoP\001ZQ" - + "google.golang.org/genproto/googleapis/ma" - + "ps/addressvalidation/v1;addressvalidatio" - + "n\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressVali" - + "dation.V1\312\002 Google\\Maps\\AddressValidatio" - + "n\\V1\352\002#Google::Maps::AddressValidation::" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor, - new java.lang.String[] { - "Location", "PlusCode", "Bounds", "FeatureSizeMeters", "PlaceId", "PlaceTypes", - }); - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor, - new java.lang.String[] { - "GlobalCode", "CompoundCode", - }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java deleted file mode 100644 index 17d85752df1d..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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/metadata.proto - -package com.google.maps.addressvalidation.v1; - -public final class MetadataProto { - private MetadataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/maps/addressvalidation/v1/metad" - + "ata.proto\022 google.maps.addressvalidation" - + ".v1\"\177\n\017AddressMetadata\022\025\n\010business\030\002 \001(\010" - + "H\000\210\001\001\022\023\n\006po_box\030\003 \001(\010H\001\210\001\001\022\030\n\013residentia" - + "l\030\006 \001(\010H\002\210\001\001B\013\n\t_businessB\t\n\007_po_boxB\016\n\014" - + "_residentialB\203\002\n$com.google.maps.address" - + "validation.v1B\rMetadataProtoP\001ZQgoogle.g" - + "olang.org/genproto/googleapis/maps/addre" - + "ssvalidation/v1;addressvalidation\370\001\001\242\002\007G" - + "MPAVV1\252\002 Google.Maps.AddressValidation.V" - + "1\312\002 Google\\Maps\\AddressValidation\\V1\352\002#G" - + "oogle::Maps::AddressValidation::V1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor, - new java.lang.String[] { - "Business", "PoBox", "Residential", "Business", "PoBox", "Residential", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java deleted file mode 100644 index 6dfeb035ecdd..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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 ProvideValidationFeedbackResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java deleted file mode 100644 index 4170ffa9e05c..000000000000 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * 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/usps_data.proto - -package com.google.maps.addressvalidation.v1; - -public final class UspsDataProto { - private UspsDataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/maps/addressvalidation/v1/usps_" - + "data.proto\022 google.maps.addressvalidatio" - + "n.v1\"\332\001\n\013UspsAddress\022\032\n\022first_address_li" - + "ne\030\001 \001(\t\022\014\n\004firm\030\002 \001(\t\022\033\n\023second_address" - + "_line\030\003 \001(\t\022\024\n\014urbanization\030\004 \001(\t\022#\n\033cit" - + "y_state_zip_address_line\030\005 \001(\t\022\014\n\004city\030\006" - + " \001(\t\022\r\n\005state\030\007 \001(\t\022\020\n\010zip_code\030\010 \001(\t\022\032\n" - + "\022zip_code_extension\030\t \001(\t\"\374\005\n\010UspsData\022K" - + "\n\024standardized_address\030\001 \001(\0132-.google.ma" - + "ps.addressvalidation.v1.UspsAddress\022\033\n\023d" - + "elivery_point_code\030\002 \001(\t\022\"\n\032delivery_poi" - + "nt_check_digit\030\003 \001(\t\022\030\n\020dpv_confirmation" - + "\030\004 \001(\t\022\024\n\014dpv_footnote\030\005 \001(\t\022\020\n\010dpv_cmra" - + "\030\006 \001(\t\022\022\n\ndpv_vacant\030\007 \001(\t\022\023\n\013dpv_no_sta" - + "t\030\010 \001(\t\022\025\n\rcarrier_route\030\t \001(\t\022\037\n\027carrie" - + "r_route_indicator\030\n \001(\t\022\024\n\014ews_no_match\030" - + "\013 \001(\010\022\030\n\020post_office_city\030\014 \001(\t\022\031\n\021post_" - + "office_state\030\r \001(\t\022\030\n\020abbreviated_city\030\016" - + " \001(\t\022\030\n\020fips_county_code\030\017 \001(\t\022\016\n\006county" - + "\030\020 \001(\t\022\023\n\013elot_number\030\021 \001(\t\022\021\n\telot_flag" - + "\030\022 \001(\t\022\035\n\025lacs_link_return_code\030\023 \001(\t\022\033\n" - + "\023lacs_link_indicator\030\024 \001(\t\022\037\n\027po_box_onl" - + "y_postal_code\030\025 \001(\010\022\032\n\022suitelink_footnot" - + "e\030\026 \001(\t\022\026\n\016pmb_designator\030\027 \001(\t\022\022\n\npmb_n" - + "umber\030\030 \001(\t\022\033\n\023address_record_type\030\031 \001(\t" - + "\022\027\n\017default_address\030\032 \001(\010\022\025\n\rerror_messa" - + "ge\030\033 \001(\t\022\026\n\016cass_processed\030\034 \001(\010B\203\002\n$com" - + ".google.maps.addressvalidation.v1B\rUspsD" - + "ataProtoP\001ZQgoogle.golang.org/genproto/g" - + "oogleapis/maps/addressvalidation/v1;addr" - + "essvalidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps" - + ".AddressValidation.V1\312\002 Google\\Maps\\Addr" - + "essValidation\\V1\352\002#Google::Maps::Address" - + "Validation::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor, - new java.lang.String[] { - "FirstAddressLine", - "Firm", - "SecondAddressLine", - "Urbanization", - "CityStateZipAddressLine", - "City", - "State", - "ZipCode", - "ZipCodeExtension", - }); - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor, - new java.lang.String[] { - "StandardizedAddress", - "DeliveryPointCode", - "DeliveryPointCheckDigit", - "DpvConfirmation", - "DpvFootnote", - "DpvCmra", - "DpvVacant", - "DpvNoStat", - "CarrierRoute", - "CarrierRouteIndicator", - "EwsNoMatch", - "PostOfficeCity", - "PostOfficeState", - "AbbreviatedCity", - "FipsCountyCode", - "County", - "ElotNumber", - "ElotFlag", - "LacsLinkReturnCode", - "LacsLinkIndicator", - "PoBoxOnlyPostalCode", - "SuitelinkFootnote", - "PmbDesignator", - "PmbNumber", - "AddressRecordType", - "DefaultAddress", - "ErrorMessage", - "CassProcessed", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java similarity index 99% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java index 57fb39a18a81..fd9f2dbfc77a 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.maps.addressvalidation.v1.stub.AddressValidationStubSettings; diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java similarity index 97% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java index 696c7938884e..078c72669cd7 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java @@ -74,12 +74,13 @@ public class HttpJsonAddressValidationStub extends AddressValidationStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().build(), false)) + .toBody("*", request.toBuilder().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -112,12 +113,13 @@ public class HttpJsonAddressValidationStub extends AddressValidationStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().build(), false)) + .toBody("*", request.toBuilder().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java b/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java similarity index 100% rename from java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java rename to owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java b/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java new file mode 100644 index 000000000000..0244561a347e --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java @@ -0,0 +1,405 @@ +package com.google.maps.addressvalidation.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The service for validating addresses.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/maps/addressvalidation/v1/address_validation_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AddressValidationGrpc { + + private AddressValidationGrpc() {} + + public static final String SERVICE_NAME = "google.maps.addressvalidation.v1.AddressValidation"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getValidateAddressMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ValidateAddress", + requestType = com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, + responseType = com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getValidateAddressMethod() { + io.grpc.MethodDescriptor getValidateAddressMethod; + if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { + synchronized (AddressValidationGrpc.class) { + if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { + AddressValidationGrpc.getValidateAddressMethod = getValidateAddressMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAddress")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance())) + .setSchemaDescriptor(new AddressValidationMethodDescriptorSupplier("ValidateAddress")) + .build(); + } + } + } + return getValidateAddressMethod; + } + + private static volatile io.grpc.MethodDescriptor getProvideValidationFeedbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvideValidationFeedback", + requestType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, + responseType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getProvideValidationFeedbackMethod() { + io.grpc.MethodDescriptor getProvideValidationFeedbackMethod; + if ((getProvideValidationFeedbackMethod = AddressValidationGrpc.getProvideValidationFeedbackMethod) == null) { + synchronized (AddressValidationGrpc.class) { + if ((getProvideValidationFeedbackMethod = AddressValidationGrpc.getProvideValidationFeedbackMethod) == null) { + AddressValidationGrpc.getProvideValidationFeedbackMethod = getProvideValidationFeedbackMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvideValidationFeedback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance())) + .setSchemaDescriptor(new AddressValidationMethodDescriptorSupplier("ProvideValidationFeedback")) + .build(); + } + } + } + return getProvideValidationFeedbackMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AddressValidationStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationStub(channel, callOptions); + } + }; + return AddressValidationStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AddressValidationBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationBlockingStub(channel, callOptions); + } + }; + return AddressValidationBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AddressValidationFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationFutureStub(channel, callOptions); + } + }; + return AddressValidationFutureStub.newStub(factory, channel); + } + + /** + *
+   * The service for validating addresses.
+   * 
+ */ + public static abstract class AddressValidationImplBase implements io.grpc.BindableService { + + /** + *
+     * Validates an address.
+     * 
+ */ + public void validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getValidateAddressMethod(), 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.
+     * 
+ */ + public void provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvideValidationFeedbackMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getValidateAddressMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.addressvalidation.v1.ValidateAddressRequest, + com.google.maps.addressvalidation.v1.ValidateAddressResponse>( + this, METHODID_VALIDATE_ADDRESS))) + .addMethod( + getProvideValidationFeedbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>( + this, METHODID_PROVIDE_VALIDATION_FEEDBACK))) + .build(); + } + } + + /** + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationStub extends io.grpc.stub.AbstractAsyncStub { + private AddressValidationStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationStub(channel, callOptions); + } + + /** + *
+     * Validates an address.
+     * 
+ */ + public void validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getValidateAddressMethod(), getCallOptions()), request, 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.
+     * 
+ */ + public void provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AddressValidationBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationBlockingStub(channel, callOptions); + } + + /** + *
+     * Validates an address.
+     * 
+ */ + public com.google.maps.addressvalidation.v1.ValidateAddressResponse validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateAddressMethod(), getCallOptions(), 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.
+     * 
+ */ + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvideValidationFeedbackMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationFutureStub extends io.grpc.stub.AbstractFutureStub { + private AddressValidationFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationFutureStub(channel, callOptions); + } + + /** + *
+     * Validates an address.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture validateAddress( + com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getValidateAddressMethod(), getCallOptions()), 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture provideValidationFeedback( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_VALIDATE_ADDRESS = 0; + private static final int METHODID_PROVIDE_VALIDATION_FEEDBACK = 1; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AddressValidationImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AddressValidationImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_VALIDATE_ADDRESS: + serviceImpl.validateAddress((com.google.maps.addressvalidation.v1.ValidateAddressRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROVIDE_VALIDATION_FEEDBACK: + serviceImpl.provideValidationFeedback((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class AddressValidationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AddressValidationBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AddressValidation"); + } + } + + private static final class AddressValidationFileDescriptorSupplier + extends AddressValidationBaseDescriptorSupplier { + AddressValidationFileDescriptorSupplier() {} + } + + private static final class AddressValidationMethodDescriptorSupplier + extends AddressValidationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AddressValidationMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AddressValidationGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AddressValidationFileDescriptorSupplier()) + .addMethod(getValidateAddressMethod()) + .addMethod(getProvideValidationFeedbackMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java similarity index 78% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java index 5539bb620370..1b058e4af1e7 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java @@ -1,42 +1,24 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * Details of the address parsed from the input.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Address} */ -public final class Address extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Address extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Address) AddressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Address.newBuilder() to construct. private Address(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Address() { formattedAddress_ = ""; addressComponents_ = java.util.Collections.emptyList(); @@ -47,42 +29,38 @@ private Address() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Address(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_Address_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Address.class, - com.google.maps.addressvalidation.v1.Address.Builder.class); + com.google.maps.addressvalidation.v1.Address.class, com.google.maps.addressvalidation.v1.Address.Builder.class); } public static final int FORMATTED_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object formattedAddress_; /** - * - * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; - * * @return The formattedAddress. */ @java.lang.Override @@ -91,30 +69,30 @@ public java.lang.String getFormattedAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedAddress_ = s; return s; } } /** - * - * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; - * * @return The bytes for formattedAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getFormattedAddressBytes() { + public com.google.protobuf.ByteString + getFormattedAddressBytes() { java.lang.Object ref = formattedAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); formattedAddress_ = b; return b; } else { @@ -125,14 +103,11 @@ public com.google.protobuf.ByteString getFormattedAddressBytes() { public static final int POSTAL_ADDRESS_FIELD_NUMBER = 3; private com.google.type.PostalAddress postalAddress_; /** - * - * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; - * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -140,25 +115,18 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; - * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
    * The validated address represented as a postal address.
    * 
@@ -173,8 +141,6 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int ADDRESS_COMPONENTS_FIELD_NUMBER = 4; private java.util.List addressComponents_; /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -183,18 +149,13 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override - public java.util.List - getAddressComponentsList() { + public java.util.List getAddressComponentsList() { return addressComponents_; } /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -203,18 +164,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override - public java.util.List + public java.util.List getAddressComponentsOrBuilderList() { return addressComponents_; } /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -223,17 +180,13 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override public int getAddressComponentsCount() { return addressComponents_.size(); } /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -242,17 +195,13 @@ public int getAddressComponentsCount() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index) { return addressComponents_.get(index); } /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -261,21 +210,17 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override - public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder - getAddressComponentsOrBuilder(int index) { + public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( + int index) { return addressComponents_.get(index); } public static final int MISSING_COMPONENT_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList missingComponentTypes_; /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -287,15 +232,13 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent
    * 
* * repeated string missing_component_types = 5; - * * @return A list containing the missingComponentTypes. */ - public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() { + public com.google.protobuf.ProtocolStringList + getMissingComponentTypesList() { return missingComponentTypes_; } /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -307,15 +250,12 @@ public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() {
    * 
* * repeated string missing_component_types = 5; - * * @return The count of missingComponentTypes. */ public int getMissingComponentTypesCount() { return missingComponentTypes_.size(); } /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -327,7 +267,6 @@ public int getMissingComponentTypesCount() {
    * 
* * repeated string missing_component_types = 5; - * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ @@ -335,8 +274,6 @@ public java.lang.String getMissingComponentTypes(int index) { return missingComponentTypes_.get(index); } /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -348,19 +285,17 @@ public java.lang.String getMissingComponentTypes(int index) {
    * 
* * repeated string missing_component_types = 5; - * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) { + public com.google.protobuf.ByteString + getMissingComponentTypesBytes(int index) { return missingComponentTypes_.getByteString(index); } public static final int UNCONFIRMED_COMPONENT_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList unconfirmedComponentTypes_; /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -376,15 +311,13 @@ public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) {
    * 
* * repeated string unconfirmed_component_types = 6; - * * @return A list containing the unconfirmedComponentTypes. */ - public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList() { + public com.google.protobuf.ProtocolStringList + getUnconfirmedComponentTypesList() { return unconfirmedComponentTypes_; } /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -400,15 +333,12 @@ public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList()
    * 
* * repeated string unconfirmed_component_types = 6; - * * @return The count of unconfirmedComponentTypes. */ public int getUnconfirmedComponentTypesCount() { return unconfirmedComponentTypes_.size(); } /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -424,7 +354,6 @@ public int getUnconfirmedComponentTypesCount() {
    * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ @@ -432,8 +361,6 @@ public java.lang.String getUnconfirmedComponentTypes(int index) { return unconfirmedComponentTypes_.get(index); } /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -449,19 +376,17 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
    * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index) { + public com.google.protobuf.ByteString + getUnconfirmedComponentTypesBytes(int index) { return unconfirmedComponentTypes_.getByteString(index); } public static final int UNRESOLVED_TOKENS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList unresolvedTokens_; /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -471,15 +396,13 @@ public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int inde
    * 
* * repeated string unresolved_tokens = 7; - * * @return A list containing the unresolvedTokens. */ - public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() { + public com.google.protobuf.ProtocolStringList + getUnresolvedTokensList() { return unresolvedTokens_; } /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -489,15 +412,12 @@ public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() {
    * 
* * repeated string unresolved_tokens = 7; - * * @return The count of unresolvedTokens. */ public int getUnresolvedTokensCount() { return unresolvedTokens_.size(); } /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -507,7 +427,6 @@ public int getUnresolvedTokensCount() {
    * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ @@ -515,8 +434,6 @@ public java.lang.String getUnresolvedTokens(int index) { return unresolvedTokens_.get(index); } /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -526,16 +443,15 @@ public java.lang.String getUnresolvedTokens(int index) {
    * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index) { + public com.google.protobuf.ByteString + getUnresolvedTokensBytes(int index) { return unresolvedTokens_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,7 +463,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, formattedAddress_); } @@ -558,12 +475,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(4, addressComponents_.get(i)); } for (int i = 0; i < missingComponentTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, missingComponentTypes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, missingComponentTypes_.getRaw(i)); } for (int i = 0; i < unconfirmedComponentTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 6, unconfirmedComponentTypes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, unconfirmedComponentTypes_.getRaw(i)); } for (int i = 0; i < unresolvedTokens_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, unresolvedTokens_.getRaw(i)); @@ -581,11 +496,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, formattedAddress_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPostalAddress()); } for (int i = 0; i < addressComponents_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, addressComponents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, addressComponents_.get(i)); } { int dataSize = 0; @@ -619,24 +535,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Address)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Address other = - (com.google.maps.addressvalidation.v1.Address) obj; + com.google.maps.addressvalidation.v1.Address other = (com.google.maps.addressvalidation.v1.Address) obj; - if (!getFormattedAddress().equals(other.getFormattedAddress())) return false; + if (!getFormattedAddress() + .equals(other.getFormattedAddress())) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; - } - if (!getAddressComponentsList().equals(other.getAddressComponentsList())) return false; - if (!getMissingComponentTypesList().equals(other.getMissingComponentTypesList())) return false; - if (!getUnconfirmedComponentTypesList().equals(other.getUnconfirmedComponentTypesList())) - return false; - if (!getUnresolvedTokensList().equals(other.getUnresolvedTokensList())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; + } + if (!getAddressComponentsList() + .equals(other.getAddressComponentsList())) return false; + if (!getMissingComponentTypesList() + .equals(other.getMissingComponentTypesList())) return false; + if (!getUnconfirmedComponentTypesList() + .equals(other.getUnconfirmedComponentTypesList())) return false; + if (!getUnresolvedTokensList() + .equals(other.getUnresolvedTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -675,136 +595,130 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.Address parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Address parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Address parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Address parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.Address prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of the address parsed from the input.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Address} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Address) com.google.maps.addressvalidation.v1.AddressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_Address_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Address.class, - com.google.maps.addressvalidation.v1.Address.Builder.class); + com.google.maps.addressvalidation.v1.Address.class, com.google.maps.addressvalidation.v1.Address.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Address.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -833,9 +747,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_Address_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override @@ -854,8 +768,7 @@ public com.google.maps.addressvalidation.v1.Address build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Address buildPartial() { - com.google.maps.addressvalidation.v1.Address result = - new com.google.maps.addressvalidation.v1.Address(this); + com.google.maps.addressvalidation.v1.Address result = new com.google.maps.addressvalidation.v1.Address(this); int from_bitField0_ = bitField0_; result.formattedAddress_ = formattedAddress_; if (postalAddressBuilder_ == null) { @@ -895,39 +808,38 @@ public com.google.maps.addressvalidation.v1.Address buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Address) { - return mergeFrom((com.google.maps.addressvalidation.v1.Address) other); + return mergeFrom((com.google.maps.addressvalidation.v1.Address)other); } else { super.mergeFrom(other); return this; @@ -961,10 +873,9 @@ public Builder mergeFrom(com.google.maps.addressvalidation.v1.Address other) { addressComponentsBuilder_ = null; addressComponents_ = other.addressComponents_; bitField0_ = (bitField0_ & ~0x00000001); - addressComponentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAddressComponentsFieldBuilder() - : null; + addressComponentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAddressComponentsFieldBuilder() : null; } else { addressComponentsBuilder_.addAllMessages(other.addressComponents_); } @@ -1026,60 +937,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - formattedAddress_ = input.readStringRequireUtf8(); + case 18: { + formattedAddress_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - com.google.maps.addressvalidation.v1.AddressComponent m = - input.readMessage( - com.google.maps.addressvalidation.v1.AddressComponent.parser(), - extensionRegistry); - if (addressComponentsBuilder_ == null) { - ensureAddressComponentsIsMutable(); - addressComponents_.add(m); - } else { - addressComponentsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingComponentTypesIsMutable(); - missingComponentTypes_.add(s); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnconfirmedComponentTypesIsMutable(); - unconfirmedComponentTypes_.add(s); - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnresolvedTokensIsMutable(); - unresolvedTokens_.add(s); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 34: { + com.google.maps.addressvalidation.v1.AddressComponent m = + input.readMessage( + com.google.maps.addressvalidation.v1.AddressComponent.parser(), + extensionRegistry); + if (addressComponentsBuilder_ == null) { + ensureAddressComponentsIsMutable(); + addressComponents_.add(m); + } else { + addressComponentsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingComponentTypesIsMutable(); + missingComponentTypes_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnconfirmedComponentTypesIsMutable(); + unconfirmedComponentTypes_.add(s); + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnresolvedTokensIsMutable(); + unresolvedTokens_.add(s); + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1089,26 +995,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object formattedAddress_ = ""; /** - * - * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; - * * @return The formattedAddress. */ public java.lang.String getFormattedAddress() { java.lang.Object ref = formattedAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedAddress_ = s; return s; @@ -1117,22 +1020,21 @@ public java.lang.String getFormattedAddress() { } } /** - * - * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; - * * @return The bytes for formattedAddress. */ - public com.google.protobuf.ByteString getFormattedAddressBytes() { + public com.google.protobuf.ByteString + getFormattedAddressBytes() { java.lang.Object ref = formattedAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); formattedAddress_ = b; return b; } else { @@ -1140,64 +1042,57 @@ public com.google.protobuf.ByteString getFormattedAddressBytes() { } } /** - * - * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; - * * @param value The formattedAddress to set. * @return This builder for chaining. */ - public Builder setFormattedAddress(java.lang.String value) { + public Builder setFormattedAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + formattedAddress_ = value; onChanged(); return this; } /** - * - * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; - * * @return This builder for chaining. */ public Builder clearFormattedAddress() { - + formattedAddress_ = getDefaultInstance().getFormattedAddress(); onChanged(); return this; } /** - * - * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; - * * @param value The bytes for formattedAddress to set. * @return This builder for chaining. */ - public Builder setFormattedAddressBytes(com.google.protobuf.ByteString value) { + public Builder setFormattedAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + formattedAddress_ = value; onChanged(); return this; @@ -1205,47 +1100,34 @@ public Builder setFormattedAddressBytes(com.google.protobuf.ByteString value) { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; - * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; - * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1266,15 +1148,14 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; */ - public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -1285,8 +1166,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor return this; } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1297,9 +1176,7 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); } else { postalAddress_ = value; } @@ -1311,8 +1188,6 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1331,8 +1206,6 @@ public Builder clearPostalAddress() { return this; } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1340,13 +1213,11 @@ public Builder clearPostalAddress() { * .google.type.PostalAddress postal_address = 3; */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1357,14 +1228,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } } /** - * - * *
      * The validated address represented as a postal address.
      * 
@@ -1372,43 +1240,32 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { * .google.type.PostalAddress postal_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), getParentForChildren(), isClean()); + postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), + getParentForChildren(), + isClean()); postalAddress_ = null; } return postalAddressBuilder_; } - private java.util.List - addressComponents_ = java.util.Collections.emptyList(); - + private java.util.List addressComponents_ = + java.util.Collections.emptyList(); private void ensureAddressComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - addressComponents_ = - new java.util.ArrayList( - addressComponents_); + addressComponents_ = new java.util.ArrayList(addressComponents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, - com.google.maps.addressvalidation.v1.AddressComponent.Builder, - com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> - addressComponentsBuilder_; + com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> addressComponentsBuilder_; /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1417,12 +1274,9 @@ private void ensureAddressComponentsIsMutable() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List - getAddressComponentsList() { + public java.util.List getAddressComponentsList() { if (addressComponentsBuilder_ == null) { return java.util.Collections.unmodifiableList(addressComponents_); } else { @@ -1430,8 +1284,6 @@ private void ensureAddressComponentsIsMutable() { } } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1440,9 +1292,7 @@ private void ensureAddressComponentsIsMutable() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public int getAddressComponentsCount() { if (addressComponentsBuilder_ == null) { @@ -1452,8 +1302,6 @@ public int getAddressComponentsCount() { } } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1462,9 +1310,7 @@ public int getAddressComponentsCount() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index) { if (addressComponentsBuilder_ == null) { @@ -1474,8 +1320,6 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent } } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1484,9 +1328,7 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder setAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent value) { @@ -1503,8 +1345,6 @@ public Builder setAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1513,9 +1353,7 @@ public Builder setAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder setAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1529,8 +1367,6 @@ public Builder setAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1539,12 +1375,9 @@ public Builder setAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public Builder addAddressComponents( - com.google.maps.addressvalidation.v1.AddressComponent value) { + public Builder addAddressComponents(com.google.maps.addressvalidation.v1.AddressComponent value) { if (addressComponentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1558,8 +1391,6 @@ public Builder addAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1568,9 +1399,7 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent value) { @@ -1587,8 +1416,6 @@ public Builder addAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1597,9 +1424,7 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addAddressComponents( com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1613,8 +1438,6 @@ public Builder addAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1623,9 +1446,7 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1639,8 +1460,6 @@ public Builder addAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1649,16 +1468,14 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addAllAddressComponents( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (addressComponentsBuilder_ == null) { ensureAddressComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addressComponents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, addressComponents_); onChanged(); } else { addressComponentsBuilder_.addAllMessages(values); @@ -1666,8 +1483,6 @@ public Builder addAllAddressComponents( return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1676,9 +1491,7 @@ public Builder addAllAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder clearAddressComponents() { if (addressComponentsBuilder_ == null) { @@ -1691,8 +1504,6 @@ public Builder clearAddressComponents() { return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1701,9 +1512,7 @@ public Builder clearAddressComponents() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder removeAddressComponents(int index) { if (addressComponentsBuilder_ == null) { @@ -1716,8 +1525,6 @@ public Builder removeAddressComponents(int index) { return this; } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1726,17 +1533,13 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder - getAddressComponentsBuilder(int index) { + public com.google.maps.addressvalidation.v1.AddressComponent.Builder getAddressComponentsBuilder( + int index) { return getAddressComponentsFieldBuilder().getBuilder(index); } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1745,21 +1548,16 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder - getAddressComponentsOrBuilder(int index) { + public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( + int index) { if (addressComponentsBuilder_ == null) { - return addressComponents_.get(index); - } else { + return addressComponents_.get(index); } else { return addressComponentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1768,12 +1566,10 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List - getAddressComponentsOrBuilderList() { + public java.util.List + getAddressComponentsOrBuilderList() { if (addressComponentsBuilder_ != null) { return addressComponentsBuilder_.getMessageOrBuilderList(); } else { @@ -1781,8 +1577,6 @@ public Builder removeAddressComponents(int index) { } } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1791,18 +1585,13 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder - addAddressComponentsBuilder() { - return getAddressComponentsFieldBuilder() - .addBuilder(com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); + public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressComponentsBuilder() { + return getAddressComponentsFieldBuilder().addBuilder( + com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1811,19 +1600,14 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder - addAddressComponentsBuilder(int index) { - return getAddressComponentsFieldBuilder() - .addBuilder( - index, com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); + public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressComponentsBuilder( + int index) { + return getAddressComponentsFieldBuilder().addBuilder( + index, com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); } /** - * - * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1832,26 +1616,18 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List - getAddressComponentsBuilderList() { + public java.util.List + getAddressComponentsBuilderList() { return getAddressComponentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, - com.google.maps.addressvalidation.v1.AddressComponent.Builder, - com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> + com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> getAddressComponentsFieldBuilder() { if (addressComponentsBuilder_ == null) { - addressComponentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, - com.google.maps.addressvalidation.v1.AddressComponent.Builder, - com.google.maps.addressvalidation.v1.AddressComponentOrBuilder>( + addressComponentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder>( addressComponents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1861,19 +1637,14 @@ public Builder removeAddressComponents(int index) { return addressComponentsBuilder_; } - private com.google.protobuf.LazyStringList missingComponentTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList missingComponentTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMissingComponentTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - missingComponentTypes_ = - new com.google.protobuf.LazyStringArrayList(missingComponentTypes_); + missingComponentTypes_ = new com.google.protobuf.LazyStringArrayList(missingComponentTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1885,15 +1656,13 @@ private void ensureMissingComponentTypesIsMutable() {
      * 
* * repeated string missing_component_types = 5; - * * @return A list containing the missingComponentTypes. */ - public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() { + public com.google.protobuf.ProtocolStringList + getMissingComponentTypesList() { return missingComponentTypes_.getUnmodifiableView(); } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1905,15 +1674,12 @@ public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() {
      * 
* * repeated string missing_component_types = 5; - * * @return The count of missingComponentTypes. */ public int getMissingComponentTypesCount() { return missingComponentTypes_.size(); } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1925,7 +1691,6 @@ public int getMissingComponentTypesCount() {
      * 
* * repeated string missing_component_types = 5; - * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ @@ -1933,8 +1698,6 @@ public java.lang.String getMissingComponentTypes(int index) { return missingComponentTypes_.get(index); } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1946,16 +1709,14 @@ public java.lang.String getMissingComponentTypes(int index) {
      * 
* * repeated string missing_component_types = 5; - * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) { + public com.google.protobuf.ByteString + getMissingComponentTypesBytes(int index) { return missingComponentTypes_.getByteString(index); } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1967,23 +1728,21 @@ public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) {
      * 
* * repeated string missing_component_types = 5; - * * @param index The index to set the value at. * @param value The missingComponentTypes to set. * @return This builder for chaining. */ - public Builder setMissingComponentTypes(int index, java.lang.String value) { + public Builder setMissingComponentTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureMissingComponentTypesIsMutable(); missingComponentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1995,22 +1754,20 @@ public Builder setMissingComponentTypes(int index, java.lang.String value) {
      * 
* * repeated string missing_component_types = 5; - * * @param value The missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addMissingComponentTypes(java.lang.String value) { + public Builder addMissingComponentTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureMissingComponentTypesIsMutable(); missingComponentTypes_.add(value); onChanged(); return this; } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -2022,19 +1779,18 @@ public Builder addMissingComponentTypes(java.lang.String value) {
      * 
* * repeated string missing_component_types = 5; - * * @param values The missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addAllMissingComponentTypes(java.lang.Iterable values) { + public Builder addAllMissingComponentTypes( + java.lang.Iterable values) { ensureMissingComponentTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingComponentTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, missingComponentTypes_); onChanged(); return this; } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -2046,7 +1802,6 @@ public Builder addAllMissingComponentTypes(java.lang.Iterable
      * 
* * repeated string missing_component_types = 5; - * * @return This builder for chaining. */ public Builder clearMissingComponentTypes() { @@ -2056,8 +1811,6 @@ public Builder clearMissingComponentTypes() { return this; } /** - * - * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -2069,34 +1822,29 @@ public Builder clearMissingComponentTypes() {
      * 
* * repeated string missing_component_types = 5; - * * @param value The bytes of the missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addMissingComponentTypesBytes(com.google.protobuf.ByteString value) { + public Builder addMissingComponentTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingComponentTypesIsMutable(); missingComponentTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList unconfirmedComponentTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unconfirmedComponentTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnconfirmedComponentTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - unconfirmedComponentTypes_ = - new com.google.protobuf.LazyStringArrayList(unconfirmedComponentTypes_); + unconfirmedComponentTypes_ = new com.google.protobuf.LazyStringArrayList(unconfirmedComponentTypes_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2112,15 +1860,13 @@ private void ensureUnconfirmedComponentTypesIsMutable() {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @return A list containing the unconfirmedComponentTypes. */ - public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList() { + public com.google.protobuf.ProtocolStringList + getUnconfirmedComponentTypesList() { return unconfirmedComponentTypes_.getUnmodifiableView(); } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2136,15 +1882,12 @@ public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList()
      * 
* * repeated string unconfirmed_component_types = 6; - * * @return The count of unconfirmedComponentTypes. */ public int getUnconfirmedComponentTypesCount() { return unconfirmedComponentTypes_.size(); } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2160,7 +1903,6 @@ public int getUnconfirmedComponentTypesCount() {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ @@ -2168,8 +1910,6 @@ public java.lang.String getUnconfirmedComponentTypes(int index) { return unconfirmedComponentTypes_.get(index); } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2185,16 +1925,14 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index) { + public com.google.protobuf.ByteString + getUnconfirmedComponentTypesBytes(int index) { return unconfirmedComponentTypes_.getByteString(index); } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2210,23 +1948,21 @@ public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int inde
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index to set the value at. * @param value The unconfirmedComponentTypes to set. * @return This builder for chaining. */ - public Builder setUnconfirmedComponentTypes(int index, java.lang.String value) { + public Builder setUnconfirmedComponentTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnconfirmedComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2242,22 +1978,20 @@ public Builder setUnconfirmedComponentTypes(int index, java.lang.String value) {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param value The unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addUnconfirmedComponentTypes(java.lang.String value) { + public Builder addUnconfirmedComponentTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnconfirmedComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.add(value); onChanged(); return this; } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2273,19 +2007,18 @@ public Builder addUnconfirmedComponentTypes(java.lang.String value) {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param values The unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addAllUnconfirmedComponentTypes(java.lang.Iterable values) { + public Builder addAllUnconfirmedComponentTypes( + java.lang.Iterable values) { ensureUnconfirmedComponentTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unconfirmedComponentTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unconfirmedComponentTypes_); onChanged(); return this; } /** - * - * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2301,7 +2034,6 @@ public Builder addAllUnconfirmedComponentTypes(java.lang.Iterable
      *
      * repeated string unconfirmed_component_types = 6;
-     *
      * @return This builder for chaining.
      */
     public Builder clearUnconfirmedComponentTypes() {
@@ -2311,8 +2043,6 @@ public Builder clearUnconfirmedComponentTypes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2328,33 +2058,29 @@ public Builder clearUnconfirmedComponentTypes() {
      * 
* * repeated string unconfirmed_component_types = 6; - * * @param value The bytes of the unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addUnconfirmedComponentTypesBytes(com.google.protobuf.ByteString value) { + public Builder addUnconfirmedComponentTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList unresolvedTokens_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unresolvedTokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnresolvedTokensIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { unresolvedTokens_ = new com.google.protobuf.LazyStringArrayList(unresolvedTokens_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2364,15 +2090,13 @@ private void ensureUnresolvedTokensIsMutable() {
      * 
* * repeated string unresolved_tokens = 7; - * * @return A list containing the unresolvedTokens. */ - public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() { + public com.google.protobuf.ProtocolStringList + getUnresolvedTokensList() { return unresolvedTokens_.getUnmodifiableView(); } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2382,15 +2106,12 @@ public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() {
      * 
* * repeated string unresolved_tokens = 7; - * * @return The count of unresolvedTokens. */ public int getUnresolvedTokensCount() { return unresolvedTokens_.size(); } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2400,7 +2121,6 @@ public int getUnresolvedTokensCount() {
      * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ @@ -2408,8 +2128,6 @@ public java.lang.String getUnresolvedTokens(int index) { return unresolvedTokens_.get(index); } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2419,16 +2137,14 @@ public java.lang.String getUnresolvedTokens(int index) {
      * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index) { + public com.google.protobuf.ByteString + getUnresolvedTokensBytes(int index) { return unresolvedTokens_.getByteString(index); } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2438,23 +2154,21 @@ public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index) {
      * 
* * repeated string unresolved_tokens = 7; - * * @param index The index to set the value at. * @param value The unresolvedTokens to set. * @return This builder for chaining. */ - public Builder setUnresolvedTokens(int index, java.lang.String value) { + public Builder setUnresolvedTokens( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnresolvedTokensIsMutable(); + throw new NullPointerException(); + } + ensureUnresolvedTokensIsMutable(); unresolvedTokens_.set(index, value); onChanged(); return this; } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2464,22 +2178,20 @@ public Builder setUnresolvedTokens(int index, java.lang.String value) {
      * 
* * repeated string unresolved_tokens = 7; - * * @param value The unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addUnresolvedTokens(java.lang.String value) { + public Builder addUnresolvedTokens( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnresolvedTokensIsMutable(); + throw new NullPointerException(); + } + ensureUnresolvedTokensIsMutable(); unresolvedTokens_.add(value); onChanged(); return this; } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2489,19 +2201,18 @@ public Builder addUnresolvedTokens(java.lang.String value) {
      * 
* * repeated string unresolved_tokens = 7; - * * @param values The unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addAllUnresolvedTokens(java.lang.Iterable values) { + public Builder addAllUnresolvedTokens( + java.lang.Iterable values) { ensureUnresolvedTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unresolvedTokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unresolvedTokens_); onChanged(); return this; } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2511,7 +2222,6 @@ public Builder addAllUnresolvedTokens(java.lang.Iterable value
      * 
* * repeated string unresolved_tokens = 7; - * * @return This builder for chaining. */ public Builder clearUnresolvedTokens() { @@ -2521,8 +2231,6 @@ public Builder clearUnresolvedTokens() { return this; } /** - * - * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2532,23 +2240,23 @@ public Builder clearUnresolvedTokens() {
      * 
* * repeated string unresolved_tokens = 7; - * * @param value The bytes of the unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addUnresolvedTokensBytes(com.google.protobuf.ByteString value) { + public Builder addUnresolvedTokensBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnresolvedTokensIsMutable(); unresolvedTokens_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2558,12 +2266,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Address) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Address) private static final com.google.maps.addressvalidation.v1.Address DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Address(); } @@ -2572,27 +2280,27 @@ public static com.google.maps.addressvalidation.v1.Address getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Address parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Address parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -2607,4 +2315,6 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.maps.addressvalidation.v1.Address getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java similarity index 71% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java index bdc17ff9d946..d7f03211eb11 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java @@ -1,42 +1,24 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * Represents an address component, such as a street, city, or state.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressComponent} */ -public final class AddressComponent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddressComponent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.AddressComponent) AddressComponentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddressComponent.newBuilder() to construct. private AddressComponent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddressComponent() { componentType_ = ""; confirmationLevel_ = 0; @@ -44,43 +26,39 @@ private AddressComponent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddressComponent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressComponent.class, - com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); + com.google.maps.addressvalidation.v1.AddressComponent.class, com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); } /** - * - * *
    * The different possible values for confirmation levels.
    * 
* * Protobuf enum {@code google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel} */ - public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum ConfirmationLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -89,8 +67,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum */ CONFIRMATION_LEVEL_UNSPECIFIED(0), /** - * - * *
      * We were able to verify that this component exists and makes sense in the
      * context of the rest of the address.
@@ -100,8 +76,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
      */
     CONFIRMED(1),
     /**
-     *
-     *
      * 
      * This component could not be confirmed, but it is plausible that it
      * exists. For example, a street number within a known valid range of
@@ -112,8 +86,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
      */
     UNCONFIRMED_BUT_PLAUSIBLE(2),
     /**
-     *
-     *
      * 
      * This component was not confirmed and is likely to be wrong. For
      * example, a neighborhood that does not fit the rest of the address.
@@ -126,8 +98,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This value is unused.
      * 
@@ -136,8 +106,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int CONFIRMATION_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * We were able to verify that this component exists and makes sense in the
      * context of the rest of the address.
@@ -147,8 +115,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int CONFIRMED_VALUE = 1;
     /**
-     *
-     *
      * 
      * This component could not be confirmed, but it is plausible that it
      * exists. For example, a street number within a known valid range of
@@ -159,8 +125,6 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int UNCONFIRMED_BUT_PLAUSIBLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * This component was not confirmed and is likely to be wrong. For
      * example, a neighborhood that does not fit the rest of the address.
@@ -170,6 +134,7 @@ public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int UNCONFIRMED_AND_SUSPICIOUS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -194,16 +159,11 @@ public static ConfirmationLevel valueOf(int value) {
      */
     public static ConfirmationLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return CONFIRMATION_LEVEL_UNSPECIFIED;
-        case 1:
-          return CONFIRMED;
-        case 2:
-          return UNCONFIRMED_BUT_PLAUSIBLE;
-        case 3:
-          return UNCONFIRMED_AND_SUSPICIOUS;
-        default:
-          return null;
+        case 0: return CONFIRMATION_LEVEL_UNSPECIFIED;
+        case 1: return CONFIRMED;
+        case 2: return UNCONFIRMED_BUT_PLAUSIBLE;
+        case 3: return UNCONFIRMED_AND_SUSPICIOUS;
+        default: return null;
       }
     }
 
@@ -211,31 +171,29 @@ public static ConfirmationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ConfirmationLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ConfirmationLevel findValueByNumber(int number) {
+              return ConfirmationLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ConfirmationLevel findValueByNumber(int number) {
-                return ConfirmationLevel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.maps.addressvalidation.v1.AddressComponent.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.maps.addressvalidation.v1.AddressComponent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ConfirmationLevel[] VALUES = values();
@@ -243,7 +201,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ConfirmationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -263,14 +222,11 @@ private ConfirmationLevel(int value) {
   public static final int COMPONENT_NAME_FIELD_NUMBER = 1;
   private com.google.maps.addressvalidation.v1.ComponentName componentName_;
   /**
-   *
-   *
    * 
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return Whether the componentName field is set. */ @java.lang.Override @@ -278,25 +234,18 @@ public boolean hasComponentName() { return componentName_ != null; } /** - * - * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return The componentName. */ @java.lang.Override public com.google.maps.addressvalidation.v1.ComponentName getComponentName() { - return componentName_ == null - ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() - : componentName_; + return componentName_ == null ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; } /** - * - * *
    * The name for this component.
    * 
@@ -311,8 +260,6 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN public static final int COMPONENT_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object componentType_; /** - * - * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -321,7 +268,6 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN
    * 
* * string component_type = 2; - * * @return The componentType. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getComponentType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentType_ = s; return s; } } /** - * - * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -347,15 +292,16 @@ public java.lang.String getComponentType() {
    * 
* * string component_type = 2; - * * @return The bytes for componentType. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentTypeBytes() { + public com.google.protobuf.ByteString + getComponentTypeBytes() { java.lang.Object ref = componentType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); componentType_ = b; return b; } else { @@ -366,54 +312,35 @@ public com.google.protobuf.ByteString getComponentTypeBytes() { public static final int CONFIRMATION_LEVEL_FIELD_NUMBER = 3; private int confirmationLevel_; /** - * - * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The enum numeric value on the wire for confirmationLevel. */ - @java.lang.Override - public int getConfirmationLevelValue() { + @java.lang.Override public int getConfirmationLevelValue() { return confirmationLevel_; } /** - * - * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The confirmationLevel. */ - @java.lang.Override - public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel - getConfirmationLevel() { + @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf( - confirmationLevel_); - return result == null - ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf(confirmationLevel_); + return result == null ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED : result; } public static final int INFERRED_FIELD_NUMBER = 4; private boolean inferred_; /** - * - * *
    * Indicates that the component was not part of the input, but we
    * inferred it for the address location and believe it should be provided
@@ -421,7 +348,6 @@ public int getConfirmationLevelValue() {
    * 
* * bool inferred = 4; - * * @return The inferred. */ @java.lang.Override @@ -432,8 +358,6 @@ public boolean getInferred() { public static final int SPELL_CORRECTED_FIELD_NUMBER = 5; private boolean spellCorrected_; /** - * - * *
    * Indicates the spelling of the component name was corrected in a minor way,
    * for example by switching two characters that appeared in the wrong order.
@@ -441,7 +365,6 @@ public boolean getInferred() {
    * 
* * bool spell_corrected = 5; - * * @return The spellCorrected. */ @java.lang.Override @@ -452,8 +375,6 @@ public boolean getSpellCorrected() { public static final int REPLACED_FIELD_NUMBER = 6; private boolean replaced_; /** - * - * *
    * Indicates the name of the component was replaced with a completely
    * different one, for example a wrong postal code being replaced with one that
@@ -462,7 +383,6 @@ public boolean getSpellCorrected() {
    * 
* * bool replaced = 6; - * * @return The replaced. */ @java.lang.Override @@ -473,8 +393,6 @@ public boolean getReplaced() { public static final int UNEXPECTED_FIELD_NUMBER = 7; private boolean unexpected_; /** - * - * *
    * Indicates an address component that is not expected to be present in a
    * postal address for the given region. We have retained it only because it
@@ -482,7 +400,6 @@ public boolean getReplaced() {
    * 
* * bool unexpected = 7; - * * @return The unexpected. */ @java.lang.Override @@ -491,7 +408,6 @@ public boolean getUnexpected() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -503,17 +419,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (componentName_ != null) { output.writeMessage(1, getComponentName()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, componentType_); } - if (confirmationLevel_ - != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel - .CONFIRMATION_LEVEL_UNSPECIFIED - .getNumber()) { + if (confirmationLevel_ != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMATION_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(3, confirmationLevel_); } if (inferred_ != false) { @@ -538,28 +452,31 @@ public int getSerializedSize() { size = 0; if (componentName_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getComponentName()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, componentType_); } - if (confirmationLevel_ - != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel - .CONFIRMATION_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, confirmationLevel_); + if (confirmationLevel_ != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMATION_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, confirmationLevel_); } if (inferred_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, inferred_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, inferred_); } if (spellCorrected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, spellCorrected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, spellCorrected_); } if (replaced_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, replaced_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, replaced_); } if (unexpected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, unexpected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, unexpected_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -569,24 +486,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.AddressComponent)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.AddressComponent other = - (com.google.maps.addressvalidation.v1.AddressComponent) obj; + com.google.maps.addressvalidation.v1.AddressComponent other = (com.google.maps.addressvalidation.v1.AddressComponent) obj; if (hasComponentName() != other.hasComponentName()) return false; if (hasComponentName()) { - if (!getComponentName().equals(other.getComponentName())) return false; + if (!getComponentName() + .equals(other.getComponentName())) return false; } - if (!getComponentType().equals(other.getComponentType())) return false; + if (!getComponentType() + .equals(other.getComponentType())) return false; if (confirmationLevel_ != other.confirmationLevel_) return false; - if (getInferred() != other.getInferred()) return false; - if (getSpellCorrected() != other.getSpellCorrected()) return false; - if (getReplaced() != other.getReplaced()) return false; - if (getUnexpected() != other.getUnexpected()) return false; + if (getInferred() + != other.getInferred()) return false; + if (getSpellCorrected() + != other.getSpellCorrected()) return false; + if (getReplaced() + != other.getReplaced()) return false; + if (getUnexpected() + != other.getUnexpected()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -607,149 +529,146 @@ public int hashCode() { hash = (37 * hash) + CONFIRMATION_LEVEL_FIELD_NUMBER; hash = (53 * hash) + confirmationLevel_; hash = (37 * hash) + INFERRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInferred()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInferred()); hash = (37 * hash) + SPELL_CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpellCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSpellCorrected()); hash = (37 * hash) + REPLACED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReplaced()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReplaced()); hash = (37 * hash) + UNEXPECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUnexpected()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.maps.addressvalidation.v1.AddressComponent prototype) { + public static Builder newBuilder(com.google.maps.addressvalidation.v1.AddressComponent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an address component, such as a street, city, or state.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressComponent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.AddressComponent) com.google.maps.addressvalidation.v1.AddressComponentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressComponent.class, - com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); + com.google.maps.addressvalidation.v1.AddressComponent.class, com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.AddressComponent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -775,9 +694,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override @@ -796,8 +715,7 @@ public com.google.maps.addressvalidation.v1.AddressComponent build() { @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent buildPartial() { - com.google.maps.addressvalidation.v1.AddressComponent result = - new com.google.maps.addressvalidation.v1.AddressComponent(this); + com.google.maps.addressvalidation.v1.AddressComponent result = new com.google.maps.addressvalidation.v1.AddressComponent(this); if (componentNameBuilder_ == null) { result.componentName_ = componentName_; } else { @@ -817,39 +735,38 @@ public com.google.maps.addressvalidation.v1.AddressComponent buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.AddressComponent) { - return mergeFrom((com.google.maps.addressvalidation.v1.AddressComponent) other); + return mergeFrom((com.google.maps.addressvalidation.v1.AddressComponent)other); } else { super.mergeFrom(other); return this; @@ -857,8 +774,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.AddressComponent other) { - if (other == com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()) return this; if (other.hasComponentName()) { mergeComponentName(other.getComponentName()); } @@ -907,55 +823,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentNameFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - componentType_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - confirmationLevel_ = input.readEnum(); - - break; - } // case 24 - case 32: - { - inferred_ = input.readBool(); - - break; - } // case 32 - case 40: - { - spellCorrected_ = input.readBool(); - - break; - } // case 40 - case 48: - { - replaced_ = input.readBool(); - - break; - } // case 48 - case 56: - { - unexpected_ = input.readBool(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentNameFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + componentType_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + confirmationLevel_ = input.readEnum(); + + break; + } // case 24 + case 32: { + inferred_ = input.readBool(); + + break; + } // case 32 + case 40: { + spellCorrected_ = input.readBool(); + + break; + } // case 40 + case 48: { + replaced_ = input.readBool(); + + break; + } // case 48 + case 56: { + unexpected_ = input.readBool(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -968,47 +878,34 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.ComponentName componentName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, - com.google.maps.addressvalidation.v1.ComponentName.Builder, - com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> - componentNameBuilder_; + com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> componentNameBuilder_; /** - * - * *
      * The name for this component.
      * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return Whether the componentName field is set. */ public boolean hasComponentName() { return componentNameBuilder_ != null || componentName_ != null; } /** - * - * *
      * The name for this component.
      * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return The componentName. */ public com.google.maps.addressvalidation.v1.ComponentName getComponentName() { if (componentNameBuilder_ == null) { - return componentName_ == null - ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() - : componentName_; + return componentName_ == null ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; } else { return componentNameBuilder_.getMessage(); } } /** - * - * *
      * The name for this component.
      * 
@@ -1029,8 +926,6 @@ public Builder setComponentName(com.google.maps.addressvalidation.v1.ComponentNa return this; } /** - * - * *
      * The name for this component.
      * 
@@ -1049,8 +944,6 @@ public Builder setComponentName( return this; } /** - * - * *
      * The name for this component.
      * 
@@ -1061,9 +954,7 @@ public Builder mergeComponentName(com.google.maps.addressvalidation.v1.Component if (componentNameBuilder_ == null) { if (componentName_ != null) { componentName_ = - com.google.maps.addressvalidation.v1.ComponentName.newBuilder(componentName_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.ComponentName.newBuilder(componentName_).mergeFrom(value).buildPartial(); } else { componentName_ = value; } @@ -1075,8 +966,6 @@ public Builder mergeComponentName(com.google.maps.addressvalidation.v1.Component return this; } /** - * - * *
      * The name for this component.
      * 
@@ -1095,8 +984,6 @@ public Builder clearComponentName() { return this; } /** - * - * *
      * The name for this component.
      * 
@@ -1104,13 +991,11 @@ public Builder clearComponentName() { * .google.maps.addressvalidation.v1.ComponentName component_name = 1; */ public com.google.maps.addressvalidation.v1.ComponentName.Builder getComponentNameBuilder() { - + onChanged(); return getComponentNameFieldBuilder().getBuilder(); } /** - * - * *
      * The name for this component.
      * 
@@ -1121,14 +1006,11 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN if (componentNameBuilder_ != null) { return componentNameBuilder_.getMessageOrBuilder(); } else { - return componentName_ == null - ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() - : componentName_; + return componentName_ == null ? + com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; } } /** - * - * *
      * The name for this component.
      * 
@@ -1136,17 +1018,14 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN * .google.maps.addressvalidation.v1.ComponentName component_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, - com.google.maps.addressvalidation.v1.ComponentName.Builder, - com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> + com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> getComponentNameFieldBuilder() { if (componentNameBuilder_ == null) { - componentNameBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, - com.google.maps.addressvalidation.v1.ComponentName.Builder, - com.google.maps.addressvalidation.v1.ComponentNameOrBuilder>( - getComponentName(), getParentForChildren(), isClean()); + componentNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder>( + getComponentName(), + getParentForChildren(), + isClean()); componentName_ = null; } return componentNameBuilder_; @@ -1154,8 +1033,6 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN private java.lang.Object componentType_ = ""; /** - * - * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1164,13 +1041,13 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN
      * 
* * string component_type = 2; - * * @return The componentType. */ public java.lang.String getComponentType() { java.lang.Object ref = componentType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentType_ = s; return s; @@ -1179,8 +1056,6 @@ public java.lang.String getComponentType() { } } /** - * - * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1189,14 +1064,15 @@ public java.lang.String getComponentType() {
      * 
* * string component_type = 2; - * * @return The bytes for componentType. */ - public com.google.protobuf.ByteString getComponentTypeBytes() { + public com.google.protobuf.ByteString + getComponentTypeBytes() { java.lang.Object ref = componentType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); componentType_ = b; return b; } else { @@ -1204,8 +1080,6 @@ public com.google.protobuf.ByteString getComponentTypeBytes() { } } /** - * - * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1214,22 +1088,20 @@ public com.google.protobuf.ByteString getComponentTypeBytes() {
      * 
* * string component_type = 2; - * * @param value The componentType to set. * @return This builder for chaining. */ - public Builder setComponentType(java.lang.String value) { + public Builder setComponentType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + componentType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1238,18 +1110,15 @@ public Builder setComponentType(java.lang.String value) {
      * 
* * string component_type = 2; - * * @return This builder for chaining. */ public Builder clearComponentType() { - + componentType_ = getDefaultInstance().getComponentType(); onChanged(); return this; } /** - * - * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1258,16 +1127,16 @@ public Builder clearComponentType() {
      * 
* * string component_type = 2; - * * @param value The bytes for componentType to set. * @return This builder for chaining. */ - public Builder setComponentTypeBytes(com.google.protobuf.ByteString value) { + public Builder setComponentTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + componentType_ = value; onChanged(); return this; @@ -1275,119 +1144,85 @@ public Builder setComponentTypeBytes(com.google.protobuf.ByteString value) { private int confirmationLevel_ = 0; /** - * - * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The enum numeric value on the wire for confirmationLevel. */ - @java.lang.Override - public int getConfirmationLevelValue() { + @java.lang.Override public int getConfirmationLevelValue() { return confirmationLevel_; } /** - * - * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @param value The enum numeric value on the wire for confirmationLevel to set. * @return This builder for chaining. */ public Builder setConfirmationLevelValue(int value) { - + confirmationLevel_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The confirmationLevel. */ @java.lang.Override - public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel - getConfirmationLevel() { + public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf( - confirmationLevel_); - return result == null - ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf(confirmationLevel_); + return result == null ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED : result; } /** - * - * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @param value The confirmationLevel to set. * @return This builder for chaining. */ - public Builder setConfirmationLevel( - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel value) { + public Builder setConfirmationLevel(com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel value) { if (value == null) { throw new NullPointerException(); } - + confirmationLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return This builder for chaining. */ public Builder clearConfirmationLevel() { - + confirmationLevel_ = 0; onChanged(); return this; } - private boolean inferred_; + private boolean inferred_ ; /** - * - * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1395,7 +1230,6 @@ public Builder clearConfirmationLevel() {
      * 
* * bool inferred = 4; - * * @return The inferred. */ @java.lang.Override @@ -1403,8 +1237,6 @@ public boolean getInferred() { return inferred_; } /** - * - * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1412,19 +1244,16 @@ public boolean getInferred() {
      * 
* * bool inferred = 4; - * * @param value The inferred to set. * @return This builder for chaining. */ public Builder setInferred(boolean value) { - + inferred_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1432,20 +1261,17 @@ public Builder setInferred(boolean value) {
      * 
* * bool inferred = 4; - * * @return This builder for chaining. */ public Builder clearInferred() { - + inferred_ = false; onChanged(); return this; } - private boolean spellCorrected_; + private boolean spellCorrected_ ; /** - * - * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1453,7 +1279,6 @@ public Builder clearInferred() {
      * 
* * bool spell_corrected = 5; - * * @return The spellCorrected. */ @java.lang.Override @@ -1461,8 +1286,6 @@ public boolean getSpellCorrected() { return spellCorrected_; } /** - * - * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1470,19 +1293,16 @@ public boolean getSpellCorrected() {
      * 
* * bool spell_corrected = 5; - * * @param value The spellCorrected to set. * @return This builder for chaining. */ public Builder setSpellCorrected(boolean value) { - + spellCorrected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1490,20 +1310,17 @@ public Builder setSpellCorrected(boolean value) {
      * 
* * bool spell_corrected = 5; - * * @return This builder for chaining. */ public Builder clearSpellCorrected() { - + spellCorrected_ = false; onChanged(); return this; } - private boolean replaced_; + private boolean replaced_ ; /** - * - * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1512,7 +1329,6 @@ public Builder clearSpellCorrected() {
      * 
* * bool replaced = 6; - * * @return The replaced. */ @java.lang.Override @@ -1520,8 +1336,6 @@ public boolean getReplaced() { return replaced_; } /** - * - * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1530,19 +1344,16 @@ public boolean getReplaced() {
      * 
* * bool replaced = 6; - * * @param value The replaced to set. * @return This builder for chaining. */ public Builder setReplaced(boolean value) { - + replaced_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1551,20 +1362,17 @@ public Builder setReplaced(boolean value) {
      * 
* * bool replaced = 6; - * * @return This builder for chaining. */ public Builder clearReplaced() { - + replaced_ = false; onChanged(); return this; } - private boolean unexpected_; + private boolean unexpected_ ; /** - * - * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1572,7 +1380,6 @@ public Builder clearReplaced() {
      * 
* * bool unexpected = 7; - * * @return The unexpected. */ @java.lang.Override @@ -1580,8 +1387,6 @@ public boolean getUnexpected() { return unexpected_; } /** - * - * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1589,19 +1394,16 @@ public boolean getUnexpected() {
      * 
* * bool unexpected = 7; - * * @param value The unexpected to set. * @return This builder for chaining. */ public Builder setUnexpected(boolean value) { - + unexpected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1609,18 +1411,17 @@ public Builder setUnexpected(boolean value) {
      * 
* * bool unexpected = 7; - * * @return This builder for chaining. */ public Builder clearUnexpected() { - + unexpected_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1630,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.AddressComponent) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.AddressComponent) private static final com.google.maps.addressvalidation.v1.AddressComponent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.AddressComponent(); } @@ -1644,27 +1445,27 @@ public static com.google.maps.addressvalidation.v1.AddressComponent getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddressComponent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddressComponent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1679,4 +1480,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.AddressComponent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java similarity index 76% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java index 9200a86ca4f8..bd571e7ff2dd 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; -public interface AddressComponentOrBuilder - extends +public interface AddressComponentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.AddressComponent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return Whether the componentName field is set. */ boolean hasComponentName(); /** - * - * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; - * * @return The componentName. */ com.google.maps.addressvalidation.v1.ComponentName getComponentName(); /** - * - * *
    * The name for this component.
    * 
@@ -59,8 +35,6 @@ public interface AddressComponentOrBuilder com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentNameOrBuilder(); /** - * - * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -69,13 +43,10 @@ public interface AddressComponentOrBuilder
    * 
* * string component_type = 2; - * * @return The componentType. */ java.lang.String getComponentType(); /** - * - * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -84,45 +55,33 @@ public interface AddressComponentOrBuilder
    * 
* * string component_type = 2; - * * @return The bytes for componentType. */ - com.google.protobuf.ByteString getComponentTypeBytes(); + com.google.protobuf.ByteString + getComponentTypeBytes(); /** - * - * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The enum numeric value on the wire for confirmationLevel. */ int getConfirmationLevelValue(); /** - * - * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; - * - * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; * @return The confirmationLevel. */ com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel(); /** - * - * *
    * Indicates that the component was not part of the input, but we
    * inferred it for the address location and believe it should be provided
@@ -130,14 +89,11 @@ public interface AddressComponentOrBuilder
    * 
* * bool inferred = 4; - * * @return The inferred. */ boolean getInferred(); /** - * - * *
    * Indicates the spelling of the component name was corrected in a minor way,
    * for example by switching two characters that appeared in the wrong order.
@@ -145,14 +101,11 @@ public interface AddressComponentOrBuilder
    * 
* * bool spell_corrected = 5; - * * @return The spellCorrected. */ boolean getSpellCorrected(); /** - * - * *
    * Indicates the name of the component was replaced with a completely
    * different one, for example a wrong postal code being replaced with one that
@@ -161,14 +114,11 @@ public interface AddressComponentOrBuilder
    * 
* * bool replaced = 6; - * * @return The replaced. */ boolean getReplaced(); /** - * - * *
    * Indicates an address component that is not expected to be present in a
    * postal address for the given region. We have retained it only because it
@@ -176,7 +126,6 @@ public interface AddressComponentOrBuilder
    * 
* * bool unexpected = 7; - * * @return The unexpected. */ boolean getUnexpected(); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java similarity index 71% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java index 9d96d597c831..a8f4167b787a 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java @@ -1,83 +1,62 @@ -/* - * 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/metadata.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * The metadata for the address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressMetadata} */ -public final class AddressMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddressMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.AddressMetadata) AddressMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddressMetadata.newBuilder() to construct. private AddressMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AddressMetadata() {} + private AddressMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddressMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.MetadataProto - .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.MetadataProto - .internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable + return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressMetadata.class, - com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); + com.google.maps.addressvalidation.v1.AddressMetadata.class, com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); } private int bitField0_; public static final int BUSINESS_FIELD_NUMBER = 2; private boolean business_; /** - * - * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; - * * @return Whether the business field is set. */ @java.lang.Override @@ -85,15 +64,12 @@ public boolean hasBusiness() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; - * * @return The business. */ @java.lang.Override @@ -104,15 +80,12 @@ public boolean getBusiness() { public static final int PO_BOX_FIELD_NUMBER = 3; private boolean poBox_; /** - * - * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; - * * @return Whether the poBox field is set. */ @java.lang.Override @@ -120,15 +93,12 @@ public boolean hasPoBox() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; - * * @return The poBox. */ @java.lang.Override @@ -139,15 +109,12 @@ public boolean getPoBox() { public static final int RESIDENTIAL_FIELD_NUMBER = 6; private boolean residential_; /** - * - * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; - * * @return Whether the residential field is set. */ @java.lang.Override @@ -155,15 +122,12 @@ public boolean hasResidential() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; - * * @return The residential. */ @java.lang.Override @@ -172,7 +136,6 @@ public boolean getResidential() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, business_); } @@ -204,13 +168,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, business_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, business_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, poBox_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, poBox_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, residential_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, residential_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,25 +187,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.AddressMetadata)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.AddressMetadata other = - (com.google.maps.addressvalidation.v1.AddressMetadata) obj; + com.google.maps.addressvalidation.v1.AddressMetadata other = (com.google.maps.addressvalidation.v1.AddressMetadata) obj; if (hasBusiness() != other.hasBusiness()) return false; if (hasBusiness()) { - if (getBusiness() != other.getBusiness()) return false; + if (getBusiness() + != other.getBusiness()) return false; } if (hasPoBox() != other.hasPoBox()) return false; if (hasPoBox()) { - if (getPoBox() != other.getPoBox()) return false; + if (getPoBox() + != other.getPoBox()) return false; } if (hasResidential() != other.hasResidential()) return false; if (hasResidential()) { - if (getResidential() != other.getResidential()) return false; + if (getResidential() + != other.getResidential()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,15 +222,18 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasBusiness()) { hash = (37 * hash) + BUSINESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBusiness()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBusiness()); } if (hasPoBox()) { hash = (37 * hash) + PO_BOX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBox()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPoBox()); } if (hasResidential()) { hash = (37 * hash) + RESIDENTIAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResidential()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResidential()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -269,135 +241,129 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.AddressMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.AddressMetadata) com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.MetadataProto - .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.MetadataProto - .internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable + return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressMetadata.class, - com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); + com.google.maps.addressvalidation.v1.AddressMetadata.class, com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.MetadataProto - .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override @@ -432,8 +398,7 @@ public com.google.maps.addressvalidation.v1.AddressMetadata build() { @java.lang.Override public com.google.maps.addressvalidation.v1.AddressMetadata buildPartial() { - com.google.maps.addressvalidation.v1.AddressMetadata result = - new com.google.maps.addressvalidation.v1.AddressMetadata(this); + com.google.maps.addressvalidation.v1.AddressMetadata result = new com.google.maps.addressvalidation.v1.AddressMetadata(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -457,39 +422,38 @@ public com.google.maps.addressvalidation.v1.AddressMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.AddressMetadata) { - return mergeFrom((com.google.maps.addressvalidation.v1.AddressMetadata) other); + return mergeFrom((com.google.maps.addressvalidation.v1.AddressMetadata)other); } else { super.mergeFrom(other); return this; @@ -497,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.AddressMetadata other) { - if (other == com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance()) return this; if (other.hasBusiness()) { setBusiness(other.getBusiness()); } @@ -534,31 +497,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - business_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - poBox_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 48: - { - residential_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + business_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + poBox_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 48: { + residential_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,20 +527,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean business_; + private boolean business_ ; /** - * - * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; - * * @return Whether the business field is set. */ @java.lang.Override @@ -589,15 +544,12 @@ public boolean hasBusiness() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; - * * @return The business. */ @java.lang.Override @@ -605,15 +557,12 @@ public boolean getBusiness() { return business_; } /** - * - * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; - * * @param value The business to set. * @return This builder for chaining. */ @@ -624,15 +573,12 @@ public Builder setBusiness(boolean value) { return this; } /** - * - * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; - * * @return This builder for chaining. */ public Builder clearBusiness() { @@ -642,17 +588,14 @@ public Builder clearBusiness() { return this; } - private boolean poBox_; + private boolean poBox_ ; /** - * - * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; - * * @return Whether the poBox field is set. */ @java.lang.Override @@ -660,15 +603,12 @@ public boolean hasPoBox() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; - * * @return The poBox. */ @java.lang.Override @@ -676,15 +616,12 @@ public boolean getPoBox() { return poBox_; } /** - * - * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; - * * @param value The poBox to set. * @return This builder for chaining. */ @@ -695,15 +632,12 @@ public Builder setPoBox(boolean value) { return this; } /** - * - * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; - * * @return This builder for chaining. */ public Builder clearPoBox() { @@ -713,17 +647,14 @@ public Builder clearPoBox() { return this; } - private boolean residential_; + private boolean residential_ ; /** - * - * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; - * * @return Whether the residential field is set. */ @java.lang.Override @@ -731,15 +662,12 @@ public boolean hasResidential() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; - * * @return The residential. */ @java.lang.Override @@ -747,15 +675,12 @@ public boolean getResidential() { return residential_; } /** - * - * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; - * * @param value The residential to set. * @return This builder for chaining. */ @@ -766,15 +691,12 @@ public Builder setResidential(boolean value) { return this; } /** - * - * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; - * * @return This builder for chaining. */ public Builder clearResidential() { @@ -783,9 +705,9 @@ public Builder clearResidential() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +717,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.AddressMetadata) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.AddressMetadata) private static final com.google.maps.addressvalidation.v1.AddressMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.AddressMetadata(); } @@ -809,27 +731,27 @@ public static com.google.maps.addressvalidation.v1.AddressMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddressMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddressMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,4 +766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.AddressMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java similarity index 71% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java index 2d2127d0b095..c78f05b50fa3 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java @@ -1,105 +1,71 @@ -/* - * 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/metadata.proto package com.google.maps.addressvalidation.v1; -public interface AddressMetadataOrBuilder - extends +public interface AddressMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.AddressMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; - * * @return Whether the business field is set. */ boolean hasBusiness(); /** - * - * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; - * * @return The business. */ boolean getBusiness(); /** - * - * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; - * * @return Whether the poBox field is set. */ boolean hasPoBox(); /** - * - * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; - * * @return The poBox. */ boolean getPoBox(); /** - * - * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; - * * @return Whether the residential field is set. */ boolean hasResidential(); /** - * - * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; - * * @return The residential. */ boolean getResidential(); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java similarity index 85% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java index e8977550f9ec..62c0835d9f5f 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java @@ -1,82 +1,53 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; -public interface AddressOrBuilder - extends +public interface AddressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Address) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; - * * @return The formattedAddress. */ java.lang.String getFormattedAddress(); /** - * - * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; - * * @return The bytes for formattedAddress. */ - com.google.protobuf.ByteString getFormattedAddressBytes(); + com.google.protobuf.ByteString + getFormattedAddressBytes(); /** - * - * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; - * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; - * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
    * The validated address represented as a postal address.
    * 
@@ -86,8 +57,6 @@ public interface AddressOrBuilder com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -96,14 +65,11 @@ public interface AddressOrBuilder
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - java.util.List getAddressComponentsList(); + java.util.List + getAddressComponentsList(); /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -112,14 +78,10 @@ public interface AddressOrBuilder
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index); /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -128,14 +90,10 @@ public interface AddressOrBuilder
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ int getAddressComponentsCount(); /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -144,15 +102,11 @@ public interface AddressOrBuilder
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ - java.util.List + java.util.List getAddressComponentsOrBuilderList(); /** - * - * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -161,16 +115,12 @@ public interface AddressOrBuilder
    * assumptions on the ordering of the address components in the list.
    * 
* - * - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; */ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( int index); /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -182,13 +132,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; - * * @return A list containing the missingComponentTypes. */ - java.util.List getMissingComponentTypesList(); + java.util.List + getMissingComponentTypesList(); /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -200,13 +148,10 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; - * * @return The count of missingComponentTypes. */ int getMissingComponentTypesCount(); /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -218,14 +163,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; - * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ java.lang.String getMissingComponentTypes(int index); /** - * - * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -237,15 +179,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; - * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - com.google.protobuf.ByteString getMissingComponentTypesBytes(int index); + com.google.protobuf.ByteString + getMissingComponentTypesBytes(int index); /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -261,13 +201,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; - * * @return A list containing the unconfirmedComponentTypes. */ - java.util.List getUnconfirmedComponentTypesList(); + java.util.List + getUnconfirmedComponentTypesList(); /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -283,13 +221,10 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; - * * @return The count of unconfirmedComponentTypes. */ int getUnconfirmedComponentTypesCount(); /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -305,14 +240,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ java.lang.String getUnconfirmedComponentTypes(int index); /** - * - * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -328,15 +260,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; - * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index); + com.google.protobuf.ByteString + getUnconfirmedComponentTypesBytes(int index); /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -346,13 +276,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; - * * @return A list containing the unresolvedTokens. */ - java.util.List getUnresolvedTokensList(); + java.util.List + getUnresolvedTokensList(); /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -362,13 +290,10 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; - * * @return The count of unresolvedTokens. */ int getUnresolvedTokensCount(); /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -378,14 +303,11 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ java.lang.String getUnresolvedTokens(int index); /** - * - * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -395,9 +317,9 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; - * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - com.google.protobuf.ByteString getUnresolvedTokensBytes(int index); + com.google.protobuf.ByteString + getUnresolvedTokensBytes(int index); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java new file mode 100644 index 000000000000..da8833ef6774 --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java @@ -0,0 +1,106 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/addressvalidation/v1/address.proto + +package com.google.maps.addressvalidation.v1; + +public final class AddressProto { + private AddressProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Address_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/maps/addressvalidation/v1/addre" + + "ss.proto\022 google.maps.addressvalidation." + + "v1\032\037google/api/field_behavior.proto\032 goo" + + "gle/type/postal_address.proto\"\216\002\n\007Addres" + + "s\022\031\n\021formatted_address\030\002 \001(\t\0222\n\016postal_a" + + "ddress\030\003 \001(\0132\032.google.type.PostalAddress" + + "\022S\n\022address_components\030\004 \003(\01322.google.ma" + + "ps.addressvalidation.v1.AddressComponent" + + "B\003\340A\006\022\037\n\027missing_component_types\030\005 \003(\t\022#" + + "\n\033unconfirmed_component_types\030\006 \003(\t\022\031\n\021u" + + "nresolved_tokens\030\007 \003(\t\"\256\003\n\020AddressCompon" + + "ent\022G\n\016component_name\030\001 \001(\0132/.google.map" + + "s.addressvalidation.v1.ComponentName\022\026\n\016" + + "component_type\030\002 \001(\t\022`\n\022confirmation_lev" + + "el\030\003 \001(\0162D.google.maps.addressvalidation" + + ".v1.AddressComponent.ConfirmationLevel\022\020" + + "\n\010inferred\030\004 \001(\010\022\027\n\017spell_corrected\030\005 \001(" + + "\010\022\020\n\010replaced\030\006 \001(\010\022\022\n\nunexpected\030\007 \001(\010\"" + + "\205\001\n\021ConfirmationLevel\022\"\n\036CONFIRMATION_LE" + + "VEL_UNSPECIFIED\020\000\022\r\n\tCONFIRMED\020\001\022\035\n\031UNCO" + + "NFIRMED_BUT_PLAUSIBLE\020\002\022\036\n\032UNCONFIRMED_A" + + "ND_SUSPICIOUS\020\003\"4\n\rComponentName\022\014\n\004text" + + "\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\202\002\n$com.go" + + "ogle.maps.addressvalidation.v1B\014AddressP" + + "rotoP\001ZQgoogle.golang.org/genproto/googl" + + "eapis/maps/addressvalidation/v1;addressv" + + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + + "ressValidation.V1\312\002 Google\\Maps\\AddressV" + + "alidation\\V1\352\002#Google::Maps::AddressVali" + + "dation::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_Address_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Address_descriptor, + new java.lang.String[] { "FormattedAddress", "PostalAddress", "AddressComponents", "MissingComponentTypes", "UnconfirmedComponentTypes", "UnresolvedTokens", }); + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor, + new java.lang.String[] { "ComponentName", "ComponentType", "ConfirmationLevel", "Inferred", "SpellCorrected", "Replaced", "Unexpected", }); + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor, + new java.lang.String[] { "Text", "LanguageCode", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java new file mode 100644 index 000000000000..32bfc89f14e1 --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java @@ -0,0 +1,189 @@ +// 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 final class AddressValidationServiceProto { + private AddressValidationServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nAgoogle/maps/addressvalidation/v1/addre" + + "ss_validation_service.proto\022 google.maps" + + ".addressvalidation.v1\032\034google/api/annota" + + "tions.proto\032\027google/api/client.proto\032\037go" + + "ogle/api/field_behavior.proto\032.google/ma" + + "ps/addressvalidation/v1/address.proto\032.g" + + "oogle/maps/addressvalidation/v1/geocode." + + "proto\032/google/maps/addressvalidation/v1/" + + "metadata.proto\0320google/maps/addressvalid" + + "ation/v1/usps_data.proto\032 google/type/po" + + "stal_address.proto\"\202\001\n\026ValidateAddressRe" + + "quest\0220\n\007address\030\001 \001(\0132\032.google.type.Pos" + + "talAddressB\003\340A\002\022\034\n\024previous_response_id\030" + + "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\"r\n\027Valid" + + "ateAddressResponse\022B\n\006result\030\001 \001(\01322.goo" + + "gle.maps.addressvalidation.v1.Validation" + + "Result\022\023\n\013response_id\030\002 \001(\t\"\313\002\n ProvideV" + + "alidationFeedbackRequest\022p\n\nconclusion\030\001" + + " \001(\0162W.google.maps.addressvalidation.v1." + + "ProvideValidationFeedbackRequest.Validat" + + "ionConclusionB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB" + + "\003\340A\002\"\232\001\n\024ValidationConclusion\022%\n!VALIDAT" + + "ION_CONCLUSION_UNSPECIFIED\020\000\022\032\n\026VALIDATE" + + "D_VERSION_USED\020\001\022\025\n\021USER_VERSION_USED\020\002\022" + + "\034\n\030UNVALIDATED_VERSION_USED\020\003\022\n\n\006UNUSED\020" + + "\004\"#\n!ProvideValidationFeedbackResponse\"\312" + + "\002\n\020ValidationResult\022:\n\007verdict\030\001 \001(\0132).g" + + "oogle.maps.addressvalidation.v1.Verdict\022" + + ":\n\007address\030\002 \001(\0132).google.maps.addressva" + + "lidation.v1.Address\022:\n\007geocode\030\003 \001(\0132).g" + + "oogle.maps.addressvalidation.v1.Geocode\022" + + "C\n\010metadata\030\004 \001(\01321.google.maps.addressv" + + "alidation.v1.AddressMetadata\022=\n\tusps_dat" + + "a\030\005 \001(\0132*.google.maps.addressvalidation." + + "v1.UspsData\"\211\004\n\007Verdict\022P\n\021input_granula" + + "rity\030\001 \001(\01625.google.maps.addressvalidati" + + "on.v1.Verdict.Granularity\022U\n\026validation_" + + "granularity\030\002 \001(\01625.google.maps.addressv" + + "alidation.v1.Verdict.Granularity\022R\n\023geoc" + + "ode_granularity\030\003 \001(\01625.google.maps.addr" + + "essvalidation.v1.Verdict.Granularity\022\030\n\020" + + "address_complete\030\004 \001(\010\022\"\n\032has_unconfirme" + + "d_components\030\005 \001(\010\022\037\n\027has_inferred_compo" + + "nents\030\006 \001(\010\022\037\n\027has_replaced_components\030\007" + + " \001(\010\"\200\001\n\013Granularity\022\033\n\027GRANULARITY_UNSP" + + "ECIFIED\020\000\022\017\n\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022" + + "\025\n\021PREMISE_PROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROU" + + "TE\020\005\022\t\n\005OTHER\020\0062\262\003\n\021AddressValidation\022\246\001" + + "\n\017ValidateAddress\0228.google.maps.addressv" + + "alidation.v1.ValidateAddressRequest\0329.go" + + "ogle.maps.addressvalidation.v1.ValidateA" + + "ddressResponse\"\036\202\323\344\223\002\030\"\023/v1:validateAddr" + + "ess:\001*\022\316\001\n\031ProvideValidationFeedback\022B.g" + + "oogle.maps.addressvalidation.v1.ProvideV" + + "alidationFeedbackRequest\032C.google.maps.a" + + "ddressvalidation.v1.ProvideValidationFee" + + "dbackResponse\"(\202\323\344\223\002\"\"\035/v1:provideValida" + + "tionFeedback:\001*\032#\312A addressvalidation.go" + + "ogleapis.comB\223\002\n$com.google.maps.address" + + "validation.v1B\035AddressValidationServiceP" + + "rotoP\001ZQgoogle.golang.org/genproto/googl" + + "eapis/maps/addressvalidation/v1;addressv" + + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + + "ressValidation.V1\312\002 Google\\Maps\\AddressV" + + "alidation\\V1\352\002#Google::Maps::AddressVali" + + "dation::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(), + com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(), + com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(), + com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor, + new java.lang.String[] { "Address", "PreviousResponseId", "EnableUspsCass", }); + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor, + new java.lang.String[] { "Result", "ResponseId", }); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor, + new java.lang.String[] { "Conclusion", "ResponseId", }); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor, + new java.lang.String[] { "Verdict", "Address", "Geocode", "Metadata", "UspsData", }); + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor, + new java.lang.String[] { "InputGranularity", "ValidationGranularity", "GeocodeGranularity", "AddressComplete", "HasUnconfirmedComponents", "HasInferredComponents", "HasReplacedComponents", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(); + com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(); + com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(); + com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java similarity index 68% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java index 936471c8da85..1f3b869c46be 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java @@ -1,42 +1,24 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * A wrapper for the name of the component.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ComponentName} */ -public final class ComponentName extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComponentName extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ComponentName) ComponentNameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComponentName.newBuilder() to construct. private ComponentName(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComponentName() { text_ = ""; languageCode_ = ""; @@ -44,42 +26,38 @@ private ComponentName() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComponentName(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ComponentName.class, - com.google.maps.addressvalidation.v1.ComponentName.Builder.class); + com.google.maps.addressvalidation.v1.ComponentName.class, com.google.maps.addressvalidation.v1.ComponentName.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** - * - * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -88,30 +66,30 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -122,15 +100,12 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** - * - * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; - * * @return The languageCode. */ @java.lang.Override @@ -139,30 +114,30 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -171,7 +146,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -213,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ComponentName)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ComponentName other = - (com.google.maps.addressvalidation.v1.ComponentName) obj; + com.google.maps.addressvalidation.v1.ComponentName other = (com.google.maps.addressvalidation.v1.ComponentName) obj; - if (!getText().equals(other.getText())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getText() + .equals(other.getText())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,135 +220,129 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.ComponentName prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A wrapper for the name of the component.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ComponentName} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ComponentName) com.google.maps.addressvalidation.v1.ComponentNameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ComponentName.class, - com.google.maps.addressvalidation.v1.ComponentName.Builder.class); + com.google.maps.addressvalidation.v1.ComponentName.class, com.google.maps.addressvalidation.v1.ComponentName.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ComponentName.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto - .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override @@ -405,8 +375,7 @@ public com.google.maps.addressvalidation.v1.ComponentName build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ComponentName buildPartial() { - com.google.maps.addressvalidation.v1.ComponentName result = - new com.google.maps.addressvalidation.v1.ComponentName(this); + com.google.maps.addressvalidation.v1.ComponentName result = new com.google.maps.addressvalidation.v1.ComponentName(this); result.text_ = text_; result.languageCode_ = languageCode_; onBuilt(); @@ -417,39 +386,38 @@ public com.google.maps.addressvalidation.v1.ComponentName buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ComponentName) { - return mergeFrom((com.google.maps.addressvalidation.v1.ComponentName) other); + return mergeFrom((com.google.maps.addressvalidation.v1.ComponentName)other); } else { super.mergeFrom(other); return this; @@ -457,8 +425,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ComponentName other) { - if (other == com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance()) return this; if (!other.getText().isEmpty()) { text_ = other.text_; onChanged(); @@ -493,25 +460,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,21 +488,19 @@ public Builder mergeFrom( private java.lang.Object text_ = ""; /** - * - * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -547,22 +509,21 @@ public java.lang.String getText() { } } /** - * - * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -570,64 +531,57 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** - * - * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; @@ -635,21 +589,19 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -658,22 +610,21 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -681,71 +632,64 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +699,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ComponentName) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ComponentName) private static final com.google.maps.addressvalidation.v1.ComponentName DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ComponentName(); } @@ -769,27 +713,27 @@ public static com.google.maps.addressvalidation.v1.ComponentName getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComponentName parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComponentName parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +748,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ComponentName getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java similarity index 61% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java index 75c8c890000c..6efaf1c777ad 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java @@ -1,79 +1,53 @@ -/* - * 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.proto package com.google.maps.addressvalidation.v1; -public interface ComponentNameOrBuilder - extends +public interface ComponentNameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ComponentName) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java similarity index 77% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java index cd7b8989b4b8..868714956fb3 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java @@ -1,42 +1,24 @@ -/* - * 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/geocode.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * Contains information about the place the input was geocoded to.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Geocode} */ -public final class Geocode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Geocode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Geocode) GeocodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Geocode.newBuilder() to construct. private Geocode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Geocode() { placeId_ = ""; placeTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private Geocode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Geocode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.GeocodeProto - .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.GeocodeProto - .internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable + return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Geocode.class, - com.google.maps.addressvalidation.v1.Geocode.Builder.class); + com.google.maps.addressvalidation.v1.Geocode.class, com.google.maps.addressvalidation.v1.Geocode.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private com.google.type.LatLng location_; /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -86,7 +65,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.type.LatLng location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -94,8 +72,6 @@ public boolean hasLocation() { return location_ != null; } /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -109,7 +85,6 @@ public boolean hasLocation() {
    * 
* * .google.type.LatLng location = 1; - * * @return The location. */ @java.lang.Override @@ -117,8 +92,6 @@ public com.google.type.LatLng getLocation() { return location_ == null ? com.google.type.LatLng.getDefaultInstance() : location_; } /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -141,14 +114,11 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
   public static final int PLUS_CODE_FIELD_NUMBER = 2;
   private com.google.maps.addressvalidation.v1.PlusCode plusCode_;
   /**
-   *
-   *
    * 
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return Whether the plusCode field is set. */ @java.lang.Override @@ -156,25 +126,18 @@ public boolean hasPlusCode() { return plusCode_ != null; } /** - * - * *
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return The plusCode. */ @java.lang.Override public com.google.maps.addressvalidation.v1.PlusCode getPlusCode() { - return plusCode_ == null - ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() - : plusCode_; + return plusCode_ == null ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; } /** - * - * *
    * The plus code corresponding to the `location`.
    * 
@@ -189,14 +152,11 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild public static final int BOUNDS_FIELD_NUMBER = 4; private com.google.geo.type.Viewport bounds_; /** - * - * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; - * * @return Whether the bounds field is set. */ @java.lang.Override @@ -204,14 +164,11 @@ public boolean hasBounds() { return bounds_ != null; } /** - * - * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; - * * @return The bounds. */ @java.lang.Override @@ -219,8 +176,6 @@ public com.google.geo.type.Viewport getBounds() { return bounds_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : bounds_; } /** - * - * *
    * The bounds of the geocoded place.
    * 
@@ -235,8 +190,6 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { public static final int FEATURE_SIZE_METERS_FIELD_NUMBER = 5; private float featureSizeMeters_; /** - * - * *
    * The size of the geocoded place, in meters. This is another measure of the
    * coarseness of the geocoded location, but in physical size rather than in
@@ -244,7 +197,6 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() {
    * 
* * float feature_size_meters = 5; - * * @return The featureSizeMeters. */ @java.lang.Override @@ -255,8 +207,6 @@ public float getFeatureSizeMeters() { public static final int PLACE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object placeId_; /** - * - * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -264,7 +214,6 @@ public float getFeatureSizeMeters() {
    * 
* * string place_id = 6; - * * @return The placeId. */ @java.lang.Override @@ -273,15 +222,14 @@ public java.lang.String getPlaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); placeId_ = s; return s; } } /** - * - * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -289,15 +237,16 @@ public java.lang.String getPlaceId() {
    * 
* * string place_id = 6; - * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = placeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); placeId_ = b; return b; } else { @@ -308,8 +257,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { public static final int PLACE_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList placeTypes_; /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -317,15 +264,13 @@ public com.google.protobuf.ByteString getPlaceIdBytes() {
    * 
* * repeated string place_types = 7; - * * @return A list containing the placeTypes. */ - public com.google.protobuf.ProtocolStringList getPlaceTypesList() { + public com.google.protobuf.ProtocolStringList + getPlaceTypesList() { return placeTypes_; } /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -333,15 +278,12 @@ public com.google.protobuf.ProtocolStringList getPlaceTypesList() {
    * 
* * repeated string place_types = 7; - * * @return The count of placeTypes. */ public int getPlaceTypesCount() { return placeTypes_.size(); } /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -349,7 +291,6 @@ public int getPlaceTypesCount() {
    * 
* * repeated string place_types = 7; - * * @param index The index of the element to return. * @return The placeTypes at the given index. */ @@ -357,8 +298,6 @@ public java.lang.String getPlaceTypes(int index) { return placeTypes_.get(index); } /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -366,16 +305,15 @@ public java.lang.String getPlaceTypes(int index) {
    * 
* * repeated string place_types = 7; - * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - public com.google.protobuf.ByteString getPlaceTypesBytes(int index) { + public com.google.protobuf.ByteString + getPlaceTypesBytes(int index) { return placeTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -416,16 +355,20 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLocation()); } if (plusCode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPlusCode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPlusCode()); } if (bounds_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBounds()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getBounds()); } if (java.lang.Float.floatToRawIntBits(featureSizeMeters_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, featureSizeMeters_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(5, featureSizeMeters_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, placeId_); @@ -446,30 +389,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Geocode)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Geocode other = - (com.google.maps.addressvalidation.v1.Geocode) obj; + com.google.maps.addressvalidation.v1.Geocode other = (com.google.maps.addressvalidation.v1.Geocode) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; } if (hasPlusCode() != other.hasPlusCode()) return false; if (hasPlusCode()) { - if (!getPlusCode().equals(other.getPlusCode())) return false; + if (!getPlusCode() + .equals(other.getPlusCode())) return false; } if (hasBounds() != other.hasBounds()) return false; if (hasBounds()) { - if (!getBounds().equals(other.getBounds())) return false; + if (!getBounds() + .equals(other.getBounds())) return false; } if (java.lang.Float.floatToIntBits(getFeatureSizeMeters()) - != java.lang.Float.floatToIntBits(other.getFeatureSizeMeters())) return false; - if (!getPlaceId().equals(other.getPlaceId())) return false; - if (!getPlaceTypesList().equals(other.getPlaceTypesList())) return false; + != java.lang.Float.floatToIntBits( + other.getFeatureSizeMeters())) return false; + if (!getPlaceId() + .equals(other.getPlaceId())) return false; + if (!getPlaceTypesList() + .equals(other.getPlaceTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -494,7 +442,8 @@ public int hashCode() { hash = (53 * hash) + getBounds().hashCode(); } hash = (37 * hash) + FEATURE_SIZE_METERS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getFeatureSizeMeters()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getFeatureSizeMeters()); hash = (37 * hash) + PLACE_ID_FIELD_NUMBER; hash = (53 * hash) + getPlaceId().hashCode(); if (getPlaceTypesCount() > 0) { @@ -506,136 +455,130 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.Geocode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information about the place the input was geocoded to.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Geocode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Geocode) com.google.maps.addressvalidation.v1.GeocodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.GeocodeProto - .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.GeocodeProto - .internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable + return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Geocode.class, - com.google.maps.addressvalidation.v1.Geocode.Builder.class); + com.google.maps.addressvalidation.v1.Geocode.class, com.google.maps.addressvalidation.v1.Geocode.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Geocode.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -667,9 +610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.GeocodeProto - .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override @@ -688,8 +631,7 @@ public com.google.maps.addressvalidation.v1.Geocode build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Geocode buildPartial() { - com.google.maps.addressvalidation.v1.Geocode result = - new com.google.maps.addressvalidation.v1.Geocode(this); + com.google.maps.addressvalidation.v1.Geocode result = new com.google.maps.addressvalidation.v1.Geocode(this); int from_bitField0_ = bitField0_; if (locationBuilder_ == null) { result.location_ = location_; @@ -721,39 +663,38 @@ public com.google.maps.addressvalidation.v1.Geocode buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Geocode) { - return mergeFrom((com.google.maps.addressvalidation.v1.Geocode) other); + return mergeFrom((com.google.maps.addressvalidation.v1.Geocode)other); } else { super.mergeFrom(other); return this; @@ -814,50 +755,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getPlusCodeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 34: - { - input.readMessage(getBoundsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 45: - { - featureSizeMeters_ = input.readFloat(); - - break; - } // case 45 - case 50: - { - placeId_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePlaceTypesIsMutable(); - placeTypes_.add(s); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getPlusCodeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 34: { + input.readMessage( + getBoundsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 45: { + featureSizeMeters_ = input.readFloat(); + + break; + } // case 45 + case 50: { + placeId_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePlaceTypesIsMutable(); + placeTypes_.add(s); + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -867,16 +807,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.type.LatLng location_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - locationBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> locationBuilder_; /** - * - * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -890,15 +826,12 @@ public Builder mergeFrom(
      * 
* * .google.type.LatLng location = 1; - * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** - * - * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -912,7 +845,6 @@ public boolean hasLocation() {
      * 
* * .google.type.LatLng location = 1; - * * @return The location. */ public com.google.type.LatLng getLocation() { @@ -923,8 +855,6 @@ public com.google.type.LatLng getLocation() { } } /** - * - * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -953,8 +883,6 @@ public Builder setLocation(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -969,7 +897,8 @@ public Builder setLocation(com.google.type.LatLng value) {
      *
      * .google.type.LatLng location = 1;
      */
-    public Builder setLocation(com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLocation(
+        com.google.type.LatLng.Builder builderForValue) {
       if (locationBuilder_ == null) {
         location_ = builderForValue.build();
         onChanged();
@@ -980,8 +909,6 @@ public Builder setLocation(com.google.type.LatLng.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -999,7 +926,8 @@ public Builder setLocation(com.google.type.LatLng.Builder builderForValue) {
     public Builder mergeLocation(com.google.type.LatLng value) {
       if (locationBuilder_ == null) {
         if (location_ != null) {
-          location_ = com.google.type.LatLng.newBuilder(location_).mergeFrom(value).buildPartial();
+          location_ =
+            com.google.type.LatLng.newBuilder(location_).mergeFrom(value).buildPartial();
         } else {
           location_ = value;
         }
@@ -1011,8 +939,6 @@ public Builder mergeLocation(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1039,8 +965,6 @@ public Builder clearLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1056,13 +980,11 @@ public Builder clearLocation() {
      * .google.type.LatLng location = 1;
      */
     public com.google.type.LatLng.Builder getLocationBuilder() {
-
+      
       onChanged();
       return getLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1081,12 +1003,11 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
       if (locationBuilder_ != null) {
         return locationBuilder_.getMessageOrBuilder();
       } else {
-        return location_ == null ? com.google.type.LatLng.getDefaultInstance() : location_;
+        return location_ == null ?
+            com.google.type.LatLng.getDefaultInstance() : location_;
       }
     }
     /**
-     *
-     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1102,14 +1023,14 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
      * .google.type.LatLng location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
-        locationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.LatLng,
-                com.google.type.LatLng.Builder,
-                com.google.type.LatLngOrBuilder>(getLocation(), getParentForChildren(), isClean());
+        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
+                getLocation(),
+                getParentForChildren(),
+                isClean());
         location_ = null;
       }
       return locationBuilder_;
@@ -1117,47 +1038,34 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
 
     private com.google.maps.addressvalidation.v1.PlusCode plusCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.addressvalidation.v1.PlusCode,
-            com.google.maps.addressvalidation.v1.PlusCode.Builder,
-            com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>
-        plusCodeBuilder_;
+        com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> plusCodeBuilder_;
     /**
-     *
-     *
      * 
      * The plus code corresponding to the `location`.
      * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return Whether the plusCode field is set. */ public boolean hasPlusCode() { return plusCodeBuilder_ != null || plusCode_ != null; } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return The plusCode. */ public com.google.maps.addressvalidation.v1.PlusCode getPlusCode() { if (plusCodeBuilder_ == null) { - return plusCode_ == null - ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() - : plusCode_; + return plusCode_ == null ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; } else { return plusCodeBuilder_.getMessage(); } } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1178,8 +1086,6 @@ public Builder setPlusCode(com.google.maps.addressvalidation.v1.PlusCode value) return this; } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1198,8 +1104,6 @@ public Builder setPlusCode( return this; } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1210,9 +1114,7 @@ public Builder mergePlusCode(com.google.maps.addressvalidation.v1.PlusCode value if (plusCodeBuilder_ == null) { if (plusCode_ != null) { plusCode_ = - com.google.maps.addressvalidation.v1.PlusCode.newBuilder(plusCode_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.PlusCode.newBuilder(plusCode_).mergeFrom(value).buildPartial(); } else { plusCode_ = value; } @@ -1224,8 +1126,6 @@ public Builder mergePlusCode(com.google.maps.addressvalidation.v1.PlusCode value return this; } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1244,8 +1144,6 @@ public Builder clearPlusCode() { return this; } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1253,13 +1151,11 @@ public Builder clearPlusCode() { * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; */ public com.google.maps.addressvalidation.v1.PlusCode.Builder getPlusCodeBuilder() { - + onChanged(); return getPlusCodeFieldBuilder().getBuilder(); } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1270,14 +1166,11 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild if (plusCodeBuilder_ != null) { return plusCodeBuilder_.getMessageOrBuilder(); } else { - return plusCode_ == null - ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() - : plusCode_; + return plusCode_ == null ? + com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; } } /** - * - * *
      * The plus code corresponding to the `location`.
      * 
@@ -1285,17 +1178,14 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.PlusCode, - com.google.maps.addressvalidation.v1.PlusCode.Builder, - com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> + com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> getPlusCodeFieldBuilder() { if (plusCodeBuilder_ == null) { - plusCodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.PlusCode, - com.google.maps.addressvalidation.v1.PlusCode.Builder, - com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>( - getPlusCode(), getParentForChildren(), isClean()); + plusCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>( + getPlusCode(), + getParentForChildren(), + isClean()); plusCode_ = null; } return plusCodeBuilder_; @@ -1303,33 +1193,24 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild private com.google.geo.type.Viewport bounds_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder> - boundsBuilder_; + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> boundsBuilder_; /** - * - * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; - * * @return Whether the bounds field is set. */ public boolean hasBounds() { return boundsBuilder_ != null || bounds_ != null; } /** - * - * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; - * * @return The bounds. */ public com.google.geo.type.Viewport getBounds() { @@ -1340,8 +1221,6 @@ public com.google.geo.type.Viewport getBounds() { } } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1362,15 +1241,14 @@ public Builder setBounds(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; */ - public Builder setBounds(com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setBounds( + com.google.geo.type.Viewport.Builder builderForValue) { if (boundsBuilder_ == null) { bounds_ = builderForValue.build(); onChanged(); @@ -1381,8 +1259,6 @@ public Builder setBounds(com.google.geo.type.Viewport.Builder builderForValue) { return this; } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1393,7 +1269,7 @@ public Builder mergeBounds(com.google.geo.type.Viewport value) { if (boundsBuilder_ == null) { if (bounds_ != null) { bounds_ = - com.google.geo.type.Viewport.newBuilder(bounds_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(bounds_).mergeFrom(value).buildPartial(); } else { bounds_ = value; } @@ -1405,8 +1281,6 @@ public Builder mergeBounds(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1425,8 +1299,6 @@ public Builder clearBounds() { return this; } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1434,13 +1306,11 @@ public Builder clearBounds() { * .google.geo.type.Viewport bounds = 4; */ public com.google.geo.type.Viewport.Builder getBoundsBuilder() { - + onChanged(); return getBoundsFieldBuilder().getBuilder(); } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1451,12 +1321,11 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { if (boundsBuilder_ != null) { return boundsBuilder_.getMessageOrBuilder(); } else { - return bounds_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : bounds_; + return bounds_ == null ? + com.google.geo.type.Viewport.getDefaultInstance() : bounds_; } } /** - * - * *
      * The bounds of the geocoded place.
      * 
@@ -1464,26 +1333,21 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { * .google.geo.type.Viewport bounds = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder> + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> getBoundsFieldBuilder() { if (boundsBuilder_ == null) { - boundsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder>( - getBounds(), getParentForChildren(), isClean()); + boundsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( + getBounds(), + getParentForChildren(), + isClean()); bounds_ = null; } return boundsBuilder_; } - private float featureSizeMeters_; + private float featureSizeMeters_ ; /** - * - * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1491,7 +1355,6 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() {
      * 
* * float feature_size_meters = 5; - * * @return The featureSizeMeters. */ @java.lang.Override @@ -1499,8 +1362,6 @@ public float getFeatureSizeMeters() { return featureSizeMeters_; } /** - * - * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1508,19 +1369,16 @@ public float getFeatureSizeMeters() {
      * 
* * float feature_size_meters = 5; - * * @param value The featureSizeMeters to set. * @return This builder for chaining. */ public Builder setFeatureSizeMeters(float value) { - + featureSizeMeters_ = value; onChanged(); return this; } /** - * - * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1528,11 +1386,10 @@ public Builder setFeatureSizeMeters(float value) {
      * 
* * float feature_size_meters = 5; - * * @return This builder for chaining. */ public Builder clearFeatureSizeMeters() { - + featureSizeMeters_ = 0F; onChanged(); return this; @@ -1540,8 +1397,6 @@ public Builder clearFeatureSizeMeters() { private java.lang.Object placeId_ = ""; /** - * - * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1549,13 +1404,13 @@ public Builder clearFeatureSizeMeters() {
      * 
* * string place_id = 6; - * * @return The placeId. */ public java.lang.String getPlaceId() { java.lang.Object ref = placeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); placeId_ = s; return s; @@ -1564,8 +1419,6 @@ public java.lang.String getPlaceId() { } } /** - * - * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1573,14 +1426,15 @@ public java.lang.String getPlaceId() {
      * 
* * string place_id = 6; - * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = placeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); placeId_ = b; return b; } else { @@ -1588,8 +1442,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { } } /** - * - * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1597,22 +1449,20 @@ public com.google.protobuf.ByteString getPlaceIdBytes() {
      * 
* * string place_id = 6; - * * @param value The placeId to set. * @return This builder for chaining. */ - public Builder setPlaceId(java.lang.String value) { + public Builder setPlaceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + placeId_ = value; onChanged(); return this; } /** - * - * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1620,18 +1470,15 @@ public Builder setPlaceId(java.lang.String value) {
      * 
* * string place_id = 6; - * * @return This builder for chaining. */ public Builder clearPlaceId() { - + placeId_ = getDefaultInstance().getPlaceId(); onChanged(); return this; } /** - * - * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1639,33 +1486,29 @@ public Builder clearPlaceId() {
      * 
* * string place_id = 6; - * * @param value The bytes for placeId to set. * @return This builder for chaining. */ - public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) { + public Builder setPlaceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + placeId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList placeTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList placeTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePlaceTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { placeTypes_ = new com.google.protobuf.LazyStringArrayList(placeTypes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1673,15 +1516,13 @@ private void ensurePlaceTypesIsMutable() {
      * 
* * repeated string place_types = 7; - * * @return A list containing the placeTypes. */ - public com.google.protobuf.ProtocolStringList getPlaceTypesList() { + public com.google.protobuf.ProtocolStringList + getPlaceTypesList() { return placeTypes_.getUnmodifiableView(); } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1689,15 +1530,12 @@ public com.google.protobuf.ProtocolStringList getPlaceTypesList() {
      * 
* * repeated string place_types = 7; - * * @return The count of placeTypes. */ public int getPlaceTypesCount() { return placeTypes_.size(); } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1705,7 +1543,6 @@ public int getPlaceTypesCount() {
      * 
* * repeated string place_types = 7; - * * @param index The index of the element to return. * @return The placeTypes at the given index. */ @@ -1713,8 +1550,6 @@ public java.lang.String getPlaceTypes(int index) { return placeTypes_.get(index); } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1722,16 +1557,14 @@ public java.lang.String getPlaceTypes(int index) {
      * 
* * repeated string place_types = 7; - * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - public com.google.protobuf.ByteString getPlaceTypesBytes(int index) { + public com.google.protobuf.ByteString + getPlaceTypesBytes(int index) { return placeTypes_.getByteString(index); } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1739,23 +1572,21 @@ public com.google.protobuf.ByteString getPlaceTypesBytes(int index) {
      * 
* * repeated string place_types = 7; - * * @param index The index to set the value at. * @param value The placeTypes to set. * @return This builder for chaining. */ - public Builder setPlaceTypes(int index, java.lang.String value) { + public Builder setPlaceTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePlaceTypesIsMutable(); + throw new NullPointerException(); + } + ensurePlaceTypesIsMutable(); placeTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1763,22 +1594,20 @@ public Builder setPlaceTypes(int index, java.lang.String value) {
      * 
* * repeated string place_types = 7; - * * @param value The placeTypes to add. * @return This builder for chaining. */ - public Builder addPlaceTypes(java.lang.String value) { + public Builder addPlaceTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePlaceTypesIsMutable(); + throw new NullPointerException(); + } + ensurePlaceTypesIsMutable(); placeTypes_.add(value); onChanged(); return this; } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1786,19 +1615,18 @@ public Builder addPlaceTypes(java.lang.String value) {
      * 
* * repeated string place_types = 7; - * * @param values The placeTypes to add. * @return This builder for chaining. */ - public Builder addAllPlaceTypes(java.lang.Iterable values) { + public Builder addAllPlaceTypes( + java.lang.Iterable values) { ensurePlaceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, placeTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, placeTypes_); onChanged(); return this; } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1806,7 +1634,6 @@ public Builder addAllPlaceTypes(java.lang.Iterable values) {
      * 
* * repeated string place_types = 7; - * * @return This builder for chaining. */ public Builder clearPlaceTypes() { @@ -1816,8 +1643,6 @@ public Builder clearPlaceTypes() { return this; } /** - * - * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1825,23 +1650,23 @@ public Builder clearPlaceTypes() {
      * 
* * repeated string place_types = 7; - * * @param value The bytes of the placeTypes to add. * @return This builder for chaining. */ - public Builder addPlaceTypesBytes(com.google.protobuf.ByteString value) { + public Builder addPlaceTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePlaceTypesIsMutable(); placeTypes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1851,12 +1676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Geocode) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Geocode) private static final com.google.maps.addressvalidation.v1.Geocode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Geocode(); } @@ -1865,27 +1690,27 @@ public static com.google.maps.addressvalidation.v1.Geocode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Geocode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Geocode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1900,4 +1725,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.Geocode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java similarity index 86% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java index ab7a2909dae2..8b6968a648ef 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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/geocode.proto package com.google.maps.addressvalidation.v1; -public interface GeocodeOrBuilder - extends +public interface GeocodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Geocode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -39,13 +21,10 @@ public interface GeocodeOrBuilder
    * 
* * .google.type.LatLng location = 1; - * * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -59,13 +38,10 @@ public interface GeocodeOrBuilder
    * 
* * .google.type.LatLng location = 1; - * * @return The location. */ com.google.type.LatLng getLocation(); /** - * - * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -83,32 +59,24 @@ public interface GeocodeOrBuilder
   com.google.type.LatLngOrBuilder getLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return Whether the plusCode field is set. */ boolean hasPlusCode(); /** - * - * *
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; - * * @return The plusCode. */ com.google.maps.addressvalidation.v1.PlusCode getPlusCode(); /** - * - * *
    * The plus code corresponding to the `location`.
    * 
@@ -118,32 +86,24 @@ public interface GeocodeOrBuilder com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuilder(); /** - * - * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; - * * @return Whether the bounds field is set. */ boolean hasBounds(); /** - * - * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; - * * @return The bounds. */ com.google.geo.type.Viewport getBounds(); /** - * - * *
    * The bounds of the geocoded place.
    * 
@@ -153,8 +113,6 @@ public interface GeocodeOrBuilder com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder(); /** - * - * *
    * The size of the geocoded place, in meters. This is another measure of the
    * coarseness of the geocoded location, but in physical size rather than in
@@ -162,14 +120,11 @@ public interface GeocodeOrBuilder
    * 
* * float feature_size_meters = 5; - * * @return The featureSizeMeters. */ float getFeatureSizeMeters(); /** - * - * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -177,13 +132,10 @@ public interface GeocodeOrBuilder
    * 
* * string place_id = 6; - * * @return The placeId. */ java.lang.String getPlaceId(); /** - * - * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -191,14 +143,12 @@ public interface GeocodeOrBuilder
    * 
* * string place_id = 6; - * * @return The bytes for placeId. */ - com.google.protobuf.ByteString getPlaceIdBytes(); + com.google.protobuf.ByteString + getPlaceIdBytes(); /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -206,13 +156,11 @@ public interface GeocodeOrBuilder
    * 
* * repeated string place_types = 7; - * * @return A list containing the placeTypes. */ - java.util.List getPlaceTypesList(); + java.util.List + getPlaceTypesList(); /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -220,13 +168,10 @@ public interface GeocodeOrBuilder
    * 
* * repeated string place_types = 7; - * * @return The count of placeTypes. */ int getPlaceTypesCount(); /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -234,14 +179,11 @@ public interface GeocodeOrBuilder
    * 
* * repeated string place_types = 7; - * * @param index The index of the element to return. * @return The placeTypes at the given index. */ java.lang.String getPlaceTypes(int index); /** - * - * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -249,9 +191,9 @@ public interface GeocodeOrBuilder
    * 
* * repeated string place_types = 7; - * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - com.google.protobuf.ByteString getPlaceTypesBytes(int index); + com.google.protobuf.ByteString + getPlaceTypesBytes(int index); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java new file mode 100644 index 000000000000..4476490987d9 --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/addressvalidation/v1/geocode.proto + +package com.google.maps.addressvalidation.v1; + +public final class GeocodeProto { + private GeocodeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/maps/addressvalidation/v1/geoco" + + "de.proto\022 google.maps.addressvalidation." + + "v1\032\036google/geo/type/viewport.proto\032\030goog" + + "le/type/latlng.proto\"\336\001\n\007Geocode\022%\n\010loca" + + "tion\030\001 \001(\0132\023.google.type.LatLng\022=\n\tplus_" + + "code\030\002 \001(\0132*.google.maps.addressvalidati" + + "on.v1.PlusCode\022)\n\006bounds\030\004 \001(\0132\031.google." + + "geo.type.Viewport\022\033\n\023feature_size_meters" + + "\030\005 \001(\002\022\020\n\010place_id\030\006 \001(\t\022\023\n\013place_types\030" + + "\007 \003(\t\"6\n\010PlusCode\022\023\n\013global_code\030\001 \001(\t\022\025" + + "\n\rcompound_code\030\002 \001(\tB\202\002\n$com.google.map" + + "s.addressvalidation.v1B\014GeocodeProtoP\001ZQ" + + "google.golang.org/genproto/googleapis/ma" + + "ps/addressvalidation/v1;addressvalidatio" + + "n\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressVali" + + "dation.V1\312\002 Google\\Maps\\AddressValidatio" + + "n\\V1\352\002#Google::Maps::AddressValidation::" + + "V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor, + new java.lang.String[] { "Location", "PlusCode", "Bounds", "FeatureSizeMeters", "PlaceId", "PlaceTypes", }); + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor, + new java.lang.String[] { "GlobalCode", "CompoundCode", }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java new file mode 100644 index 000000000000..7cbe426c45ea --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/addressvalidation/v1/metadata.proto + +package com.google.maps.addressvalidation.v1; + +public final class MetadataProto { + private MetadataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/maps/addressvalidation/v1/metad" + + "ata.proto\022 google.maps.addressvalidation" + + ".v1\"\177\n\017AddressMetadata\022\025\n\010business\030\002 \001(\010" + + "H\000\210\001\001\022\023\n\006po_box\030\003 \001(\010H\001\210\001\001\022\030\n\013residentia" + + "l\030\006 \001(\010H\002\210\001\001B\013\n\t_businessB\t\n\007_po_boxB\016\n\014" + + "_residentialB\203\002\n$com.google.maps.address" + + "validation.v1B\rMetadataProtoP\001ZQgoogle.g" + + "olang.org/genproto/googleapis/maps/addre" + + "ssvalidation/v1;addressvalidation\370\001\001\242\002\007G" + + "MPAVV1\252\002 Google.Maps.AddressValidation.V" + + "1\312\002 Google\\Maps\\AddressValidation\\V1\352\002#G" + + "oogle::Maps::AddressValidation::V1b\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor, + new java.lang.String[] { "Business", "PoBox", "Residential", "Business", "PoBox", "Residential", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java similarity index 69% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java index a32e1d5fc295..c5d807df25f5 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java @@ -1,26 +1,9 @@ -/* - * 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/geocode.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * 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,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.maps.addressvalidation.v1.PlusCode}
  */
-public final class PlusCode extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PlusCode extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.PlusCode)
     PlusCodeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PlusCode.newBuilder() to construct.
   private PlusCode(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PlusCode() {
     globalCode_ = "";
     compoundCode_ = "";
@@ -46,42 +28,38 @@ private PlusCode() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PlusCode();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.maps.addressvalidation.v1.GeocodeProto
-        .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.addressvalidation.v1.GeocodeProto
-        .internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
+    return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.addressvalidation.v1.PlusCode.class,
-            com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
+            com.google.maps.addressvalidation.v1.PlusCode.class, com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
   }
 
   public static final int GLOBAL_CODE_FIELD_NUMBER = 1;
   private volatile java.lang.Object globalCode_;
   /**
-   *
-   *
    * 
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; - * * @return The globalCode. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getGlobalCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); globalCode_ = s; return s; } } /** - * - * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; - * * @return The bytes for globalCode. */ @java.lang.Override - public com.google.protobuf.ByteString getGlobalCodeBytes() { + public com.google.protobuf.ByteString + getGlobalCodeBytes() { java.lang.Object ref = globalCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); globalCode_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getGlobalCodeBytes() { public static final int COMPOUND_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object compoundCode_; /** - * - * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -133,7 +109,6 @@ public com.google.protobuf.ByteString getGlobalCodeBytes() {
    * 
* * string compound_code = 2; - * * @return The compoundCode. */ @java.lang.Override @@ -142,15 +117,14 @@ public java.lang.String getCompoundCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compoundCode_ = s; return s; } } /** - * - * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -158,15 +132,16 @@ public java.lang.String getCompoundCode() {
    * 
* * string compound_code = 2; - * * @return The bytes for compoundCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCompoundCodeBytes() { + public com.google.protobuf.ByteString + getCompoundCodeBytes() { java.lang.Object ref = compoundCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compoundCode_ = b; return b; } else { @@ -175,7 +150,6 @@ public com.google.protobuf.ByteString getCompoundCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(globalCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, globalCode_); } @@ -217,16 +192,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.PlusCode)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.PlusCode other = - (com.google.maps.addressvalidation.v1.PlusCode) obj; + com.google.maps.addressvalidation.v1.PlusCode other = (com.google.maps.addressvalidation.v1.PlusCode) obj; - if (!getGlobalCode().equals(other.getGlobalCode())) return false; - if (!getCompoundCode().equals(other.getCompoundCode())) return false; + if (!getGlobalCode() + .equals(other.getGlobalCode())) return false; + if (!getCompoundCode() + .equals(other.getCompoundCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,104 +223,97 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.PlusCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return 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,
@@ -353,32 +322,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.addressvalidation.v1.PlusCode}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.PlusCode)
       com.google.maps.addressvalidation.v1.PlusCodeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto
-          .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto
-          .internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
+      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.addressvalidation.v1.PlusCode.class,
-              com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
+              com.google.maps.addressvalidation.v1.PlusCode.class, com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
     }
 
     // Construct using com.google.maps.addressvalidation.v1.PlusCode.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,9 +360,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto
-          .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
     }
 
     @java.lang.Override
@@ -411,8 +381,7 @@ public com.google.maps.addressvalidation.v1.PlusCode build() {
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.PlusCode buildPartial() {
-      com.google.maps.addressvalidation.v1.PlusCode result =
-          new com.google.maps.addressvalidation.v1.PlusCode(this);
+      com.google.maps.addressvalidation.v1.PlusCode result = new com.google.maps.addressvalidation.v1.PlusCode(this);
       result.globalCode_ = globalCode_;
       result.compoundCode_ = compoundCode_;
       onBuilt();
@@ -423,39 +392,38 @@ public com.google.maps.addressvalidation.v1.PlusCode buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.maps.addressvalidation.v1.PlusCode) {
-        return mergeFrom((com.google.maps.addressvalidation.v1.PlusCode) other);
+        return mergeFrom((com.google.maps.addressvalidation.v1.PlusCode)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,25 +466,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                globalCode_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                compoundCode_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              globalCode_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              compoundCode_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -529,21 +494,19 @@ public Builder mergeFrom(
 
     private java.lang.Object globalCode_ = "";
     /**
-     *
-     *
      * 
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; - * * @return The globalCode. */ public java.lang.String getGlobalCode() { java.lang.Object ref = globalCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); globalCode_ = s; return s; @@ -552,22 +515,21 @@ public java.lang.String getGlobalCode() { } } /** - * - * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; - * * @return The bytes for globalCode. */ - public com.google.protobuf.ByteString getGlobalCodeBytes() { + public com.google.protobuf.ByteString + getGlobalCodeBytes() { java.lang.Object ref = globalCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); globalCode_ = b; return b; } else { @@ -575,64 +537,57 @@ public com.google.protobuf.ByteString getGlobalCodeBytes() { } } /** - * - * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; - * * @param value The globalCode to set. * @return This builder for chaining. */ - public Builder setGlobalCode(java.lang.String value) { + public Builder setGlobalCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + globalCode_ = value; onChanged(); return this; } /** - * - * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; - * * @return This builder for chaining. */ public Builder clearGlobalCode() { - + globalCode_ = getDefaultInstance().getGlobalCode(); onChanged(); return this; } /** - * - * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; - * * @param value The bytes for globalCode to set. * @return This builder for chaining. */ - public Builder setGlobalCodeBytes(com.google.protobuf.ByteString value) { + public Builder setGlobalCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + globalCode_ = value; onChanged(); return this; @@ -640,8 +595,6 @@ public Builder setGlobalCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object compoundCode_ = ""; /** - * - * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -649,13 +602,13 @@ public Builder setGlobalCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * string compound_code = 2; - * * @return The compoundCode. */ public java.lang.String getCompoundCode() { java.lang.Object ref = compoundCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compoundCode_ = s; return s; @@ -664,8 +617,6 @@ public java.lang.String getCompoundCode() { } } /** - * - * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -673,14 +624,15 @@ public java.lang.String getCompoundCode() {
      * 
* * string compound_code = 2; - * * @return The bytes for compoundCode. */ - public com.google.protobuf.ByteString getCompoundCodeBytes() { + public com.google.protobuf.ByteString + getCompoundCodeBytes() { java.lang.Object ref = compoundCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compoundCode_ = b; return b; } else { @@ -688,8 +640,6 @@ public com.google.protobuf.ByteString getCompoundCodeBytes() { } } /** - * - * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -697,22 +647,20 @@ public com.google.protobuf.ByteString getCompoundCodeBytes() {
      * 
* * string compound_code = 2; - * * @param value The compoundCode to set. * @return This builder for chaining. */ - public Builder setCompoundCode(java.lang.String value) { + public Builder setCompoundCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compoundCode_ = value; onChanged(); return this; } /** - * - * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -720,18 +668,15 @@ public Builder setCompoundCode(java.lang.String value) {
      * 
* * string compound_code = 2; - * * @return This builder for chaining. */ public Builder clearCompoundCode() { - + compoundCode_ = getDefaultInstance().getCompoundCode(); onChanged(); return this; } /** - * - * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -739,23 +684,23 @@ public Builder clearCompoundCode() {
      * 
* * string compound_code = 2; - * * @param value The bytes for compoundCode to set. * @return This builder for chaining. */ - public Builder setCompoundCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCompoundCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compoundCode_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -765,12 +710,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.PlusCode) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.PlusCode) private static final com.google.maps.addressvalidation.v1.PlusCode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.PlusCode(); } @@ -779,27 +724,27 @@ public static com.google.maps.addressvalidation.v1.PlusCode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlusCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlusCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,4 +759,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.PlusCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java similarity index 64% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java index 72d52ddd6f37..31a22d34b8c4 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java @@ -1,58 +1,35 @@ -/* - * 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/geocode.proto package com.google.maps.addressvalidation.v1; -public interface PlusCodeOrBuilder - extends +public interface PlusCodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.PlusCode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; - * * @return The globalCode. */ java.lang.String getGlobalCode(); /** - * - * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; - * * @return The bytes for globalCode. */ - com.google.protobuf.ByteString getGlobalCodeBytes(); + com.google.protobuf.ByteString + getGlobalCodeBytes(); /** - * - * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -60,13 +37,10 @@ public interface PlusCodeOrBuilder
    * 
* * string compound_code = 2; - * * @return The compoundCode. */ java.lang.String getCompoundCode(); /** - * - * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -74,8 +48,8 @@ public interface PlusCodeOrBuilder
    * 
* * string compound_code = 2; - * * @return The bytes for compoundCode. */ - com.google.protobuf.ByteString getCompoundCodeBytes(); + com.google.protobuf.ByteString + getCompoundCodeBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java similarity index 64% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java index 8439124ea7be..7c112f0e5208 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java @@ -1,43 +1,24 @@ -/* - * 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; /** - * - * *
  * The request for sending validation feedback.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest} */ -public final class ProvideValidationFeedbackRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvideValidationFeedbackRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) ProvideValidationFeedbackRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvideValidationFeedbackRequest.newBuilder() to construct. - private ProvideValidationFeedbackRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvideValidationFeedbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvideValidationFeedbackRequest() { conclusion_ = 0; responseId_ = ""; @@ -45,45 +26,40 @@ private ProvideValidationFeedbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvideValidationFeedbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); } /** - * - * *
    * The possible final outcomes of the sequence of address validation requests
    * needed to validate an address.
    * 
* - * Protobuf enum {@code - * google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion} + * Protobuf enum {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion} */ - public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageEnum { + public enum ValidationConclusion + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * This value is unused.
      * If the `ProvideValidationFeedbackRequest.conclusion` field is set to
@@ -95,8 +71,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     VALIDATION_CONCLUSION_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The version of the address returned by the Address Validation API was
      * used for the transaction.
@@ -106,8 +80,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     VALIDATED_VERSION_USED(1),
     /**
-     *
-     *
      * 
      * The version of the address provided by the user was used for the
      * transaction
@@ -117,8 +89,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     USER_VERSION_USED(2),
     /**
-     *
-     *
      * 
      * A version of the address that was entered after the last validation
      * attempt but that was not re-validated was used for the transaction.
@@ -128,8 +98,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     UNVALIDATED_VERSION_USED(3),
     /**
-     *
-     *
      * 
      * The transaction was abandoned and the address was not used.
      * 
@@ -141,8 +109,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * This value is unused.
      * If the `ProvideValidationFeedbackRequest.conclusion` field is set to
@@ -154,8 +120,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     public static final int VALIDATION_CONCLUSION_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The version of the address returned by the Address Validation API was
      * used for the transaction.
@@ -165,8 +129,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     public static final int VALIDATED_VERSION_USED_VALUE = 1;
     /**
-     *
-     *
      * 
      * The version of the address provided by the user was used for the
      * transaction
@@ -176,8 +138,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     public static final int USER_VERSION_USED_VALUE = 2;
     /**
-     *
-     *
      * 
      * A version of the address that was entered after the last validation
      * attempt but that was not re-validated was used for the transaction.
@@ -187,8 +147,6 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE
      */
     public static final int UNVALIDATED_VERSION_USED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The transaction was abandoned and the address was not used.
      * 
@@ -197,6 +155,7 @@ public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageE */ public static final int UNUSED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -221,18 +180,12 @@ public static ValidationConclusion valueOf(int value) { */ public static ValidationConclusion forNumber(int value) { switch (value) { - case 0: - return VALIDATION_CONCLUSION_UNSPECIFIED; - case 1: - return VALIDATED_VERSION_USED; - case 2: - return USER_VERSION_USED; - case 3: - return UNVALIDATED_VERSION_USED; - case 4: - return UNUSED; - default: - return null; + case 0: return VALIDATION_CONCLUSION_UNSPECIFIED; + case 1: return VALIDATED_VERSION_USED; + case 2: return USER_VERSION_USED; + case 3: return UNVALIDATED_VERSION_USED; + case 4: return UNUSED; + default: return null; } } @@ -240,31 +193,29 @@ public static ValidationConclusion forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ValidationConclusion> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValidationConclusion findValueByNumber(int number) { + return ValidationConclusion.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValidationConclusion findValueByNumber(int number) { - return ValidationConclusion.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDescriptor().getEnumTypes().get(0); } private static final ValidationConclusion[] VALUES = values(); @@ -272,7 +223,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ValidationConclusion valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -292,66 +244,45 @@ private ValidationConclusion(int value) { public static final int CONCLUSION_FIELD_NUMBER = 1; private int conclusion_; /** - * - * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for conclusion. */ - @java.lang.Override - public int getConclusionValue() { + @java.lang.Override public int getConclusionValue() { return conclusion_; } /** - * - * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conclusion. */ - @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - getConclusion() { + @java.lang.Override public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - result = - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion.valueOf(conclusion_); - return result == null - ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - .UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion result = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.valueOf(conclusion_); + return result == null ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.UNRECOGNIZED : result; } public static final int RESPONSE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object responseId_; /** - * - * *
-   * Required. The ID of the response that this feedback is for. This should be the
+   * Required. The ID of the response that this feedback is for. This should be
+   * the
    * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
    * from the first response in a series of address validation attempts.
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The responseId. */ @java.lang.Override @@ -360,31 +291,32 @@ public java.lang.String getResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; } } /** - * - * *
-   * Required. The ID of the response that this feedback is for. This should be the
+   * Required. The ID of the response that this feedback is for. This should be
+   * the
    * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
    * from the first response in a series of address validation attempts.
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for responseId. */ @java.lang.Override - public com.google.protobuf.ByteString getResponseIdBytes() { + public com.google.protobuf.ByteString + getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responseId_ = b; return b; } else { @@ -393,7 +325,6 @@ public com.google.protobuf.ByteString getResponseIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,11 +336,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (conclusion_ - != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (conclusion_ != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED.getNumber()) { output.writeEnum(1, conclusion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { @@ -424,11 +353,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (conclusion_ - != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, conclusion_); + if (conclusion_ != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, conclusion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, responseId_); @@ -441,16 +368,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other = - (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) obj; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other = (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) obj; if (conclusion_ != other.conclusion_) return false; - if (!getResponseId().equals(other.getResponseId())) return false; + if (!getResponseId() + .equals(other.getResponseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,138 +399,129 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest prototype) { + public static Builder newBuilder(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for sending validation feedback.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); } - // Construct using - // com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.newBuilder() - private Builder() {} + // Construct using com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -615,16 +533,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - getDefaultInstanceForType() { - return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .getDefaultInstance(); + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstanceForType() { + return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance(); } @java.lang.Override @@ -638,8 +554,7 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest bui @java.lang.Override public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest buildPartial() { - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest result = - new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(this); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest result = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(this); result.conclusion_ = conclusion_; result.responseId_ = responseId_; onBuilt(); @@ -650,51 +565,46 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) { - return mergeFrom( - (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) other); + return mergeFrom((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other) { - if (other - == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other) { + if (other == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance()) return this; if (other.conclusion_ != 0) { setConclusionValue(other.getConclusionValue()); } @@ -728,25 +638,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - conclusion_ = input.readEnum(); + case 8: { + conclusion_ = input.readEnum(); - break; - } // case 8 - case 18: - { - responseId_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + responseId_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -759,119 +666,83 @@ public Builder mergeFrom( private int conclusion_ = 0; /** - * - * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for conclusion. */ - @java.lang.Override - public int getConclusionValue() { + @java.lang.Override public int getConclusionValue() { return conclusion_; } /** - * - * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for conclusion to set. * @return This builder for chaining. */ public Builder setConclusionValue(int value) { - + conclusion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conclusion. */ @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion - getConclusion() { + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - result = - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion.valueOf(conclusion_); - return result == null - ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - .ValidationConclusion.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion result = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.valueOf(conclusion_); + return result == null ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.UNRECOGNIZED : result; } /** - * - * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The conclusion to set. * @return This builder for chaining. */ - public Builder setConclusion( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - value) { + public Builder setConclusion(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion value) { if (value == null) { throw new NullPointerException(); } - + conclusion_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearConclusion() { - + conclusion_ = 0; onChanged(); return this; @@ -879,22 +750,21 @@ public Builder clearConclusion() { private java.lang.Object responseId_ = ""; /** - * - * *
-     * Required. The ID of the response that this feedback is for. This should be the
+     * Required. The ID of the response that this feedback is for. This should be
+     * the
      * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
      * from the first response in a series of address validation attempts.
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; @@ -903,23 +773,23 @@ public java.lang.String getResponseId() { } } /** - * - * *
-     * Required. The ID of the response that this feedback is for. This should be the
+     * Required. The ID of the response that this feedback is for. This should be
+     * the
      * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
      * from the first response in a series of address validation attempts.
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for responseId. */ - public com.google.protobuf.ByteString getResponseIdBytes() { + public com.google.protobuf.ByteString + getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responseId_ = b; return b; } else { @@ -927,74 +797,70 @@ public com.google.protobuf.ByteString getResponseIdBytes() { } } /** - * - * *
-     * Required. The ID of the response that this feedback is for. This should be the
+     * Required. The ID of the response that this feedback is for. This should be
+     * the
      * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
      * from the first response in a series of address validation attempts.
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The responseId to set. * @return This builder for chaining. */ - public Builder setResponseId(java.lang.String value) { + public Builder setResponseId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responseId_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The ID of the response that this feedback is for. This should be the
+     * Required. The ID of the response that this feedback is for. This should be
+     * the
      * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
      * from the first response in a series of address validation attempts.
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResponseId() { - + responseId_ = getDefaultInstance().getResponseId(); onChanged(); return this; } /** - * - * *
-     * Required. The ID of the response that this feedback is for. This should be the
+     * Required. The ID of the response that this feedback is for. This should be
+     * the
      * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
      * from the first response in a series of address validation attempts.
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for responseId to set. * @return This builder for chaining. */ - public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { + public Builder setResponseIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,43 +870,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) - private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - DEFAULT_INSTANCE; - + private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - getDefaultInstance() { + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvideValidationFeedbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvideValidationFeedbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,8 +916,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest - getDefaultInstanceForType() { + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java similarity index 59% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java index 5c393752652b..cc21b948ea69 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java @@ -1,88 +1,58 @@ -/* - * 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 ProvideValidationFeedbackRequestOrBuilder - extends +public interface ProvideValidationFeedbackRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for conclusion. */ int getConclusionValue(); /** - * - * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conclusion. */ - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion - getConclusion(); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion(); /** - * - * *
-   * Required. The ID of the response that this feedback is for. This should be the
+   * Required. The ID of the response that this feedback is for. This should be
+   * the
    * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
    * from the first response in a series of address validation attempts.
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The responseId. */ java.lang.String getResponseId(); /** - * - * *
-   * Required. The ID of the response that this feedback is for. This should be the
+   * Required. The ID of the response that this feedback is for. This should be
+   * the
    * [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
    * from the first response in a series of address validation attempts.
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for responseId. */ - com.google.protobuf.ByteString getResponseIdBytes(); + com.google.protobuf.ByteString + getResponseIdBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java similarity index 57% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java index 8eaf37bffd24..b4aa21fbedd7 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java @@ -1,26 +1,9 @@ -/* - * 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; /** - * - * *
  * The response for validation feedback.
  * The response is empty if the feedback is sent successfully.
@@ -28,47 +11,44 @@
  *
  * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse}
  */
-public final class ProvideValidationFeedbackResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ProvideValidationFeedbackResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
     ProvideValidationFeedbackResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ProvideValidationFeedbackResponse.newBuilder() to construct.
-  private ProvideValidationFeedbackResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ProvideValidationFeedbackResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ProvideValidationFeedbackResponse() {}
+  private ProvideValidationFeedbackResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ProvideValidationFeedbackResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
-        .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
-        .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
+    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class,
-            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
+            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -80,7 +60,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -98,13 +79,12 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other =
-        (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) obj;
+    com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other = (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -123,105 +103,96 @@ public int hashCode() {
   }
 
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse prototype) {
+  public static Builder newBuilder(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for validation feedback.
    * The response is empty if the feedback is sent successfully.
@@ -229,33 +200,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
       com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
-          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
-          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class,
-              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
+              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,22 +234,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
-          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-        getDefaultInstanceForType() {
-      return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-          .getDefaultInstance();
+    public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstanceForType() {
+      return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse build() {
-      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result =
-          buildPartial();
+      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -287,8 +255,7 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse bu
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse buildPartial() {
-      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result =
-          new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse(this);
+      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse(this);
       onBuilt();
       return result;
     }
@@ -297,51 +264,46 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse bu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) {
-        return mergeFrom(
-            (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) other);
+        return mergeFrom((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other) {
-      if (other
-          == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other) {
+      if (other == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -368,13 +330,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,9 +345,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -396,43 +357,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
-  private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse();
   }
 
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-      getDefaultInstance() {
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ProvideValidationFeedbackResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ProvideValidationFeedbackResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -444,8 +403,9 @@ public com.google.protobuf.Parser getParserFo
   }
 
   @java.lang.Override
-  public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
-      getDefaultInstanceForType() {
+  public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java
new file mode 100644
index 000000000000..505faf66c3c9
--- /dev/null
+++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// 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 ProvideValidationFeedbackResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
similarity index 70%
rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
index abcf1c9e1d37..c8c7a2135e03 100644
--- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
+++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
@@ -1,42 +1,24 @@
-/*
- * 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/usps_data.proto
 
 package com.google.maps.addressvalidation.v1;
 
 /**
- *
- *
  * 
  * USPS representation of a US address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsAddress} */ -public final class UspsAddress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UspsAddress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.UspsAddress) UspsAddressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UspsAddress.newBuilder() to construct. private UspsAddress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UspsAddress() { firstAddressLine_ = ""; firm_ = ""; @@ -51,41 +33,37 @@ private UspsAddress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UspsAddress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsAddress.class, - com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); + com.google.maps.addressvalidation.v1.UspsAddress.class, com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); } public static final int FIRST_ADDRESS_LINE_FIELD_NUMBER = 1; private volatile java.lang.Object firstAddressLine_; /** - * - * *
    * First address line.
    * 
* * string first_address_line = 1; - * * @return The firstAddressLine. */ @java.lang.Override @@ -94,29 +72,29 @@ public java.lang.String getFirstAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstAddressLine_ = s; return s; } } /** - * - * *
    * First address line.
    * 
* * string first_address_line = 1; - * * @return The bytes for firstAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString getFirstAddressLineBytes() { + public com.google.protobuf.ByteString + getFirstAddressLineBytes() { java.lang.Object ref = firstAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firstAddressLine_ = b; return b; } else { @@ -127,14 +105,11 @@ public com.google.protobuf.ByteString getFirstAddressLineBytes() { public static final int FIRM_FIELD_NUMBER = 2; private volatile java.lang.Object firm_; /** - * - * *
    * Firm name.
    * 
* * string firm = 2; - * * @return The firm. */ @java.lang.Override @@ -143,29 +118,29 @@ public java.lang.String getFirm() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firm_ = s; return s; } } /** - * - * *
    * Firm name.
    * 
* * string firm = 2; - * * @return The bytes for firm. */ @java.lang.Override - public com.google.protobuf.ByteString getFirmBytes() { + public com.google.protobuf.ByteString + getFirmBytes() { java.lang.Object ref = firm_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firm_ = b; return b; } else { @@ -176,14 +151,11 @@ public com.google.protobuf.ByteString getFirmBytes() { public static final int SECOND_ADDRESS_LINE_FIELD_NUMBER = 3; private volatile java.lang.Object secondAddressLine_; /** - * - * *
    * Second address line.
    * 
* * string second_address_line = 3; - * * @return The secondAddressLine. */ @java.lang.Override @@ -192,29 +164,29 @@ public java.lang.String getSecondAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondAddressLine_ = s; return s; } } /** - * - * *
    * Second address line.
    * 
* * string second_address_line = 3; - * * @return The bytes for secondAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString getSecondAddressLineBytes() { + public com.google.protobuf.ByteString + getSecondAddressLineBytes() { java.lang.Object ref = secondAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secondAddressLine_ = b; return b; } else { @@ -225,14 +197,11 @@ public com.google.protobuf.ByteString getSecondAddressLineBytes() { public static final int URBANIZATION_FIELD_NUMBER = 4; private volatile java.lang.Object urbanization_; /** - * - * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; - * * @return The urbanization. */ @java.lang.Override @@ -241,29 +210,29 @@ public java.lang.String getUrbanization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); urbanization_ = s; return s; } } /** - * - * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; - * * @return The bytes for urbanization. */ @java.lang.Override - public com.google.protobuf.ByteString getUrbanizationBytes() { + public com.google.protobuf.ByteString + getUrbanizationBytes() { java.lang.Object ref = urbanization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); urbanization_ = b; return b; } else { @@ -274,14 +243,11 @@ public com.google.protobuf.ByteString getUrbanizationBytes() { public static final int CITY_STATE_ZIP_ADDRESS_LINE_FIELD_NUMBER = 5; private volatile java.lang.Object cityStateZipAddressLine_; /** - * - * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; - * * @return The cityStateZipAddressLine. */ @java.lang.Override @@ -290,29 +256,29 @@ public java.lang.String getCityStateZipAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cityStateZipAddressLine_ = s; return s; } } /** - * - * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; - * * @return The bytes for cityStateZipAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { + public com.google.protobuf.ByteString + getCityStateZipAddressLineBytes() { java.lang.Object ref = cityStateZipAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cityStateZipAddressLine_ = b; return b; } else { @@ -323,14 +289,11 @@ public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { public static final int CITY_FIELD_NUMBER = 6; private volatile java.lang.Object city_; /** - * - * *
    * City name.
    * 
* * string city = 6; - * * @return The city. */ @java.lang.Override @@ -339,29 +302,29 @@ public java.lang.String getCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); city_ = s; return s; } } /** - * - * *
    * City name.
    * 
* * string city = 6; - * * @return The bytes for city. */ @java.lang.Override - public com.google.protobuf.ByteString getCityBytes() { + public com.google.protobuf.ByteString + getCityBytes() { java.lang.Object ref = city_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); city_ = b; return b; } else { @@ -372,14 +335,11 @@ public com.google.protobuf.ByteString getCityBytes() { public static final int STATE_FIELD_NUMBER = 7; private volatile java.lang.Object state_; /** - * - * *
    * 2 letter state code.
    * 
* * string state = 7; - * * @return The state. */ @java.lang.Override @@ -388,29 +348,29 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
    * 2 letter state code.
    * 
* * string state = 7; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -421,14 +381,11 @@ public com.google.protobuf.ByteString getStateBytes() { public static final int ZIP_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object zipCode_; /** - * - * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; - * * @return The zipCode. */ @java.lang.Override @@ -437,29 +394,29 @@ public java.lang.String getZipCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCode_ = s; return s; } } /** - * - * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; - * * @return The bytes for zipCode. */ @java.lang.Override - public com.google.protobuf.ByteString getZipCodeBytes() { + public com.google.protobuf.ByteString + getZipCodeBytes() { java.lang.Object ref = zipCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zipCode_ = b; return b; } else { @@ -470,14 +427,11 @@ public com.google.protobuf.ByteString getZipCodeBytes() { public static final int ZIP_CODE_EXTENSION_FIELD_NUMBER = 9; private volatile java.lang.Object zipCodeExtension_; /** - * - * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; - * * @return The zipCodeExtension. */ @java.lang.Override @@ -486,29 +440,29 @@ public java.lang.String getZipCodeExtension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCodeExtension_ = s; return s; } } /** - * - * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; - * * @return The bytes for zipCodeExtension. */ @java.lang.Override - public com.google.protobuf.ByteString getZipCodeExtensionBytes() { + public com.google.protobuf.ByteString + getZipCodeExtensionBytes() { java.lang.Object ref = zipCodeExtension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zipCodeExtension_ = b; return b; } else { @@ -517,7 +471,6 @@ public com.google.protobuf.ByteString getZipCodeExtensionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,7 +482,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstAddressLine_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firstAddressLine_); } @@ -601,23 +555,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsAddress)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.UspsAddress other = - (com.google.maps.addressvalidation.v1.UspsAddress) obj; - - if (!getFirstAddressLine().equals(other.getFirstAddressLine())) return false; - if (!getFirm().equals(other.getFirm())) return false; - if (!getSecondAddressLine().equals(other.getSecondAddressLine())) return false; - if (!getUrbanization().equals(other.getUrbanization())) return false; - if (!getCityStateZipAddressLine().equals(other.getCityStateZipAddressLine())) return false; - if (!getCity().equals(other.getCity())) return false; - if (!getState().equals(other.getState())) return false; - if (!getZipCode().equals(other.getZipCode())) return false; - if (!getZipCodeExtension().equals(other.getZipCodeExtension())) return false; + com.google.maps.addressvalidation.v1.UspsAddress other = (com.google.maps.addressvalidation.v1.UspsAddress) obj; + + if (!getFirstAddressLine() + .equals(other.getFirstAddressLine())) return false; + if (!getFirm() + .equals(other.getFirm())) return false; + if (!getSecondAddressLine() + .equals(other.getSecondAddressLine())) return false; + if (!getUrbanization() + .equals(other.getUrbanization())) return false; + if (!getCityStateZipAddressLine() + .equals(other.getCityStateZipAddressLine())) return false; + if (!getCity() + .equals(other.getCity())) return false; + if (!getState() + .equals(other.getState())) return false; + if (!getZipCode() + .equals(other.getZipCode())) return false; + if (!getZipCodeExtension() + .equals(other.getZipCodeExtension())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -652,136 +614,130 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsAddress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * USPS representation of a US address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsAddress} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsAddress) com.google.maps.addressvalidation.v1.UspsAddressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsAddress.class, - com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); + com.google.maps.addressvalidation.v1.UspsAddress.class, com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.UspsAddress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -807,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override @@ -828,8 +784,7 @@ public com.google.maps.addressvalidation.v1.UspsAddress build() { @java.lang.Override public com.google.maps.addressvalidation.v1.UspsAddress buildPartial() { - com.google.maps.addressvalidation.v1.UspsAddress result = - new com.google.maps.addressvalidation.v1.UspsAddress(this); + com.google.maps.addressvalidation.v1.UspsAddress result = new com.google.maps.addressvalidation.v1.UspsAddress(this); result.firstAddressLine_ = firstAddressLine_; result.firm_ = firm_; result.secondAddressLine_ = secondAddressLine_; @@ -847,39 +802,38 @@ public com.google.maps.addressvalidation.v1.UspsAddress buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.UspsAddress) { - return mergeFrom((com.google.maps.addressvalidation.v1.UspsAddress) other); + return mergeFrom((com.google.maps.addressvalidation.v1.UspsAddress)other); } else { super.mergeFrom(other); return this; @@ -887,8 +841,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.UspsAddress other) { - if (other == com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) return this; if (!other.getFirstAddressLine().isEmpty()) { firstAddressLine_ = other.firstAddressLine_; onChanged(); @@ -951,67 +904,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firstAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - firm_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - secondAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - urbanization_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - cityStateZipAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - city_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - state_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - zipCode_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - zipCodeExtension_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firstAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + firm_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + secondAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + urbanization_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + cityStateZipAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + city_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + state_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + zipCode_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + zipCodeExtension_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1024,20 +967,18 @@ public Builder mergeFrom( private java.lang.Object firstAddressLine_ = ""; /** - * - * *
      * First address line.
      * 
* * string first_address_line = 1; - * * @return The firstAddressLine. */ public java.lang.String getFirstAddressLine() { java.lang.Object ref = firstAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstAddressLine_ = s; return s; @@ -1046,21 +987,20 @@ public java.lang.String getFirstAddressLine() { } } /** - * - * *
      * First address line.
      * 
* * string first_address_line = 1; - * * @return The bytes for firstAddressLine. */ - public com.google.protobuf.ByteString getFirstAddressLineBytes() { + public com.google.protobuf.ByteString + getFirstAddressLineBytes() { java.lang.Object ref = firstAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firstAddressLine_ = b; return b; } else { @@ -1068,61 +1008,54 @@ public com.google.protobuf.ByteString getFirstAddressLineBytes() { } } /** - * - * *
      * First address line.
      * 
* * string first_address_line = 1; - * * @param value The firstAddressLine to set. * @return This builder for chaining. */ - public Builder setFirstAddressLine(java.lang.String value) { + public Builder setFirstAddressLine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firstAddressLine_ = value; onChanged(); return this; } /** - * - * *
      * First address line.
      * 
* * string first_address_line = 1; - * * @return This builder for chaining. */ public Builder clearFirstAddressLine() { - + firstAddressLine_ = getDefaultInstance().getFirstAddressLine(); onChanged(); return this; } /** - * - * *
      * First address line.
      * 
* * string first_address_line = 1; - * * @param value The bytes for firstAddressLine to set. * @return This builder for chaining. */ - public Builder setFirstAddressLineBytes(com.google.protobuf.ByteString value) { + public Builder setFirstAddressLineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firstAddressLine_ = value; onChanged(); return this; @@ -1130,20 +1063,18 @@ public Builder setFirstAddressLineBytes(com.google.protobuf.ByteString value) { private java.lang.Object firm_ = ""; /** - * - * *
      * Firm name.
      * 
* * string firm = 2; - * * @return The firm. */ public java.lang.String getFirm() { java.lang.Object ref = firm_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firm_ = s; return s; @@ -1152,21 +1083,20 @@ public java.lang.String getFirm() { } } /** - * - * *
      * Firm name.
      * 
* * string firm = 2; - * * @return The bytes for firm. */ - public com.google.protobuf.ByteString getFirmBytes() { + public com.google.protobuf.ByteString + getFirmBytes() { java.lang.Object ref = firm_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firm_ = b; return b; } else { @@ -1174,61 +1104,54 @@ public com.google.protobuf.ByteString getFirmBytes() { } } /** - * - * *
      * Firm name.
      * 
* * string firm = 2; - * * @param value The firm to set. * @return This builder for chaining. */ - public Builder setFirm(java.lang.String value) { + public Builder setFirm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firm_ = value; onChanged(); return this; } /** - * - * *
      * Firm name.
      * 
* * string firm = 2; - * * @return This builder for chaining. */ public Builder clearFirm() { - + firm_ = getDefaultInstance().getFirm(); onChanged(); return this; } /** - * - * *
      * Firm name.
      * 
* * string firm = 2; - * * @param value The bytes for firm to set. * @return This builder for chaining. */ - public Builder setFirmBytes(com.google.protobuf.ByteString value) { + public Builder setFirmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firm_ = value; onChanged(); return this; @@ -1236,20 +1159,18 @@ public Builder setFirmBytes(com.google.protobuf.ByteString value) { private java.lang.Object secondAddressLine_ = ""; /** - * - * *
      * Second address line.
      * 
* * string second_address_line = 3; - * * @return The secondAddressLine. */ public java.lang.String getSecondAddressLine() { java.lang.Object ref = secondAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondAddressLine_ = s; return s; @@ -1258,21 +1179,20 @@ public java.lang.String getSecondAddressLine() { } } /** - * - * *
      * Second address line.
      * 
* * string second_address_line = 3; - * * @return The bytes for secondAddressLine. */ - public com.google.protobuf.ByteString getSecondAddressLineBytes() { + public com.google.protobuf.ByteString + getSecondAddressLineBytes() { java.lang.Object ref = secondAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secondAddressLine_ = b; return b; } else { @@ -1280,61 +1200,54 @@ public com.google.protobuf.ByteString getSecondAddressLineBytes() { } } /** - * - * *
      * Second address line.
      * 
* * string second_address_line = 3; - * * @param value The secondAddressLine to set. * @return This builder for chaining. */ - public Builder setSecondAddressLine(java.lang.String value) { + public Builder setSecondAddressLine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secondAddressLine_ = value; onChanged(); return this; } /** - * - * *
      * Second address line.
      * 
* * string second_address_line = 3; - * * @return This builder for chaining. */ public Builder clearSecondAddressLine() { - + secondAddressLine_ = getDefaultInstance().getSecondAddressLine(); onChanged(); return this; } /** - * - * *
      * Second address line.
      * 
* * string second_address_line = 3; - * * @param value The bytes for secondAddressLine to set. * @return This builder for chaining. */ - public Builder setSecondAddressLineBytes(com.google.protobuf.ByteString value) { + public Builder setSecondAddressLineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secondAddressLine_ = value; onChanged(); return this; @@ -1342,20 +1255,18 @@ public Builder setSecondAddressLineBytes(com.google.protobuf.ByteString value) { private java.lang.Object urbanization_ = ""; /** - * - * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; - * * @return The urbanization. */ public java.lang.String getUrbanization() { java.lang.Object ref = urbanization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); urbanization_ = s; return s; @@ -1364,21 +1275,20 @@ public java.lang.String getUrbanization() { } } /** - * - * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; - * * @return The bytes for urbanization. */ - public com.google.protobuf.ByteString getUrbanizationBytes() { + public com.google.protobuf.ByteString + getUrbanizationBytes() { java.lang.Object ref = urbanization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); urbanization_ = b; return b; } else { @@ -1386,61 +1296,54 @@ public com.google.protobuf.ByteString getUrbanizationBytes() { } } /** - * - * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; - * * @param value The urbanization to set. * @return This builder for chaining. */ - public Builder setUrbanization(java.lang.String value) { + public Builder setUrbanization( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + urbanization_ = value; onChanged(); return this; } /** - * - * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; - * * @return This builder for chaining. */ public Builder clearUrbanization() { - + urbanization_ = getDefaultInstance().getUrbanization(); onChanged(); return this; } /** - * - * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; - * * @param value The bytes for urbanization to set. * @return This builder for chaining. */ - public Builder setUrbanizationBytes(com.google.protobuf.ByteString value) { + public Builder setUrbanizationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + urbanization_ = value; onChanged(); return this; @@ -1448,20 +1351,18 @@ public Builder setUrbanizationBytes(com.google.protobuf.ByteString value) { private java.lang.Object cityStateZipAddressLine_ = ""; /** - * - * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; - * * @return The cityStateZipAddressLine. */ public java.lang.String getCityStateZipAddressLine() { java.lang.Object ref = cityStateZipAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cityStateZipAddressLine_ = s; return s; @@ -1470,21 +1371,20 @@ public java.lang.String getCityStateZipAddressLine() { } } /** - * - * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; - * * @return The bytes for cityStateZipAddressLine. */ - public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { + public com.google.protobuf.ByteString + getCityStateZipAddressLineBytes() { java.lang.Object ref = cityStateZipAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cityStateZipAddressLine_ = b; return b; } else { @@ -1492,61 +1392,54 @@ public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { } } /** - * - * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; - * * @param value The cityStateZipAddressLine to set. * @return This builder for chaining. */ - public Builder setCityStateZipAddressLine(java.lang.String value) { + public Builder setCityStateZipAddressLine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cityStateZipAddressLine_ = value; onChanged(); return this; } /** - * - * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; - * * @return This builder for chaining. */ public Builder clearCityStateZipAddressLine() { - + cityStateZipAddressLine_ = getDefaultInstance().getCityStateZipAddressLine(); onChanged(); return this; } /** - * - * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; - * * @param value The bytes for cityStateZipAddressLine to set. * @return This builder for chaining. */ - public Builder setCityStateZipAddressLineBytes(com.google.protobuf.ByteString value) { + public Builder setCityStateZipAddressLineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cityStateZipAddressLine_ = value; onChanged(); return this; @@ -1554,20 +1447,18 @@ public Builder setCityStateZipAddressLineBytes(com.google.protobuf.ByteString va private java.lang.Object city_ = ""; /** - * - * *
      * City name.
      * 
* * string city = 6; - * * @return The city. */ public java.lang.String getCity() { java.lang.Object ref = city_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); city_ = s; return s; @@ -1576,21 +1467,20 @@ public java.lang.String getCity() { } } /** - * - * *
      * City name.
      * 
* * string city = 6; - * * @return The bytes for city. */ - public com.google.protobuf.ByteString getCityBytes() { + public com.google.protobuf.ByteString + getCityBytes() { java.lang.Object ref = city_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); city_ = b; return b; } else { @@ -1598,61 +1488,54 @@ public com.google.protobuf.ByteString getCityBytes() { } } /** - * - * *
      * City name.
      * 
* * string city = 6; - * * @param value The city to set. * @return This builder for chaining. */ - public Builder setCity(java.lang.String value) { + public Builder setCity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + city_ = value; onChanged(); return this; } /** - * - * *
      * City name.
      * 
* * string city = 6; - * * @return This builder for chaining. */ public Builder clearCity() { - + city_ = getDefaultInstance().getCity(); onChanged(); return this; } /** - * - * *
      * City name.
      * 
* * string city = 6; - * * @param value The bytes for city to set. * @return This builder for chaining. */ - public Builder setCityBytes(com.google.protobuf.ByteString value) { + public Builder setCityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + city_ = value; onChanged(); return this; @@ -1660,20 +1543,18 @@ public Builder setCityBytes(com.google.protobuf.ByteString value) { private java.lang.Object state_ = ""; /** - * - * *
      * 2 letter state code.
      * 
* * string state = 7; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -1682,21 +1563,20 @@ public java.lang.String getState() { } } /** - * - * *
      * 2 letter state code.
      * 
* * string state = 7; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -1704,61 +1584,54 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
      * 2 letter state code.
      * 
* * string state = 7; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { + public Builder setState( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** - * - * *
      * 2 letter state code.
      * 
* * string state = 7; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** - * - * *
      * 2 letter state code.
      * 
* * string state = 7; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { + public Builder setStateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; onChanged(); return this; @@ -1766,20 +1639,18 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { private java.lang.Object zipCode_ = ""; /** - * - * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; - * * @return The zipCode. */ public java.lang.String getZipCode() { java.lang.Object ref = zipCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCode_ = s; return s; @@ -1788,21 +1659,20 @@ public java.lang.String getZipCode() { } } /** - * - * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; - * * @return The bytes for zipCode. */ - public com.google.protobuf.ByteString getZipCodeBytes() { + public com.google.protobuf.ByteString + getZipCodeBytes() { java.lang.Object ref = zipCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zipCode_ = b; return b; } else { @@ -1810,61 +1680,54 @@ public com.google.protobuf.ByteString getZipCodeBytes() { } } /** - * - * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; - * * @param value The zipCode to set. * @return This builder for chaining. */ - public Builder setZipCode(java.lang.String value) { + public Builder setZipCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zipCode_ = value; onChanged(); return this; } /** - * - * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; - * * @return This builder for chaining. */ public Builder clearZipCode() { - + zipCode_ = getDefaultInstance().getZipCode(); onChanged(); return this; } /** - * - * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; - * * @param value The bytes for zipCode to set. * @return This builder for chaining. */ - public Builder setZipCodeBytes(com.google.protobuf.ByteString value) { + public Builder setZipCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zipCode_ = value; onChanged(); return this; @@ -1872,20 +1735,18 @@ public Builder setZipCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object zipCodeExtension_ = ""; /** - * - * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; - * * @return The zipCodeExtension. */ public java.lang.String getZipCodeExtension() { java.lang.Object ref = zipCodeExtension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCodeExtension_ = s; return s; @@ -1894,21 +1755,20 @@ public java.lang.String getZipCodeExtension() { } } /** - * - * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; - * * @return The bytes for zipCodeExtension. */ - public com.google.protobuf.ByteString getZipCodeExtensionBytes() { + public com.google.protobuf.ByteString + getZipCodeExtensionBytes() { java.lang.Object ref = zipCodeExtension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zipCodeExtension_ = b; return b; } else { @@ -1916,68 +1776,61 @@ public com.google.protobuf.ByteString getZipCodeExtensionBytes() { } } /** - * - * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; - * * @param value The zipCodeExtension to set. * @return This builder for chaining. */ - public Builder setZipCodeExtension(java.lang.String value) { + public Builder setZipCodeExtension( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zipCodeExtension_ = value; onChanged(); return this; } /** - * - * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; - * * @return This builder for chaining. */ public Builder clearZipCodeExtension() { - + zipCodeExtension_ = getDefaultInstance().getZipCodeExtension(); onChanged(); return this; } /** - * - * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; - * * @param value The bytes for zipCodeExtension to set. * @return This builder for chaining. */ - public Builder setZipCodeExtensionBytes(com.google.protobuf.ByteString value) { + public Builder setZipCodeExtensionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zipCodeExtension_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1987,12 +1840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.UspsAddress) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.UspsAddress) private static final com.google.maps.addressvalidation.v1.UspsAddress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.UspsAddress(); } @@ -2001,27 +1854,27 @@ public static com.google.maps.addressvalidation.v1.UspsAddress getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UspsAddress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UspsAddress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2036,4 +1889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.UspsAddress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java similarity index 69% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java index 785d1fe45efd..6bbb0b800a93 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java @@ -1,250 +1,189 @@ -/* - * 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/usps_data.proto package com.google.maps.addressvalidation.v1; -public interface UspsAddressOrBuilder - extends +public interface UspsAddressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.UspsAddress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * First address line.
    * 
* * string first_address_line = 1; - * * @return The firstAddressLine. */ java.lang.String getFirstAddressLine(); /** - * - * *
    * First address line.
    * 
* * string first_address_line = 1; - * * @return The bytes for firstAddressLine. */ - com.google.protobuf.ByteString getFirstAddressLineBytes(); + com.google.protobuf.ByteString + getFirstAddressLineBytes(); /** - * - * *
    * Firm name.
    * 
* * string firm = 2; - * * @return The firm. */ java.lang.String getFirm(); /** - * - * *
    * Firm name.
    * 
* * string firm = 2; - * * @return The bytes for firm. */ - com.google.protobuf.ByteString getFirmBytes(); + com.google.protobuf.ByteString + getFirmBytes(); /** - * - * *
    * Second address line.
    * 
* * string second_address_line = 3; - * * @return The secondAddressLine. */ java.lang.String getSecondAddressLine(); /** - * - * *
    * Second address line.
    * 
* * string second_address_line = 3; - * * @return The bytes for secondAddressLine. */ - com.google.protobuf.ByteString getSecondAddressLineBytes(); + com.google.protobuf.ByteString + getSecondAddressLineBytes(); /** - * - * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; - * * @return The urbanization. */ java.lang.String getUrbanization(); /** - * - * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; - * * @return The bytes for urbanization. */ - com.google.protobuf.ByteString getUrbanizationBytes(); + com.google.protobuf.ByteString + getUrbanizationBytes(); /** - * - * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; - * * @return The cityStateZipAddressLine. */ java.lang.String getCityStateZipAddressLine(); /** - * - * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; - * * @return The bytes for cityStateZipAddressLine. */ - com.google.protobuf.ByteString getCityStateZipAddressLineBytes(); + com.google.protobuf.ByteString + getCityStateZipAddressLineBytes(); /** - * - * *
    * City name.
    * 
* * string city = 6; - * * @return The city. */ java.lang.String getCity(); /** - * - * *
    * City name.
    * 
* * string city = 6; - * * @return The bytes for city. */ - com.google.protobuf.ByteString getCityBytes(); + com.google.protobuf.ByteString + getCityBytes(); /** - * - * *
    * 2 letter state code.
    * 
* * string state = 7; - * * @return The state. */ java.lang.String getState(); /** - * - * *
    * 2 letter state code.
    * 
* * string state = 7; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); /** - * - * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; - * * @return The zipCode. */ java.lang.String getZipCode(); /** - * - * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; - * * @return The bytes for zipCode. */ - com.google.protobuf.ByteString getZipCodeBytes(); + com.google.protobuf.ByteString + getZipCodeBytes(); /** - * - * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; - * * @return The zipCodeExtension. */ java.lang.String getZipCodeExtension(); /** - * - * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; - * * @return The bytes for zipCodeExtension. */ - com.google.protobuf.ByteString getZipCodeExtensionBytes(); + com.google.protobuf.ByteString + getZipCodeExtensionBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java similarity index 77% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java index 7a704173c994..7f9b149c5fca 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java @@ -1,42 +1,24 @@ -/* - * 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/usps_data.proto package com.google.maps.addressvalidation.v1; /** - * - * *
  * The USPS data for the address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsData} */ -public final class UspsData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UspsData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.UspsData) UspsDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UspsData.newBuilder() to construct. private UspsData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UspsData() { deliveryPointCode_ = ""; deliveryPointCheckDigit_ = ""; @@ -65,41 +47,37 @@ private UspsData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UspsData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsData.class, - com.google.maps.addressvalidation.v1.UspsData.Builder.class); + com.google.maps.addressvalidation.v1.UspsData.class, com.google.maps.addressvalidation.v1.UspsData.Builder.class); } public static final int STANDARDIZED_ADDRESS_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; /** - * - * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * * @return Whether the standardizedAddress field is set. */ @java.lang.Override @@ -107,25 +85,18 @@ public boolean hasStandardizedAddress() { return standardizedAddress_ != null; } /** - * - * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * * @return The standardizedAddress. */ @java.lang.Override public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { - return standardizedAddress_ == null - ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() - : standardizedAddress_; + return standardizedAddress_ == null ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; } /** - * - * *
    * USPS standardized address.
    * 
@@ -133,22 +104,18 @@ public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ @java.lang.Override - public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder - getStandardizedAddressOrBuilder() { + public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder() { return getStandardizedAddress(); } public static final int DELIVERY_POINT_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object deliveryPointCode_; /** - * - * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; - * * @return The deliveryPointCode. */ @java.lang.Override @@ -157,29 +124,29 @@ public java.lang.String getDeliveryPointCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCode_ = s; return s; } } /** - * - * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; - * * @return The bytes for deliveryPointCode. */ @java.lang.Override - public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { + public com.google.protobuf.ByteString + getDeliveryPointCodeBytes() { java.lang.Object ref = deliveryPointCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deliveryPointCode_ = b; return b; } else { @@ -190,8 +157,6 @@ public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { public static final int DELIVERY_POINT_CHECK_DIGIT_FIELD_NUMBER = 3; private volatile java.lang.Object deliveryPointCheckDigit_; /** - * - * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -200,7 +165,6 @@ public com.google.protobuf.ByteString getDeliveryPointCodeBytes() {
    * 
* * string delivery_point_check_digit = 3; - * * @return The deliveryPointCheckDigit. */ @java.lang.Override @@ -209,15 +173,14 @@ public java.lang.String getDeliveryPointCheckDigit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCheckDigit_ = s; return s; } } /** - * - * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -226,15 +189,16 @@ public java.lang.String getDeliveryPointCheckDigit() {
    * 
* * string delivery_point_check_digit = 3; - * * @return The bytes for deliveryPointCheckDigit. */ @java.lang.Override - public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { + public com.google.protobuf.ByteString + getDeliveryPointCheckDigitBytes() { java.lang.Object ref = deliveryPointCheckDigit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deliveryPointCheckDigit_ = b; return b; } else { @@ -245,8 +209,6 @@ public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { public static final int DPV_CONFIRMATION_FIELD_NUMBER = 4; private volatile java.lang.Object dpvConfirmation_; /** - * - * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -259,7 +221,6 @@ public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() {
    * 
* * string dpv_confirmation = 4; - * * @return The dpvConfirmation. */ @java.lang.Override @@ -268,15 +229,14 @@ public java.lang.String getDpvConfirmation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvConfirmation_ = s; return s; } } /** - * - * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -289,15 +249,16 @@ public java.lang.String getDpvConfirmation() {
    * 
* * string dpv_confirmation = 4; - * * @return The bytes for dpvConfirmation. */ @java.lang.Override - public com.google.protobuf.ByteString getDpvConfirmationBytes() { + public com.google.protobuf.ByteString + getDpvConfirmationBytes() { java.lang.Object ref = dpvConfirmation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvConfirmation_ = b; return b; } else { @@ -308,8 +269,6 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() { public static final int DPV_FOOTNOTE_FIELD_NUMBER = 5; private volatile java.lang.Object dpvFootnote_; /** - * - * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -332,7 +291,6 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() {
    * 
* * string dpv_footnote = 5; - * * @return The dpvFootnote. */ @java.lang.Override @@ -341,15 +299,14 @@ public java.lang.String getDpvFootnote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvFootnote_ = s; return s; } } /** - * - * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -372,15 +329,16 @@ public java.lang.String getDpvFootnote() {
    * 
* * string dpv_footnote = 5; - * * @return The bytes for dpvFootnote. */ @java.lang.Override - public com.google.protobuf.ByteString getDpvFootnoteBytes() { + public com.google.protobuf.ByteString + getDpvFootnoteBytes() { java.lang.Object ref = dpvFootnote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvFootnote_ = b; return b; } else { @@ -391,8 +349,6 @@ public com.google.protobuf.ByteString getDpvFootnoteBytes() { public static final int DPV_CMRA_FIELD_NUMBER = 6; private volatile java.lang.Object dpvCmra_; /** - * - * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -401,7 +357,6 @@ public com.google.protobuf.ByteString getDpvFootnoteBytes() {
    * 
* * string dpv_cmra = 6; - * * @return The dpvCmra. */ @java.lang.Override @@ -410,15 +365,14 @@ public java.lang.String getDpvCmra() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvCmra_ = s; return s; } } /** - * - * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -427,15 +381,16 @@ public java.lang.String getDpvCmra() {
    * 
* * string dpv_cmra = 6; - * * @return The bytes for dpvCmra. */ @java.lang.Override - public com.google.protobuf.ByteString getDpvCmraBytes() { + public com.google.protobuf.ByteString + getDpvCmraBytes() { java.lang.Object ref = dpvCmra_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvCmra_ = b; return b; } else { @@ -446,8 +401,6 @@ public com.google.protobuf.ByteString getDpvCmraBytes() { public static final int DPV_VACANT_FIELD_NUMBER = 7; private volatile java.lang.Object dpvVacant_; /** - * - * *
    * Is this place vacant?
    * Returns a single character.
@@ -456,7 +409,6 @@ public com.google.protobuf.ByteString getDpvCmraBytes() {
    * 
* * string dpv_vacant = 7; - * * @return The dpvVacant. */ @java.lang.Override @@ -465,15 +417,14 @@ public java.lang.String getDpvVacant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvVacant_ = s; return s; } } /** - * - * *
    * Is this place vacant?
    * Returns a single character.
@@ -482,15 +433,16 @@ public java.lang.String getDpvVacant() {
    * 
* * string dpv_vacant = 7; - * * @return The bytes for dpvVacant. */ @java.lang.Override - public com.google.protobuf.ByteString getDpvVacantBytes() { + public com.google.protobuf.ByteString + getDpvVacantBytes() { java.lang.Object ref = dpvVacant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvVacant_ = b; return b; } else { @@ -501,8 +453,6 @@ public com.google.protobuf.ByteString getDpvVacantBytes() { public static final int DPV_NO_STAT_FIELD_NUMBER = 8; private volatile java.lang.Object dpvNoStat_; /** - * - * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -512,7 +462,6 @@ public com.google.protobuf.ByteString getDpvVacantBytes() {
    * 
* * string dpv_no_stat = 8; - * * @return The dpvNoStat. */ @java.lang.Override @@ -521,15 +470,14 @@ public java.lang.String getDpvNoStat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvNoStat_ = s; return s; } } /** - * - * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -539,15 +487,16 @@ public java.lang.String getDpvNoStat() {
    * 
* * string dpv_no_stat = 8; - * * @return The bytes for dpvNoStat. */ @java.lang.Override - public com.google.protobuf.ByteString getDpvNoStatBytes() { + public com.google.protobuf.ByteString + getDpvNoStatBytes() { java.lang.Object ref = dpvNoStat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvNoStat_ = b; return b; } else { @@ -558,8 +507,6 @@ public com.google.protobuf.ByteString getDpvNoStatBytes() { public static final int CARRIER_ROUTE_FIELD_NUMBER = 9; private volatile java.lang.Object carrierRoute_; /** - * - * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -573,7 +520,6 @@ public com.google.protobuf.ByteString getDpvNoStatBytes() {
    * 
* * string carrier_route = 9; - * * @return The carrierRoute. */ @java.lang.Override @@ -582,15 +528,14 @@ public java.lang.String getCarrierRoute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRoute_ = s; return s; } } /** - * - * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -604,15 +549,16 @@ public java.lang.String getCarrierRoute() {
    * 
* * string carrier_route = 9; - * * @return The bytes for carrierRoute. */ @java.lang.Override - public com.google.protobuf.ByteString getCarrierRouteBytes() { + public com.google.protobuf.ByteString + getCarrierRouteBytes() { java.lang.Object ref = carrierRoute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); carrierRoute_ = b; return b; } else { @@ -623,14 +569,11 @@ public com.google.protobuf.ByteString getCarrierRouteBytes() { public static final int CARRIER_ROUTE_INDICATOR_FIELD_NUMBER = 10; private volatile java.lang.Object carrierRouteIndicator_; /** - * - * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; - * * @return The carrierRouteIndicator. */ @java.lang.Override @@ -639,29 +582,29 @@ public java.lang.String getCarrierRouteIndicator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRouteIndicator_ = s; return s; } } /** - * - * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; - * * @return The bytes for carrierRouteIndicator. */ @java.lang.Override - public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { + public com.google.protobuf.ByteString + getCarrierRouteIndicatorBytes() { java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); carrierRouteIndicator_ = b; return b; } else { @@ -672,15 +615,12 @@ public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { public static final int EWS_NO_MATCH_FIELD_NUMBER = 11; private boolean ewsNoMatch_; /** - * - * *
    * The delivery address is matchable, but the EWS file indicates that an exact
    * match will be available soon.
    * 
* * bool ews_no_match = 11; - * * @return The ewsNoMatch. */ @java.lang.Override @@ -691,14 +631,11 @@ public boolean getEwsNoMatch() { public static final int POST_OFFICE_CITY_FIELD_NUMBER = 12; private volatile java.lang.Object postOfficeCity_; /** - * - * *
    * Main post office city.
    * 
* * string post_office_city = 12; - * * @return The postOfficeCity. */ @java.lang.Override @@ -707,29 +644,29 @@ public java.lang.String getPostOfficeCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeCity_ = s; return s; } } /** - * - * *
    * Main post office city.
    * 
* * string post_office_city = 12; - * * @return The bytes for postOfficeCity. */ @java.lang.Override - public com.google.protobuf.ByteString getPostOfficeCityBytes() { + public com.google.protobuf.ByteString + getPostOfficeCityBytes() { java.lang.Object ref = postOfficeCity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); postOfficeCity_ = b; return b; } else { @@ -740,14 +677,11 @@ public com.google.protobuf.ByteString getPostOfficeCityBytes() { public static final int POST_OFFICE_STATE_FIELD_NUMBER = 13; private volatile java.lang.Object postOfficeState_; /** - * - * *
    * Main post office state.
    * 
* * string post_office_state = 13; - * * @return The postOfficeState. */ @java.lang.Override @@ -756,29 +690,29 @@ public java.lang.String getPostOfficeState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeState_ = s; return s; } } /** - * - * *
    * Main post office state.
    * 
* * string post_office_state = 13; - * * @return The bytes for postOfficeState. */ @java.lang.Override - public com.google.protobuf.ByteString getPostOfficeStateBytes() { + public com.google.protobuf.ByteString + getPostOfficeStateBytes() { java.lang.Object ref = postOfficeState_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); postOfficeState_ = b; return b; } else { @@ -789,14 +723,11 @@ public com.google.protobuf.ByteString getPostOfficeStateBytes() { public static final int ABBREVIATED_CITY_FIELD_NUMBER = 14; private volatile java.lang.Object abbreviatedCity_; /** - * - * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; - * * @return The abbreviatedCity. */ @java.lang.Override @@ -805,29 +736,29 @@ public java.lang.String getAbbreviatedCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); abbreviatedCity_ = s; return s; } } /** - * - * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; - * * @return The bytes for abbreviatedCity. */ @java.lang.Override - public com.google.protobuf.ByteString getAbbreviatedCityBytes() { + public com.google.protobuf.ByteString + getAbbreviatedCityBytes() { java.lang.Object ref = abbreviatedCity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); abbreviatedCity_ = b; return b; } else { @@ -838,14 +769,11 @@ public com.google.protobuf.ByteString getAbbreviatedCityBytes() { public static final int FIPS_COUNTY_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object fipsCountyCode_; /** - * - * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; - * * @return The fipsCountyCode. */ @java.lang.Override @@ -854,29 +782,29 @@ public java.lang.String getFipsCountyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fipsCountyCode_ = s; return s; } } /** - * - * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; - * * @return The bytes for fipsCountyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getFipsCountyCodeBytes() { + public com.google.protobuf.ByteString + getFipsCountyCodeBytes() { java.lang.Object ref = fipsCountyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fipsCountyCode_ = b; return b; } else { @@ -887,14 +815,11 @@ public com.google.protobuf.ByteString getFipsCountyCodeBytes() { public static final int COUNTY_FIELD_NUMBER = 16; private volatile java.lang.Object county_; /** - * - * *
    * County name.
    * 
* * string county = 16; - * * @return The county. */ @java.lang.Override @@ -903,29 +828,29 @@ public java.lang.String getCounty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); county_ = s; return s; } } /** - * - * *
    * County name.
    * 
* * string county = 16; - * * @return The bytes for county. */ @java.lang.Override - public com.google.protobuf.ByteString getCountyBytes() { + public com.google.protobuf.ByteString + getCountyBytes() { java.lang.Object ref = county_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); county_ = b; return b; } else { @@ -936,14 +861,11 @@ public com.google.protobuf.ByteString getCountyBytes() { public static final int ELOT_NUMBER_FIELD_NUMBER = 17; private volatile java.lang.Object elotNumber_; /** - * - * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; - * * @return The elotNumber. */ @java.lang.Override @@ -952,29 +874,29 @@ public java.lang.String getElotNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotNumber_ = s; return s; } } /** - * - * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; - * * @return The bytes for elotNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getElotNumberBytes() { + public com.google.protobuf.ByteString + getElotNumberBytes() { java.lang.Object ref = elotNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); elotNumber_ = b; return b; } else { @@ -985,14 +907,11 @@ public com.google.protobuf.ByteString getElotNumberBytes() { public static final int ELOT_FLAG_FIELD_NUMBER = 18; private volatile java.lang.Object elotFlag_; /** - * - * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; - * * @return The elotFlag. */ @java.lang.Override @@ -1001,29 +920,29 @@ public java.lang.String getElotFlag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotFlag_ = s; return s; } } /** - * - * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; - * * @return The bytes for elotFlag. */ @java.lang.Override - public com.google.protobuf.ByteString getElotFlagBytes() { + public com.google.protobuf.ByteString + getElotFlagBytes() { java.lang.Object ref = elotFlag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); elotFlag_ = b; return b; } else { @@ -1034,14 +953,11 @@ public com.google.protobuf.ByteString getElotFlagBytes() { public static final int LACS_LINK_RETURN_CODE_FIELD_NUMBER = 19; private volatile java.lang.Object lacsLinkReturnCode_; /** - * - * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; - * * @return The lacsLinkReturnCode. */ @java.lang.Override @@ -1050,29 +966,29 @@ public java.lang.String getLacsLinkReturnCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkReturnCode_ = s; return s; } } /** - * - * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; - * * @return The bytes for lacsLinkReturnCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { + public com.google.protobuf.ByteString + getLacsLinkReturnCodeBytes() { java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lacsLinkReturnCode_ = b; return b; } else { @@ -1083,14 +999,11 @@ public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { public static final int LACS_LINK_INDICATOR_FIELD_NUMBER = 20; private volatile java.lang.Object lacsLinkIndicator_; /** - * - * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; - * * @return The lacsLinkIndicator. */ @java.lang.Override @@ -1099,29 +1012,29 @@ public java.lang.String getLacsLinkIndicator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkIndicator_ = s; return s; } } /** - * - * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; - * * @return The bytes for lacsLinkIndicator. */ @java.lang.Override - public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { + public com.google.protobuf.ByteString + getLacsLinkIndicatorBytes() { java.lang.Object ref = lacsLinkIndicator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lacsLinkIndicator_ = b; return b; } else { @@ -1132,14 +1045,11 @@ public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { public static final int PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER = 21; private boolean poBoxOnlyPostalCode_; /** - * - * *
    * PO Box only postal code.
    * 
* * bool po_box_only_postal_code = 21; - * * @return The poBoxOnlyPostalCode. */ @java.lang.Override @@ -1150,8 +1060,6 @@ public boolean getPoBoxOnlyPostalCode() { public static final int SUITELINK_FOOTNOTE_FIELD_NUMBER = 22; private volatile java.lang.Object suitelinkFootnote_; /** - * - * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -1160,7 +1068,6 @@ public boolean getPoBoxOnlyPostalCode() {
    * 
* * string suitelink_footnote = 22; - * * @return The suitelinkFootnote. */ @java.lang.Override @@ -1169,15 +1076,14 @@ public java.lang.String getSuitelinkFootnote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suitelinkFootnote_ = s; return s; } } /** - * - * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -1186,15 +1092,16 @@ public java.lang.String getSuitelinkFootnote() {
    * 
* * string suitelink_footnote = 22; - * * @return The bytes for suitelinkFootnote. */ @java.lang.Override - public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { + public com.google.protobuf.ByteString + getSuitelinkFootnoteBytes() { java.lang.Object ref = suitelinkFootnote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suitelinkFootnote_ = b; return b; } else { @@ -1205,14 +1112,11 @@ public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { public static final int PMB_DESIGNATOR_FIELD_NUMBER = 23; private volatile java.lang.Object pmbDesignator_; /** - * - * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; - * * @return The pmbDesignator. */ @java.lang.Override @@ -1221,29 +1125,29 @@ public java.lang.String getPmbDesignator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbDesignator_ = s; return s; } } /** - * - * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; - * * @return The bytes for pmbDesignator. */ @java.lang.Override - public com.google.protobuf.ByteString getPmbDesignatorBytes() { + public com.google.protobuf.ByteString + getPmbDesignatorBytes() { java.lang.Object ref = pmbDesignator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pmbDesignator_ = b; return b; } else { @@ -1254,14 +1158,11 @@ public com.google.protobuf.ByteString getPmbDesignatorBytes() { public static final int PMB_NUMBER_FIELD_NUMBER = 24; private volatile java.lang.Object pmbNumber_; /** - * - * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; - * * @return The pmbNumber. */ @java.lang.Override @@ -1270,29 +1171,29 @@ public java.lang.String getPmbNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbNumber_ = s; return s; } } /** - * - * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; - * * @return The bytes for pmbNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getPmbNumberBytes() { + public com.google.protobuf.ByteString + getPmbNumberBytes() { java.lang.Object ref = pmbNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pmbNumber_ = b; return b; } else { @@ -1303,8 +1204,6 @@ public com.google.protobuf.ByteString getPmbNumberBytes() { public static final int ADDRESS_RECORD_TYPE_FIELD_NUMBER = 25; private volatile java.lang.Object addressRecordType_; /** - * - * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -1321,7 +1220,6 @@ public com.google.protobuf.ByteString getPmbNumberBytes() {
    * 
* * string address_record_type = 25; - * * @return The addressRecordType. */ @java.lang.Override @@ -1330,15 +1228,14 @@ public java.lang.String getAddressRecordType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); addressRecordType_ = s; return s; } } /** - * - * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -1355,15 +1252,16 @@ public java.lang.String getAddressRecordType() {
    * 
* * string address_record_type = 25; - * * @return The bytes for addressRecordType. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressRecordTypeBytes() { + public com.google.protobuf.ByteString + getAddressRecordTypeBytes() { java.lang.Object ref = addressRecordType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); addressRecordType_ = b; return b; } else { @@ -1374,15 +1272,12 @@ public com.google.protobuf.ByteString getAddressRecordTypeBytes() { public static final int DEFAULT_ADDRESS_FIELD_NUMBER = 26; private boolean defaultAddress_; /** - * - * *
    * Indicator that a default address was found, but more specific addresses
    * exists.
    * 
* * bool default_address = 26; - * * @return The defaultAddress. */ @java.lang.Override @@ -1393,8 +1288,6 @@ public boolean getDefaultAddress() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 27; private volatile java.lang.Object errorMessage_; /** - * - * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -1403,7 +1296,6 @@ public boolean getDefaultAddress() {
    * 
* * string error_message = 27; - * * @return The errorMessage. */ @java.lang.Override @@ -1412,15 +1304,14 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** - * - * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -1429,15 +1320,16 @@ public java.lang.String getErrorMessage() {
    * 
* * string error_message = 27; - * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1448,14 +1340,11 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { public static final int CASS_PROCESSED_FIELD_NUMBER = 28; private boolean cassProcessed_; /** - * - * *
    * Indicator that the request has been CASS processed.
    * 
* * bool cass_processed = 28; - * * @return The cassProcessed. */ @java.lang.Override @@ -1464,7 +1353,6 @@ public boolean getCassProcessed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1476,7 +1364,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (standardizedAddress_ != null) { output.writeMessage(1, getStandardizedAddress()); } @@ -1571,7 +1460,8 @@ public int getSerializedSize() { size = 0; if (standardizedAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStandardizedAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStandardizedAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPointCode_); @@ -1601,7 +1491,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, carrierRouteIndicator_); } if (ewsNoMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, ewsNoMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, ewsNoMatch_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, postOfficeCity_); @@ -1631,7 +1522,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, lacsLinkIndicator_); } if (poBoxOnlyPostalCode_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, poBoxOnlyPostalCode_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(21, poBoxOnlyPostalCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suitelinkFootnote_); @@ -1646,13 +1538,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, addressRecordType_); } if (defaultAddress_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, defaultAddress_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(26, defaultAddress_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, errorMessage_); } if (cassProcessed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, cassProcessed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(28, cassProcessed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1662,45 +1556,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsData)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.UspsData other = - (com.google.maps.addressvalidation.v1.UspsData) obj; + com.google.maps.addressvalidation.v1.UspsData other = (com.google.maps.addressvalidation.v1.UspsData) obj; if (hasStandardizedAddress() != other.hasStandardizedAddress()) return false; if (hasStandardizedAddress()) { - if (!getStandardizedAddress().equals(other.getStandardizedAddress())) return false; - } - if (!getDeliveryPointCode().equals(other.getDeliveryPointCode())) return false; - if (!getDeliveryPointCheckDigit().equals(other.getDeliveryPointCheckDigit())) return false; - if (!getDpvConfirmation().equals(other.getDpvConfirmation())) return false; - if (!getDpvFootnote().equals(other.getDpvFootnote())) return false; - if (!getDpvCmra().equals(other.getDpvCmra())) return false; - if (!getDpvVacant().equals(other.getDpvVacant())) return false; - if (!getDpvNoStat().equals(other.getDpvNoStat())) return false; - if (!getCarrierRoute().equals(other.getCarrierRoute())) return false; - if (!getCarrierRouteIndicator().equals(other.getCarrierRouteIndicator())) return false; - if (getEwsNoMatch() != other.getEwsNoMatch()) return false; - if (!getPostOfficeCity().equals(other.getPostOfficeCity())) return false; - if (!getPostOfficeState().equals(other.getPostOfficeState())) return false; - if (!getAbbreviatedCity().equals(other.getAbbreviatedCity())) return false; - if (!getFipsCountyCode().equals(other.getFipsCountyCode())) return false; - if (!getCounty().equals(other.getCounty())) return false; - if (!getElotNumber().equals(other.getElotNumber())) return false; - if (!getElotFlag().equals(other.getElotFlag())) return false; - if (!getLacsLinkReturnCode().equals(other.getLacsLinkReturnCode())) return false; - if (!getLacsLinkIndicator().equals(other.getLacsLinkIndicator())) return false; - if (getPoBoxOnlyPostalCode() != other.getPoBoxOnlyPostalCode()) return false; - if (!getSuitelinkFootnote().equals(other.getSuitelinkFootnote())) return false; - if (!getPmbDesignator().equals(other.getPmbDesignator())) return false; - if (!getPmbNumber().equals(other.getPmbNumber())) return false; - if (!getAddressRecordType().equals(other.getAddressRecordType())) return false; - if (getDefaultAddress() != other.getDefaultAddress()) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; - if (getCassProcessed() != other.getCassProcessed()) return false; + if (!getStandardizedAddress() + .equals(other.getStandardizedAddress())) return false; + } + if (!getDeliveryPointCode() + .equals(other.getDeliveryPointCode())) return false; + if (!getDeliveryPointCheckDigit() + .equals(other.getDeliveryPointCheckDigit())) return false; + if (!getDpvConfirmation() + .equals(other.getDpvConfirmation())) return false; + if (!getDpvFootnote() + .equals(other.getDpvFootnote())) return false; + if (!getDpvCmra() + .equals(other.getDpvCmra())) return false; + if (!getDpvVacant() + .equals(other.getDpvVacant())) return false; + if (!getDpvNoStat() + .equals(other.getDpvNoStat())) return false; + if (!getCarrierRoute() + .equals(other.getCarrierRoute())) return false; + if (!getCarrierRouteIndicator() + .equals(other.getCarrierRouteIndicator())) return false; + if (getEwsNoMatch() + != other.getEwsNoMatch()) return false; + if (!getPostOfficeCity() + .equals(other.getPostOfficeCity())) return false; + if (!getPostOfficeState() + .equals(other.getPostOfficeState())) return false; + if (!getAbbreviatedCity() + .equals(other.getAbbreviatedCity())) return false; + if (!getFipsCountyCode() + .equals(other.getFipsCountyCode())) return false; + if (!getCounty() + .equals(other.getCounty())) return false; + if (!getElotNumber() + .equals(other.getElotNumber())) return false; + if (!getElotFlag() + .equals(other.getElotFlag())) return false; + if (!getLacsLinkReturnCode() + .equals(other.getLacsLinkReturnCode())) return false; + if (!getLacsLinkIndicator() + .equals(other.getLacsLinkIndicator())) return false; + if (getPoBoxOnlyPostalCode() + != other.getPoBoxOnlyPostalCode()) return false; + if (!getSuitelinkFootnote() + .equals(other.getSuitelinkFootnote())) return false; + if (!getPmbDesignator() + .equals(other.getPmbDesignator())) return false; + if (!getPmbNumber() + .equals(other.getPmbNumber())) return false; + if (!getAddressRecordType() + .equals(other.getAddressRecordType())) return false; + if (getDefaultAddress() + != other.getDefaultAddress()) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + if (getCassProcessed() + != other.getCassProcessed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1735,7 +1656,8 @@ public int hashCode() { hash = (37 * hash) + CARRIER_ROUTE_INDICATOR_FIELD_NUMBER; hash = (53 * hash) + getCarrierRouteIndicator().hashCode(); hash = (37 * hash) + EWS_NO_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEwsNoMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEwsNoMatch()); hash = (37 * hash) + POST_OFFICE_CITY_FIELD_NUMBER; hash = (53 * hash) + getPostOfficeCity().hashCode(); hash = (37 * hash) + POST_OFFICE_STATE_FIELD_NUMBER; @@ -1755,7 +1677,8 @@ public int hashCode() { hash = (37 * hash) + LACS_LINK_INDICATOR_FIELD_NUMBER; hash = (53 * hash) + getLacsLinkIndicator().hashCode(); hash = (37 * hash) + PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBoxOnlyPostalCode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPoBoxOnlyPostalCode()); hash = (37 * hash) + SUITELINK_FOOTNOTE_FIELD_NUMBER; hash = (53 * hash) + getSuitelinkFootnote().hashCode(); hash = (37 * hash) + PMB_DESIGNATOR_FIELD_NUMBER; @@ -1765,146 +1688,142 @@ public int hashCode() { hash = (37 * hash) + ADDRESS_RECORD_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAddressRecordType().hashCode(); hash = (37 * hash) + DEFAULT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDefaultAddress()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + CASS_PROCESSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCassProcessed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCassProcessed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The USPS data for the address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsData) com.google.maps.addressvalidation.v1.UspsDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsData.class, - com.google.maps.addressvalidation.v1.UspsData.Builder.class); + com.google.maps.addressvalidation.v1.UspsData.class, com.google.maps.addressvalidation.v1.UspsData.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.UspsData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1972,9 +1891,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override @@ -1993,8 +1912,7 @@ public com.google.maps.addressvalidation.v1.UspsData build() { @java.lang.Override public com.google.maps.addressvalidation.v1.UspsData buildPartial() { - com.google.maps.addressvalidation.v1.UspsData result = - new com.google.maps.addressvalidation.v1.UspsData(this); + com.google.maps.addressvalidation.v1.UspsData result = new com.google.maps.addressvalidation.v1.UspsData(this); if (standardizedAddressBuilder_ == null) { result.standardizedAddress_ = standardizedAddress_; } else { @@ -2035,39 +1953,38 @@ public com.google.maps.addressvalidation.v1.UspsData buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.UspsData) { - return mergeFrom((com.google.maps.addressvalidation.v1.UspsData) other); + return mergeFrom((com.google.maps.addressvalidation.v1.UspsData)other); } else { super.mergeFrom(other); return this; @@ -2209,243 +2126,202 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getStandardizedAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - deliveryPointCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - deliveryPointCheckDigit_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - dpvConfirmation_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - dpvFootnote_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - dpvCmra_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - dpvVacant_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - dpvNoStat_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - carrierRoute_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - carrierRouteIndicator_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: - { - ewsNoMatch_ = input.readBool(); - - break; - } // case 88 - case 98: - { - postOfficeCity_ = input.readStringRequireUtf8(); - - break; - } // case 98 - case 106: - { - postOfficeState_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 114: - { - abbreviatedCity_ = input.readStringRequireUtf8(); - - break; - } // case 114 - case 122: - { - fipsCountyCode_ = input.readStringRequireUtf8(); - - break; - } // case 122 - case 130: - { - county_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 138: - { - elotNumber_ = input.readStringRequireUtf8(); - - break; - } // case 138 - case 146: - { - elotFlag_ = input.readStringRequireUtf8(); - - break; - } // case 146 - case 154: - { - lacsLinkReturnCode_ = input.readStringRequireUtf8(); - - break; - } // case 154 - case 162: - { - lacsLinkIndicator_ = input.readStringRequireUtf8(); - - break; - } // case 162 - case 168: - { - poBoxOnlyPostalCode_ = input.readBool(); - - break; - } // case 168 - case 178: - { - suitelinkFootnote_ = input.readStringRequireUtf8(); - - break; - } // case 178 - case 186: - { - pmbDesignator_ = input.readStringRequireUtf8(); - - break; - } // case 186 - case 194: - { - pmbNumber_ = input.readStringRequireUtf8(); - - break; - } // case 194 - case 202: - { - addressRecordType_ = input.readStringRequireUtf8(); - - break; - } // case 202 - case 208: - { - defaultAddress_ = input.readBool(); - - break; - } // case 208 - case 218: - { - errorMessage_ = input.readStringRequireUtf8(); - - break; - } // case 218 - case 224: - { - cassProcessed_ = input.readBool(); - - break; - } // case 224 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + case 10: { + input.readMessage( + getStandardizedAddressFieldBuilder().getBuilder(), + extensionRegistry); - private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> - standardizedAddressBuilder_; - /** - * - * - *
-     * USPS standardized address.
-     * 
- * - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * - * @return Whether the standardizedAddress field is set. - */ - public boolean hasStandardizedAddress() { - return standardizedAddressBuilder_ != null || standardizedAddress_ != null; - } - /** - * - * - *
-     * USPS standardized address.
-     * 
- * - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * - * @return The standardizedAddress. - */ - public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { - if (standardizedAddressBuilder_ == null) { - return standardizedAddress_ == null - ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() - : standardizedAddress_; - } else { - return standardizedAddressBuilder_.getMessage(); - } - } - /** - * - * - *
-     * USPS standardized address.
-     * 
- * - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - */ - public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { - if (standardizedAddressBuilder_ == null) { + break; + } // case 10 + case 18: { + deliveryPointCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + deliveryPointCheckDigit_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + dpvConfirmation_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + dpvFootnote_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + dpvCmra_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + dpvVacant_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + dpvNoStat_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + carrierRoute_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + carrierRouteIndicator_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: { + ewsNoMatch_ = input.readBool(); + + break; + } // case 88 + case 98: { + postOfficeCity_ = input.readStringRequireUtf8(); + + break; + } // case 98 + case 106: { + postOfficeState_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 114: { + abbreviatedCity_ = input.readStringRequireUtf8(); + + break; + } // case 114 + case 122: { + fipsCountyCode_ = input.readStringRequireUtf8(); + + break; + } // case 122 + case 130: { + county_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 138: { + elotNumber_ = input.readStringRequireUtf8(); + + break; + } // case 138 + case 146: { + elotFlag_ = input.readStringRequireUtf8(); + + break; + } // case 146 + case 154: { + lacsLinkReturnCode_ = input.readStringRequireUtf8(); + + break; + } // case 154 + case 162: { + lacsLinkIndicator_ = input.readStringRequireUtf8(); + + break; + } // case 162 + case 168: { + poBoxOnlyPostalCode_ = input.readBool(); + + break; + } // case 168 + case 178: { + suitelinkFootnote_ = input.readStringRequireUtf8(); + + break; + } // case 178 + case 186: { + pmbDesignator_ = input.readStringRequireUtf8(); + + break; + } // case 186 + case 194: { + pmbNumber_ = input.readStringRequireUtf8(); + + break; + } // case 194 + case 202: { + addressRecordType_ = input.readStringRequireUtf8(); + + break; + } // case 202 + case 208: { + defaultAddress_ = input.readBool(); + + break; + } // case 208 + case 218: { + errorMessage_ = input.readStringRequireUtf8(); + + break; + } // case 218 + case 224: { + cassProcessed_ = input.readBool(); + + break; + } // case 224 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> standardizedAddressBuilder_; + /** + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * @return Whether the standardizedAddress field is set. + */ + public boolean hasStandardizedAddress() { + return standardizedAddressBuilder_ != null || standardizedAddress_ != null; + } + /** + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * @return The standardizedAddress. + */ + public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { + if (standardizedAddressBuilder_ == null) { + return standardizedAddress_ == null ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; + } else { + return standardizedAddressBuilder_.getMessage(); + } + } + /** + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { + if (standardizedAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } @@ -2458,8 +2334,6 @@ public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsA return this; } /** - * - * *
      * USPS standardized address.
      * 
@@ -2478,22 +2352,17 @@ public Builder setStandardizedAddress( return this; } /** - * - * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public Builder mergeStandardizedAddress( - com.google.maps.addressvalidation.v1.UspsAddress value) { + public Builder mergeStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { if (standardizedAddressBuilder_ == null) { if (standardizedAddress_ != null) { standardizedAddress_ = - com.google.maps.addressvalidation.v1.UspsAddress.newBuilder(standardizedAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.UspsAddress.newBuilder(standardizedAddress_).mergeFrom(value).buildPartial(); } else { standardizedAddress_ = value; } @@ -2505,8 +2374,6 @@ public Builder mergeStandardizedAddress( return this; } /** - * - * *
      * USPS standardized address.
      * 
@@ -2525,42 +2392,33 @@ public Builder clearStandardizedAddress() { return this; } /** - * - * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public com.google.maps.addressvalidation.v1.UspsAddress.Builder - getStandardizedAddressBuilder() { - + public com.google.maps.addressvalidation.v1.UspsAddress.Builder getStandardizedAddressBuilder() { + onChanged(); return getStandardizedAddressFieldBuilder().getBuilder(); } /** - * - * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder - getStandardizedAddressOrBuilder() { + public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder() { if (standardizedAddressBuilder_ != null) { return standardizedAddressBuilder_.getMessageOrBuilder(); } else { - return standardizedAddress_ == null - ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() - : standardizedAddress_; + return standardizedAddress_ == null ? + com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; } } /** - * - * *
      * USPS standardized address.
      * 
@@ -2568,17 +2426,14 @@ public Builder clearStandardizedAddress() { * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> + com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> getStandardizedAddressFieldBuilder() { if (standardizedAddressBuilder_ == null) { - standardizedAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( - getStandardizedAddress(), getParentForChildren(), isClean()); + standardizedAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( + getStandardizedAddress(), + getParentForChildren(), + isClean()); standardizedAddress_ = null; } return standardizedAddressBuilder_; @@ -2586,20 +2441,18 @@ public Builder clearStandardizedAddress() { private java.lang.Object deliveryPointCode_ = ""; /** - * - * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; - * * @return The deliveryPointCode. */ public java.lang.String getDeliveryPointCode() { java.lang.Object ref = deliveryPointCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCode_ = s; return s; @@ -2608,21 +2461,20 @@ public java.lang.String getDeliveryPointCode() { } } /** - * - * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; - * * @return The bytes for deliveryPointCode. */ - public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { + public com.google.protobuf.ByteString + getDeliveryPointCodeBytes() { java.lang.Object ref = deliveryPointCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deliveryPointCode_ = b; return b; } else { @@ -2630,61 +2482,54 @@ public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { } } /** - * - * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; - * * @param value The deliveryPointCode to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCode(java.lang.String value) { + public Builder setDeliveryPointCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deliveryPointCode_ = value; onChanged(); return this; } /** - * - * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; - * * @return This builder for chaining. */ public Builder clearDeliveryPointCode() { - + deliveryPointCode_ = getDefaultInstance().getDeliveryPointCode(); onChanged(); return this; } /** - * - * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; - * * @param value The bytes for deliveryPointCode to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) { + public Builder setDeliveryPointCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deliveryPointCode_ = value; onChanged(); return this; @@ -2692,8 +2537,6 @@ public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object deliveryPointCheckDigit_ = ""; /** - * - * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2702,13 +2545,13 @@ public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * string delivery_point_check_digit = 3; - * * @return The deliveryPointCheckDigit. */ public java.lang.String getDeliveryPointCheckDigit() { java.lang.Object ref = deliveryPointCheckDigit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCheckDigit_ = s; return s; @@ -2717,8 +2560,6 @@ public java.lang.String getDeliveryPointCheckDigit() { } } /** - * - * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2727,14 +2568,15 @@ public java.lang.String getDeliveryPointCheckDigit() {
      * 
* * string delivery_point_check_digit = 3; - * * @return The bytes for deliveryPointCheckDigit. */ - public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { + public com.google.protobuf.ByteString + getDeliveryPointCheckDigitBytes() { java.lang.Object ref = deliveryPointCheckDigit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deliveryPointCheckDigit_ = b; return b; } else { @@ -2742,8 +2584,6 @@ public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { } } /** - * - * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2752,22 +2592,20 @@ public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() {
      * 
* * string delivery_point_check_digit = 3; - * * @param value The deliveryPointCheckDigit to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigit(java.lang.String value) { + public Builder setDeliveryPointCheckDigit( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deliveryPointCheckDigit_ = value; onChanged(); return this; } /** - * - * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2776,18 +2614,15 @@ public Builder setDeliveryPointCheckDigit(java.lang.String value) {
      * 
* * string delivery_point_check_digit = 3; - * * @return This builder for chaining. */ public Builder clearDeliveryPointCheckDigit() { - + deliveryPointCheckDigit_ = getDefaultInstance().getDeliveryPointCheckDigit(); onChanged(); return this; } /** - * - * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2796,16 +2631,16 @@ public Builder clearDeliveryPointCheckDigit() {
      * 
* * string delivery_point_check_digit = 3; - * * @param value The bytes for deliveryPointCheckDigit to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString value) { + public Builder setDeliveryPointCheckDigitBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deliveryPointCheckDigit_ = value; onChanged(); return this; @@ -2813,8 +2648,6 @@ public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString va private java.lang.Object dpvConfirmation_ = ""; /** - * - * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2827,13 +2660,13 @@ public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString va
      * 
* * string dpv_confirmation = 4; - * * @return The dpvConfirmation. */ public java.lang.String getDpvConfirmation() { java.lang.Object ref = dpvConfirmation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvConfirmation_ = s; return s; @@ -2842,8 +2675,6 @@ public java.lang.String getDpvConfirmation() { } } /** - * - * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2856,14 +2687,15 @@ public java.lang.String getDpvConfirmation() {
      * 
* * string dpv_confirmation = 4; - * * @return The bytes for dpvConfirmation. */ - public com.google.protobuf.ByteString getDpvConfirmationBytes() { + public com.google.protobuf.ByteString + getDpvConfirmationBytes() { java.lang.Object ref = dpvConfirmation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvConfirmation_ = b; return b; } else { @@ -2871,8 +2703,6 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() { } } /** - * - * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2885,22 +2715,20 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() {
      * 
* * string dpv_confirmation = 4; - * * @param value The dpvConfirmation to set. * @return This builder for chaining. */ - public Builder setDpvConfirmation(java.lang.String value) { + public Builder setDpvConfirmation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvConfirmation_ = value; onChanged(); return this; } /** - * - * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2913,18 +2741,15 @@ public Builder setDpvConfirmation(java.lang.String value) {
      * 
* * string dpv_confirmation = 4; - * * @return This builder for chaining. */ public Builder clearDpvConfirmation() { - + dpvConfirmation_ = getDefaultInstance().getDpvConfirmation(); onChanged(); return this; } /** - * - * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2937,16 +2762,16 @@ public Builder clearDpvConfirmation() {
      * 
* * string dpv_confirmation = 4; - * * @param value The bytes for dpvConfirmation to set. * @return This builder for chaining. */ - public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) { + public Builder setDpvConfirmationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvConfirmation_ = value; onChanged(); return this; @@ -2954,8 +2779,6 @@ public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) { private java.lang.Object dpvFootnote_ = ""; /** - * - * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2978,13 +2801,13 @@ public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) {
      * 
* * string dpv_footnote = 5; - * * @return The dpvFootnote. */ public java.lang.String getDpvFootnote() { java.lang.Object ref = dpvFootnote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvFootnote_ = s; return s; @@ -2993,8 +2816,6 @@ public java.lang.String getDpvFootnote() { } } /** - * - * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -3017,14 +2838,15 @@ public java.lang.String getDpvFootnote() {
      * 
* * string dpv_footnote = 5; - * * @return The bytes for dpvFootnote. */ - public com.google.protobuf.ByteString getDpvFootnoteBytes() { + public com.google.protobuf.ByteString + getDpvFootnoteBytes() { java.lang.Object ref = dpvFootnote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvFootnote_ = b; return b; } else { @@ -3032,8 +2854,6 @@ public com.google.protobuf.ByteString getDpvFootnoteBytes() { } } /** - * - * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -3056,22 +2876,20 @@ public com.google.protobuf.ByteString getDpvFootnoteBytes() {
      * 
* * string dpv_footnote = 5; - * * @param value The dpvFootnote to set. * @return This builder for chaining. */ - public Builder setDpvFootnote(java.lang.String value) { + public Builder setDpvFootnote( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvFootnote_ = value; onChanged(); return this; } /** - * - * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -3094,18 +2912,15 @@ public Builder setDpvFootnote(java.lang.String value) {
      * 
* * string dpv_footnote = 5; - * * @return This builder for chaining. */ public Builder clearDpvFootnote() { - + dpvFootnote_ = getDefaultInstance().getDpvFootnote(); onChanged(); return this; } /** - * - * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -3128,16 +2943,16 @@ public Builder clearDpvFootnote() {
      * 
* * string dpv_footnote = 5; - * * @param value The bytes for dpvFootnote to set. * @return This builder for chaining. */ - public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) { + public Builder setDpvFootnoteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvFootnote_ = value; onChanged(); return this; @@ -3145,8 +2960,6 @@ public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) { private java.lang.Object dpvCmra_ = ""; /** - * - * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3155,13 +2968,13 @@ public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) {
      * 
* * string dpv_cmra = 6; - * * @return The dpvCmra. */ public java.lang.String getDpvCmra() { java.lang.Object ref = dpvCmra_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvCmra_ = s; return s; @@ -3170,8 +2983,6 @@ public java.lang.String getDpvCmra() { } } /** - * - * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3180,14 +2991,15 @@ public java.lang.String getDpvCmra() {
      * 
* * string dpv_cmra = 6; - * * @return The bytes for dpvCmra. */ - public com.google.protobuf.ByteString getDpvCmraBytes() { + public com.google.protobuf.ByteString + getDpvCmraBytes() { java.lang.Object ref = dpvCmra_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvCmra_ = b; return b; } else { @@ -3195,8 +3007,6 @@ public com.google.protobuf.ByteString getDpvCmraBytes() { } } /** - * - * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3205,22 +3015,20 @@ public com.google.protobuf.ByteString getDpvCmraBytes() {
      * 
* * string dpv_cmra = 6; - * * @param value The dpvCmra to set. * @return This builder for chaining. */ - public Builder setDpvCmra(java.lang.String value) { + public Builder setDpvCmra( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvCmra_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3229,18 +3037,15 @@ public Builder setDpvCmra(java.lang.String value) {
      * 
* * string dpv_cmra = 6; - * * @return This builder for chaining. */ public Builder clearDpvCmra() { - + dpvCmra_ = getDefaultInstance().getDpvCmra(); onChanged(); return this; } /** - * - * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3249,16 +3054,16 @@ public Builder clearDpvCmra() {
      * 
* * string dpv_cmra = 6; - * * @param value The bytes for dpvCmra to set. * @return This builder for chaining. */ - public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) { + public Builder setDpvCmraBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvCmra_ = value; onChanged(); return this; @@ -3266,8 +3071,6 @@ public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) { private java.lang.Object dpvVacant_ = ""; /** - * - * *
      * Is this place vacant?
      * Returns a single character.
@@ -3276,13 +3079,13 @@ public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) {
      * 
* * string dpv_vacant = 7; - * * @return The dpvVacant. */ public java.lang.String getDpvVacant() { java.lang.Object ref = dpvVacant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvVacant_ = s; return s; @@ -3291,8 +3094,6 @@ public java.lang.String getDpvVacant() { } } /** - * - * *
      * Is this place vacant?
      * Returns a single character.
@@ -3301,14 +3102,15 @@ public java.lang.String getDpvVacant() {
      * 
* * string dpv_vacant = 7; - * * @return The bytes for dpvVacant. */ - public com.google.protobuf.ByteString getDpvVacantBytes() { + public com.google.protobuf.ByteString + getDpvVacantBytes() { java.lang.Object ref = dpvVacant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvVacant_ = b; return b; } else { @@ -3316,8 +3118,6 @@ public com.google.protobuf.ByteString getDpvVacantBytes() { } } /** - * - * *
      * Is this place vacant?
      * Returns a single character.
@@ -3326,22 +3126,20 @@ public com.google.protobuf.ByteString getDpvVacantBytes() {
      * 
* * string dpv_vacant = 7; - * * @param value The dpvVacant to set. * @return This builder for chaining. */ - public Builder setDpvVacant(java.lang.String value) { + public Builder setDpvVacant( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvVacant_ = value; onChanged(); return this; } /** - * - * *
      * Is this place vacant?
      * Returns a single character.
@@ -3350,18 +3148,15 @@ public Builder setDpvVacant(java.lang.String value) {
      * 
* * string dpv_vacant = 7; - * * @return This builder for chaining. */ public Builder clearDpvVacant() { - + dpvVacant_ = getDefaultInstance().getDpvVacant(); onChanged(); return this; } /** - * - * *
      * Is this place vacant?
      * Returns a single character.
@@ -3370,16 +3165,16 @@ public Builder clearDpvVacant() {
      * 
* * string dpv_vacant = 7; - * * @param value The bytes for dpvVacant to set. * @return This builder for chaining. */ - public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) { + public Builder setDpvVacantBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvVacant_ = value; onChanged(); return this; @@ -3387,8 +3182,6 @@ public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) { private java.lang.Object dpvNoStat_ = ""; /** - * - * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3398,13 +3191,13 @@ public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) {
      * 
* * string dpv_no_stat = 8; - * * @return The dpvNoStat. */ public java.lang.String getDpvNoStat() { java.lang.Object ref = dpvNoStat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvNoStat_ = s; return s; @@ -3413,8 +3206,6 @@ public java.lang.String getDpvNoStat() { } } /** - * - * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3424,14 +3215,15 @@ public java.lang.String getDpvNoStat() {
      * 
* * string dpv_no_stat = 8; - * * @return The bytes for dpvNoStat. */ - public com.google.protobuf.ByteString getDpvNoStatBytes() { + public com.google.protobuf.ByteString + getDpvNoStatBytes() { java.lang.Object ref = dpvNoStat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dpvNoStat_ = b; return b; } else { @@ -3439,8 +3231,6 @@ public com.google.protobuf.ByteString getDpvNoStatBytes() { } } /** - * - * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3450,22 +3240,20 @@ public com.google.protobuf.ByteString getDpvNoStatBytes() {
      * 
* * string dpv_no_stat = 8; - * * @param value The dpvNoStat to set. * @return This builder for chaining. */ - public Builder setDpvNoStat(java.lang.String value) { + public Builder setDpvNoStat( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvNoStat_ = value; onChanged(); return this; } /** - * - * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3475,18 +3263,15 @@ public Builder setDpvNoStat(java.lang.String value) {
      * 
* * string dpv_no_stat = 8; - * * @return This builder for chaining. */ public Builder clearDpvNoStat() { - + dpvNoStat_ = getDefaultInstance().getDpvNoStat(); onChanged(); return this; } /** - * - * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3496,16 +3281,16 @@ public Builder clearDpvNoStat() {
      * 
* * string dpv_no_stat = 8; - * * @param value The bytes for dpvNoStat to set. * @return This builder for chaining. */ - public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) { + public Builder setDpvNoStatBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvNoStat_ = value; onChanged(); return this; @@ -3513,8 +3298,6 @@ public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) { private java.lang.Object carrierRoute_ = ""; /** - * - * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3528,13 +3311,13 @@ public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) {
      * 
* * string carrier_route = 9; - * * @return The carrierRoute. */ public java.lang.String getCarrierRoute() { java.lang.Object ref = carrierRoute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRoute_ = s; return s; @@ -3543,8 +3326,6 @@ public java.lang.String getCarrierRoute() { } } /** - * - * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3558,14 +3339,15 @@ public java.lang.String getCarrierRoute() {
      * 
* * string carrier_route = 9; - * * @return The bytes for carrierRoute. */ - public com.google.protobuf.ByteString getCarrierRouteBytes() { + public com.google.protobuf.ByteString + getCarrierRouteBytes() { java.lang.Object ref = carrierRoute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); carrierRoute_ = b; return b; } else { @@ -3573,8 +3355,6 @@ public com.google.protobuf.ByteString getCarrierRouteBytes() { } } /** - * - * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3588,22 +3368,20 @@ public com.google.protobuf.ByteString getCarrierRouteBytes() {
      * 
* * string carrier_route = 9; - * * @param value The carrierRoute to set. * @return This builder for chaining. */ - public Builder setCarrierRoute(java.lang.String value) { + public Builder setCarrierRoute( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + carrierRoute_ = value; onChanged(); return this; } /** - * - * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3617,18 +3395,15 @@ public Builder setCarrierRoute(java.lang.String value) {
      * 
* * string carrier_route = 9; - * * @return This builder for chaining. */ public Builder clearCarrierRoute() { - + carrierRoute_ = getDefaultInstance().getCarrierRoute(); onChanged(); return this; } /** - * - * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3642,16 +3417,16 @@ public Builder clearCarrierRoute() {
      * 
* * string carrier_route = 9; - * * @param value The bytes for carrierRoute to set. * @return This builder for chaining. */ - public Builder setCarrierRouteBytes(com.google.protobuf.ByteString value) { + public Builder setCarrierRouteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + carrierRoute_ = value; onChanged(); return this; @@ -3659,20 +3434,18 @@ public Builder setCarrierRouteBytes(com.google.protobuf.ByteString value) { private java.lang.Object carrierRouteIndicator_ = ""; /** - * - * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; - * * @return The carrierRouteIndicator. */ public java.lang.String getCarrierRouteIndicator() { java.lang.Object ref = carrierRouteIndicator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRouteIndicator_ = s; return s; @@ -3681,21 +3454,20 @@ public java.lang.String getCarrierRouteIndicator() { } } /** - * - * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; - * * @return The bytes for carrierRouteIndicator. */ - public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { + public com.google.protobuf.ByteString + getCarrierRouteIndicatorBytes() { java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); carrierRouteIndicator_ = b; return b; } else { @@ -3703,77 +3475,67 @@ public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { } } /** - * - * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; - * * @param value The carrierRouteIndicator to set. * @return This builder for chaining. */ - public Builder setCarrierRouteIndicator(java.lang.String value) { + public Builder setCarrierRouteIndicator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + carrierRouteIndicator_ = value; onChanged(); return this; } /** - * - * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; - * * @return This builder for chaining. */ public Builder clearCarrierRouteIndicator() { - + carrierRouteIndicator_ = getDefaultInstance().getCarrierRouteIndicator(); onChanged(); return this; } /** - * - * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; - * * @param value The bytes for carrierRouteIndicator to set. * @return This builder for chaining. */ - public Builder setCarrierRouteIndicatorBytes(com.google.protobuf.ByteString value) { + public Builder setCarrierRouteIndicatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + carrierRouteIndicator_ = value; onChanged(); return this; } - private boolean ewsNoMatch_; + private boolean ewsNoMatch_ ; /** - * - * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; - * * @return The ewsNoMatch. */ @java.lang.Override @@ -3781,38 +3543,32 @@ public boolean getEwsNoMatch() { return ewsNoMatch_; } /** - * - * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; - * * @param value The ewsNoMatch to set. * @return This builder for chaining. */ public Builder setEwsNoMatch(boolean value) { - + ewsNoMatch_ = value; onChanged(); return this; } /** - * - * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; - * * @return This builder for chaining. */ public Builder clearEwsNoMatch() { - + ewsNoMatch_ = false; onChanged(); return this; @@ -3820,20 +3576,18 @@ public Builder clearEwsNoMatch() { private java.lang.Object postOfficeCity_ = ""; /** - * - * *
      * Main post office city.
      * 
* * string post_office_city = 12; - * * @return The postOfficeCity. */ public java.lang.String getPostOfficeCity() { java.lang.Object ref = postOfficeCity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeCity_ = s; return s; @@ -3842,21 +3596,20 @@ public java.lang.String getPostOfficeCity() { } } /** - * - * *
      * Main post office city.
      * 
* * string post_office_city = 12; - * * @return The bytes for postOfficeCity. */ - public com.google.protobuf.ByteString getPostOfficeCityBytes() { + public com.google.protobuf.ByteString + getPostOfficeCityBytes() { java.lang.Object ref = postOfficeCity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); postOfficeCity_ = b; return b; } else { @@ -3864,61 +3617,54 @@ public com.google.protobuf.ByteString getPostOfficeCityBytes() { } } /** - * - * *
      * Main post office city.
      * 
* * string post_office_city = 12; - * * @param value The postOfficeCity to set. * @return This builder for chaining. */ - public Builder setPostOfficeCity(java.lang.String value) { + public Builder setPostOfficeCity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + postOfficeCity_ = value; onChanged(); return this; } /** - * - * *
      * Main post office city.
      * 
* * string post_office_city = 12; - * * @return This builder for chaining. */ public Builder clearPostOfficeCity() { - + postOfficeCity_ = getDefaultInstance().getPostOfficeCity(); onChanged(); return this; } /** - * - * *
      * Main post office city.
      * 
* * string post_office_city = 12; - * * @param value The bytes for postOfficeCity to set. * @return This builder for chaining. */ - public Builder setPostOfficeCityBytes(com.google.protobuf.ByteString value) { + public Builder setPostOfficeCityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + postOfficeCity_ = value; onChanged(); return this; @@ -3926,20 +3672,18 @@ public Builder setPostOfficeCityBytes(com.google.protobuf.ByteString value) { private java.lang.Object postOfficeState_ = ""; /** - * - * *
      * Main post office state.
      * 
* * string post_office_state = 13; - * * @return The postOfficeState. */ public java.lang.String getPostOfficeState() { java.lang.Object ref = postOfficeState_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeState_ = s; return s; @@ -3948,21 +3692,20 @@ public java.lang.String getPostOfficeState() { } } /** - * - * *
      * Main post office state.
      * 
* * string post_office_state = 13; - * * @return The bytes for postOfficeState. */ - public com.google.protobuf.ByteString getPostOfficeStateBytes() { + public com.google.protobuf.ByteString + getPostOfficeStateBytes() { java.lang.Object ref = postOfficeState_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); postOfficeState_ = b; return b; } else { @@ -3970,61 +3713,54 @@ public com.google.protobuf.ByteString getPostOfficeStateBytes() { } } /** - * - * *
      * Main post office state.
      * 
* * string post_office_state = 13; - * * @param value The postOfficeState to set. * @return This builder for chaining. */ - public Builder setPostOfficeState(java.lang.String value) { + public Builder setPostOfficeState( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + postOfficeState_ = value; onChanged(); return this; } /** - * - * *
      * Main post office state.
      * 
* * string post_office_state = 13; - * * @return This builder for chaining. */ public Builder clearPostOfficeState() { - + postOfficeState_ = getDefaultInstance().getPostOfficeState(); onChanged(); return this; } /** - * - * *
      * Main post office state.
      * 
* * string post_office_state = 13; - * * @param value The bytes for postOfficeState to set. * @return This builder for chaining. */ - public Builder setPostOfficeStateBytes(com.google.protobuf.ByteString value) { + public Builder setPostOfficeStateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + postOfficeState_ = value; onChanged(); return this; @@ -4032,20 +3768,18 @@ public Builder setPostOfficeStateBytes(com.google.protobuf.ByteString value) { private java.lang.Object abbreviatedCity_ = ""; /** - * - * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; - * * @return The abbreviatedCity. */ public java.lang.String getAbbreviatedCity() { java.lang.Object ref = abbreviatedCity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); abbreviatedCity_ = s; return s; @@ -4054,21 +3788,20 @@ public java.lang.String getAbbreviatedCity() { } } /** - * - * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; - * * @return The bytes for abbreviatedCity. */ - public com.google.protobuf.ByteString getAbbreviatedCityBytes() { + public com.google.protobuf.ByteString + getAbbreviatedCityBytes() { java.lang.Object ref = abbreviatedCity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); abbreviatedCity_ = b; return b; } else { @@ -4076,61 +3809,54 @@ public com.google.protobuf.ByteString getAbbreviatedCityBytes() { } } /** - * - * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; - * * @param value The abbreviatedCity to set. * @return This builder for chaining. */ - public Builder setAbbreviatedCity(java.lang.String value) { + public Builder setAbbreviatedCity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + abbreviatedCity_ = value; onChanged(); return this; } /** - * - * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; - * * @return This builder for chaining. */ public Builder clearAbbreviatedCity() { - + abbreviatedCity_ = getDefaultInstance().getAbbreviatedCity(); onChanged(); return this; } /** - * - * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; - * * @param value The bytes for abbreviatedCity to set. * @return This builder for chaining. */ - public Builder setAbbreviatedCityBytes(com.google.protobuf.ByteString value) { + public Builder setAbbreviatedCityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + abbreviatedCity_ = value; onChanged(); return this; @@ -4138,20 +3864,18 @@ public Builder setAbbreviatedCityBytes(com.google.protobuf.ByteString value) { private java.lang.Object fipsCountyCode_ = ""; /** - * - * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; - * * @return The fipsCountyCode. */ public java.lang.String getFipsCountyCode() { java.lang.Object ref = fipsCountyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fipsCountyCode_ = s; return s; @@ -4160,21 +3884,20 @@ public java.lang.String getFipsCountyCode() { } } /** - * - * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; - * * @return The bytes for fipsCountyCode. */ - public com.google.protobuf.ByteString getFipsCountyCodeBytes() { + public com.google.protobuf.ByteString + getFipsCountyCodeBytes() { java.lang.Object ref = fipsCountyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fipsCountyCode_ = b; return b; } else { @@ -4182,61 +3905,54 @@ public com.google.protobuf.ByteString getFipsCountyCodeBytes() { } } /** - * - * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; - * * @param value The fipsCountyCode to set. * @return This builder for chaining. */ - public Builder setFipsCountyCode(java.lang.String value) { + public Builder setFipsCountyCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fipsCountyCode_ = value; onChanged(); return this; } /** - * - * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; - * * @return This builder for chaining. */ public Builder clearFipsCountyCode() { - + fipsCountyCode_ = getDefaultInstance().getFipsCountyCode(); onChanged(); return this; } /** - * - * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; - * * @param value The bytes for fipsCountyCode to set. * @return This builder for chaining. */ - public Builder setFipsCountyCodeBytes(com.google.protobuf.ByteString value) { + public Builder setFipsCountyCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fipsCountyCode_ = value; onChanged(); return this; @@ -4244,20 +3960,18 @@ public Builder setFipsCountyCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object county_ = ""; /** - * - * *
      * County name.
      * 
* * string county = 16; - * * @return The county. */ public java.lang.String getCounty() { java.lang.Object ref = county_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); county_ = s; return s; @@ -4266,21 +3980,20 @@ public java.lang.String getCounty() { } } /** - * - * *
      * County name.
      * 
* * string county = 16; - * * @return The bytes for county. */ - public com.google.protobuf.ByteString getCountyBytes() { + public com.google.protobuf.ByteString + getCountyBytes() { java.lang.Object ref = county_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); county_ = b; return b; } else { @@ -4288,61 +4001,54 @@ public com.google.protobuf.ByteString getCountyBytes() { } } /** - * - * *
      * County name.
      * 
* * string county = 16; - * * @param value The county to set. * @return This builder for chaining. */ - public Builder setCounty(java.lang.String value) { + public Builder setCounty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + county_ = value; onChanged(); return this; } /** - * - * *
      * County name.
      * 
* * string county = 16; - * * @return This builder for chaining. */ public Builder clearCounty() { - + county_ = getDefaultInstance().getCounty(); onChanged(); return this; } /** - * - * *
      * County name.
      * 
* * string county = 16; - * * @param value The bytes for county to set. * @return This builder for chaining. */ - public Builder setCountyBytes(com.google.protobuf.ByteString value) { + public Builder setCountyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + county_ = value; onChanged(); return this; @@ -4350,20 +4056,18 @@ public Builder setCountyBytes(com.google.protobuf.ByteString value) { private java.lang.Object elotNumber_ = ""; /** - * - * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; - * * @return The elotNumber. */ public java.lang.String getElotNumber() { java.lang.Object ref = elotNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotNumber_ = s; return s; @@ -4372,21 +4076,20 @@ public java.lang.String getElotNumber() { } } /** - * - * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; - * * @return The bytes for elotNumber. */ - public com.google.protobuf.ByteString getElotNumberBytes() { + public com.google.protobuf.ByteString + getElotNumberBytes() { java.lang.Object ref = elotNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); elotNumber_ = b; return b; } else { @@ -4394,61 +4097,54 @@ public com.google.protobuf.ByteString getElotNumberBytes() { } } /** - * - * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; - * * @param value The elotNumber to set. * @return This builder for chaining. */ - public Builder setElotNumber(java.lang.String value) { + public Builder setElotNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + elotNumber_ = value; onChanged(); return this; } /** - * - * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; - * * @return This builder for chaining. */ public Builder clearElotNumber() { - + elotNumber_ = getDefaultInstance().getElotNumber(); onChanged(); return this; } /** - * - * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; - * * @param value The bytes for elotNumber to set. * @return This builder for chaining. */ - public Builder setElotNumberBytes(com.google.protobuf.ByteString value) { + public Builder setElotNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + elotNumber_ = value; onChanged(); return this; @@ -4456,20 +4152,18 @@ public Builder setElotNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object elotFlag_ = ""; /** - * - * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; - * * @return The elotFlag. */ public java.lang.String getElotFlag() { java.lang.Object ref = elotFlag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotFlag_ = s; return s; @@ -4478,21 +4172,20 @@ public java.lang.String getElotFlag() { } } /** - * - * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; - * * @return The bytes for elotFlag. */ - public com.google.protobuf.ByteString getElotFlagBytes() { + public com.google.protobuf.ByteString + getElotFlagBytes() { java.lang.Object ref = elotFlag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); elotFlag_ = b; return b; } else { @@ -4500,61 +4193,54 @@ public com.google.protobuf.ByteString getElotFlagBytes() { } } /** - * - * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; - * * @param value The elotFlag to set. * @return This builder for chaining. */ - public Builder setElotFlag(java.lang.String value) { + public Builder setElotFlag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + elotFlag_ = value; onChanged(); return this; } /** - * - * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; - * * @return This builder for chaining. */ public Builder clearElotFlag() { - + elotFlag_ = getDefaultInstance().getElotFlag(); onChanged(); return this; } /** - * - * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; - * * @param value The bytes for elotFlag to set. * @return This builder for chaining. */ - public Builder setElotFlagBytes(com.google.protobuf.ByteString value) { + public Builder setElotFlagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + elotFlag_ = value; onChanged(); return this; @@ -4562,20 +4248,18 @@ public Builder setElotFlagBytes(com.google.protobuf.ByteString value) { private java.lang.Object lacsLinkReturnCode_ = ""; /** - * - * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; - * * @return The lacsLinkReturnCode. */ public java.lang.String getLacsLinkReturnCode() { java.lang.Object ref = lacsLinkReturnCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkReturnCode_ = s; return s; @@ -4584,21 +4268,20 @@ public java.lang.String getLacsLinkReturnCode() { } } /** - * - * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; - * * @return The bytes for lacsLinkReturnCode. */ - public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { + public com.google.protobuf.ByteString + getLacsLinkReturnCodeBytes() { java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lacsLinkReturnCode_ = b; return b; } else { @@ -4606,61 +4289,54 @@ public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { } } /** - * - * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; - * * @param value The lacsLinkReturnCode to set. * @return This builder for chaining. */ - public Builder setLacsLinkReturnCode(java.lang.String value) { + public Builder setLacsLinkReturnCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lacsLinkReturnCode_ = value; onChanged(); return this; } /** - * - * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; - * * @return This builder for chaining. */ public Builder clearLacsLinkReturnCode() { - + lacsLinkReturnCode_ = getDefaultInstance().getLacsLinkReturnCode(); onChanged(); return this; } /** - * - * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; - * * @param value The bytes for lacsLinkReturnCode to set. * @return This builder for chaining. */ - public Builder setLacsLinkReturnCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLacsLinkReturnCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lacsLinkReturnCode_ = value; onChanged(); return this; @@ -4668,20 +4344,18 @@ public Builder setLacsLinkReturnCodeBytes(com.google.protobuf.ByteString value) private java.lang.Object lacsLinkIndicator_ = ""; /** - * - * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; - * * @return The lacsLinkIndicator. */ public java.lang.String getLacsLinkIndicator() { java.lang.Object ref = lacsLinkIndicator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkIndicator_ = s; return s; @@ -4690,21 +4364,20 @@ public java.lang.String getLacsLinkIndicator() { } } /** - * - * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; - * * @return The bytes for lacsLinkIndicator. */ - public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { + public com.google.protobuf.ByteString + getLacsLinkIndicatorBytes() { java.lang.Object ref = lacsLinkIndicator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lacsLinkIndicator_ = b; return b; } else { @@ -4712,76 +4385,66 @@ public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { } } /** - * - * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; - * * @param value The lacsLinkIndicator to set. * @return This builder for chaining. */ - public Builder setLacsLinkIndicator(java.lang.String value) { + public Builder setLacsLinkIndicator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lacsLinkIndicator_ = value; onChanged(); return this; } /** - * - * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; - * * @return This builder for chaining. */ public Builder clearLacsLinkIndicator() { - + lacsLinkIndicator_ = getDefaultInstance().getLacsLinkIndicator(); onChanged(); return this; } /** - * - * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; - * * @param value The bytes for lacsLinkIndicator to set. * @return This builder for chaining. */ - public Builder setLacsLinkIndicatorBytes(com.google.protobuf.ByteString value) { + public Builder setLacsLinkIndicatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lacsLinkIndicator_ = value; onChanged(); return this; } - private boolean poBoxOnlyPostalCode_; + private boolean poBoxOnlyPostalCode_ ; /** - * - * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; - * * @return The poBoxOnlyPostalCode. */ @java.lang.Override @@ -4789,36 +4452,30 @@ public boolean getPoBoxOnlyPostalCode() { return poBoxOnlyPostalCode_; } /** - * - * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; - * * @param value The poBoxOnlyPostalCode to set. * @return This builder for chaining. */ public Builder setPoBoxOnlyPostalCode(boolean value) { - + poBoxOnlyPostalCode_ = value; onChanged(); return this; } /** - * - * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; - * * @return This builder for chaining. */ public Builder clearPoBoxOnlyPostalCode() { - + poBoxOnlyPostalCode_ = false; onChanged(); return this; @@ -4826,8 +4483,6 @@ public Builder clearPoBoxOnlyPostalCode() { private java.lang.Object suitelinkFootnote_ = ""; /** - * - * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4836,13 +4491,13 @@ public Builder clearPoBoxOnlyPostalCode() {
      * 
* * string suitelink_footnote = 22; - * * @return The suitelinkFootnote. */ public java.lang.String getSuitelinkFootnote() { java.lang.Object ref = suitelinkFootnote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suitelinkFootnote_ = s; return s; @@ -4851,8 +4506,6 @@ public java.lang.String getSuitelinkFootnote() { } } /** - * - * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4861,14 +4514,15 @@ public java.lang.String getSuitelinkFootnote() {
      * 
* * string suitelink_footnote = 22; - * * @return The bytes for suitelinkFootnote. */ - public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { + public com.google.protobuf.ByteString + getSuitelinkFootnoteBytes() { java.lang.Object ref = suitelinkFootnote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suitelinkFootnote_ = b; return b; } else { @@ -4876,8 +4530,6 @@ public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { } } /** - * - * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4886,22 +4538,20 @@ public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() {
      * 
* * string suitelink_footnote = 22; - * * @param value The suitelinkFootnote to set. * @return This builder for chaining. */ - public Builder setSuitelinkFootnote(java.lang.String value) { + public Builder setSuitelinkFootnote( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suitelinkFootnote_ = value; onChanged(); return this; } /** - * - * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4910,18 +4560,15 @@ public Builder setSuitelinkFootnote(java.lang.String value) {
      * 
* * string suitelink_footnote = 22; - * * @return This builder for chaining. */ public Builder clearSuitelinkFootnote() { - + suitelinkFootnote_ = getDefaultInstance().getSuitelinkFootnote(); onChanged(); return this; } /** - * - * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4930,16 +4577,16 @@ public Builder clearSuitelinkFootnote() {
      * 
* * string suitelink_footnote = 22; - * * @param value The bytes for suitelinkFootnote to set. * @return This builder for chaining. */ - public Builder setSuitelinkFootnoteBytes(com.google.protobuf.ByteString value) { + public Builder setSuitelinkFootnoteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suitelinkFootnote_ = value; onChanged(); return this; @@ -4947,20 +4594,18 @@ public Builder setSuitelinkFootnoteBytes(com.google.protobuf.ByteString value) { private java.lang.Object pmbDesignator_ = ""; /** - * - * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; - * * @return The pmbDesignator. */ public java.lang.String getPmbDesignator() { java.lang.Object ref = pmbDesignator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbDesignator_ = s; return s; @@ -4969,21 +4614,20 @@ public java.lang.String getPmbDesignator() { } } /** - * - * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; - * * @return The bytes for pmbDesignator. */ - public com.google.protobuf.ByteString getPmbDesignatorBytes() { + public com.google.protobuf.ByteString + getPmbDesignatorBytes() { java.lang.Object ref = pmbDesignator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pmbDesignator_ = b; return b; } else { @@ -4991,61 +4635,54 @@ public com.google.protobuf.ByteString getPmbDesignatorBytes() { } } /** - * - * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; - * * @param value The pmbDesignator to set. * @return This builder for chaining. */ - public Builder setPmbDesignator(java.lang.String value) { + public Builder setPmbDesignator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pmbDesignator_ = value; onChanged(); return this; } /** - * - * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; - * * @return This builder for chaining. */ public Builder clearPmbDesignator() { - + pmbDesignator_ = getDefaultInstance().getPmbDesignator(); onChanged(); return this; } /** - * - * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; - * * @param value The bytes for pmbDesignator to set. * @return This builder for chaining. */ - public Builder setPmbDesignatorBytes(com.google.protobuf.ByteString value) { + public Builder setPmbDesignatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pmbDesignator_ = value; onChanged(); return this; @@ -5053,20 +4690,18 @@ public Builder setPmbDesignatorBytes(com.google.protobuf.ByteString value) { private java.lang.Object pmbNumber_ = ""; /** - * - * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; - * * @return The pmbNumber. */ public java.lang.String getPmbNumber() { java.lang.Object ref = pmbNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbNumber_ = s; return s; @@ -5075,21 +4710,20 @@ public java.lang.String getPmbNumber() { } } /** - * - * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; - * * @return The bytes for pmbNumber. */ - public com.google.protobuf.ByteString getPmbNumberBytes() { + public com.google.protobuf.ByteString + getPmbNumberBytes() { java.lang.Object ref = pmbNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pmbNumber_ = b; return b; } else { @@ -5097,61 +4731,54 @@ public com.google.protobuf.ByteString getPmbNumberBytes() { } } /** - * - * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; - * * @param value The pmbNumber to set. * @return This builder for chaining. */ - public Builder setPmbNumber(java.lang.String value) { + public Builder setPmbNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pmbNumber_ = value; onChanged(); return this; } /** - * - * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; - * * @return This builder for chaining. */ public Builder clearPmbNumber() { - + pmbNumber_ = getDefaultInstance().getPmbNumber(); onChanged(); return this; } /** - * - * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; - * * @param value The bytes for pmbNumber to set. * @return This builder for chaining. */ - public Builder setPmbNumberBytes(com.google.protobuf.ByteString value) { + public Builder setPmbNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pmbNumber_ = value; onChanged(); return this; @@ -5159,8 +4786,6 @@ public Builder setPmbNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object addressRecordType_ = ""; /** - * - * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -5177,13 +4802,13 @@ public Builder setPmbNumberBytes(com.google.protobuf.ByteString value) {
      * 
* * string address_record_type = 25; - * * @return The addressRecordType. */ public java.lang.String getAddressRecordType() { java.lang.Object ref = addressRecordType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); addressRecordType_ = s; return s; @@ -5192,8 +4817,6 @@ public java.lang.String getAddressRecordType() { } } /** - * - * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -5210,14 +4833,15 @@ public java.lang.String getAddressRecordType() {
      * 
* * string address_record_type = 25; - * * @return The bytes for addressRecordType. */ - public com.google.protobuf.ByteString getAddressRecordTypeBytes() { + public com.google.protobuf.ByteString + getAddressRecordTypeBytes() { java.lang.Object ref = addressRecordType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); addressRecordType_ = b; return b; } else { @@ -5225,8 +4849,6 @@ public com.google.protobuf.ByteString getAddressRecordTypeBytes() { } } /** - * - * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -5243,22 +4865,20 @@ public com.google.protobuf.ByteString getAddressRecordTypeBytes() {
      * 
* * string address_record_type = 25; - * * @param value The addressRecordType to set. * @return This builder for chaining. */ - public Builder setAddressRecordType(java.lang.String value) { + public Builder setAddressRecordType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + addressRecordType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -5275,18 +4895,15 @@ public Builder setAddressRecordType(java.lang.String value) {
      * 
* * string address_record_type = 25; - * * @return This builder for chaining. */ public Builder clearAddressRecordType() { - + addressRecordType_ = getDefaultInstance().getAddressRecordType(); onChanged(); return this; } /** - * - * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -5303,32 +4920,29 @@ public Builder clearAddressRecordType() {
      * 
* * string address_record_type = 25; - * * @param value The bytes for addressRecordType to set. * @return This builder for chaining. */ - public Builder setAddressRecordTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAddressRecordTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + addressRecordType_ = value; onChanged(); return this; } - private boolean defaultAddress_; + private boolean defaultAddress_ ; /** - * - * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; - * * @return The defaultAddress. */ @java.lang.Override @@ -5336,38 +4950,32 @@ public boolean getDefaultAddress() { return defaultAddress_; } /** - * - * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; - * * @param value The defaultAddress to set. * @return This builder for chaining. */ public Builder setDefaultAddress(boolean value) { - + defaultAddress_ = value; onChanged(); return this; } /** - * - * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; - * * @return This builder for chaining. */ public Builder clearDefaultAddress() { - + defaultAddress_ = false; onChanged(); return this; @@ -5375,8 +4983,6 @@ public Builder clearDefaultAddress() { private java.lang.Object errorMessage_ = ""; /** - * - * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5385,13 +4991,13 @@ public Builder clearDefaultAddress() {
      * 
* * string error_message = 27; - * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -5400,8 +5006,6 @@ public java.lang.String getErrorMessage() { } } /** - * - * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5410,14 +5014,15 @@ public java.lang.String getErrorMessage() {
      * 
* * string error_message = 27; - * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString getErrorMessageBytes() { + public com.google.protobuf.ByteString + getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -5425,8 +5030,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5435,22 +5038,20 @@ public com.google.protobuf.ByteString getErrorMessageBytes() {
      * 
* * string error_message = 27; - * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage(java.lang.String value) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5459,18 +5060,15 @@ public Builder setErrorMessage(java.lang.String value) {
      * 
* * string error_message = 27; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** - * - * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5479,31 +5077,28 @@ public Builder clearErrorMessage() {
      * 
* * string error_message = 27; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private boolean cassProcessed_; + private boolean cassProcessed_ ; /** - * - * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; - * * @return The cassProcessed. */ @java.lang.Override @@ -5511,43 +5106,37 @@ public boolean getCassProcessed() { return cassProcessed_; } /** - * - * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; - * * @param value The cassProcessed to set. * @return This builder for chaining. */ public Builder setCassProcessed(boolean value) { - + cassProcessed_ = value; onChanged(); return this; } /** - * - * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; - * * @return This builder for chaining. */ public Builder clearCassProcessed() { - + cassProcessed_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5557,12 +5146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.UspsData) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.UspsData) private static final com.google.maps.addressvalidation.v1.UspsData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.UspsData(); } @@ -5571,27 +5160,27 @@ public static com.google.maps.addressvalidation.v1.UspsData getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UspsData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UspsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5606,4 +5195,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.UspsData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java similarity index 86% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java index f53eb9d1b5bf..9b469444a9b7 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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/usps_data.proto package com.google.maps.addressvalidation.v1; -public interface UspsDataOrBuilder - extends +public interface UspsDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.UspsData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * * @return Whether the standardizedAddress field is set. */ boolean hasStandardizedAddress(); /** - * - * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; - * * @return The standardizedAddress. */ com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress(); /** - * - * *
    * USPS standardized address.
    * 
@@ -59,33 +35,26 @@ public interface UspsDataOrBuilder com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder(); /** - * - * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; - * * @return The deliveryPointCode. */ java.lang.String getDeliveryPointCode(); /** - * - * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; - * * @return The bytes for deliveryPointCode. */ - com.google.protobuf.ByteString getDeliveryPointCodeBytes(); + com.google.protobuf.ByteString + getDeliveryPointCodeBytes(); /** - * - * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -94,13 +63,10 @@ public interface UspsDataOrBuilder
    * 
* * string delivery_point_check_digit = 3; - * * @return The deliveryPointCheckDigit. */ java.lang.String getDeliveryPointCheckDigit(); /** - * - * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -109,14 +75,12 @@ public interface UspsDataOrBuilder
    * 
* * string delivery_point_check_digit = 3; - * * @return The bytes for deliveryPointCheckDigit. */ - com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes(); + com.google.protobuf.ByteString + getDeliveryPointCheckDigitBytes(); /** - * - * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -129,13 +93,10 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_confirmation = 4; - * * @return The dpvConfirmation. */ java.lang.String getDpvConfirmation(); /** - * - * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -148,14 +109,12 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_confirmation = 4; - * * @return The bytes for dpvConfirmation. */ - com.google.protobuf.ByteString getDpvConfirmationBytes(); + com.google.protobuf.ByteString + getDpvConfirmationBytes(); /** - * - * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -178,13 +137,10 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_footnote = 5; - * * @return The dpvFootnote. */ java.lang.String getDpvFootnote(); /** - * - * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -207,14 +163,12 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_footnote = 5; - * * @return The bytes for dpvFootnote. */ - com.google.protobuf.ByteString getDpvFootnoteBytes(); + com.google.protobuf.ByteString + getDpvFootnoteBytes(); /** - * - * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -223,13 +177,10 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_cmra = 6; - * * @return The dpvCmra. */ java.lang.String getDpvCmra(); /** - * - * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -238,14 +189,12 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_cmra = 6; - * * @return The bytes for dpvCmra. */ - com.google.protobuf.ByteString getDpvCmraBytes(); + com.google.protobuf.ByteString + getDpvCmraBytes(); /** - * - * *
    * Is this place vacant?
    * Returns a single character.
@@ -254,13 +203,10 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_vacant = 7; - * * @return The dpvVacant. */ java.lang.String getDpvVacant(); /** - * - * *
    * Is this place vacant?
    * Returns a single character.
@@ -269,14 +215,12 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_vacant = 7; - * * @return The bytes for dpvVacant. */ - com.google.protobuf.ByteString getDpvVacantBytes(); + com.google.protobuf.ByteString + getDpvVacantBytes(); /** - * - * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -286,13 +230,10 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_no_stat = 8; - * * @return The dpvNoStat. */ java.lang.String getDpvNoStat(); /** - * - * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -302,14 +243,12 @@ public interface UspsDataOrBuilder
    * 
* * string dpv_no_stat = 8; - * * @return The bytes for dpvNoStat. */ - com.google.protobuf.ByteString getDpvNoStatBytes(); + com.google.protobuf.ByteString + getDpvNoStatBytes(); /** - * - * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -323,13 +262,10 @@ public interface UspsDataOrBuilder
    * 
* * string carrier_route = 9; - * * @return The carrierRoute. */ java.lang.String getCarrierRoute(); /** - * - * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -343,291 +279,233 @@ public interface UspsDataOrBuilder
    * 
* * string carrier_route = 9; - * * @return The bytes for carrierRoute. */ - com.google.protobuf.ByteString getCarrierRouteBytes(); + com.google.protobuf.ByteString + getCarrierRouteBytes(); /** - * - * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; - * * @return The carrierRouteIndicator. */ java.lang.String getCarrierRouteIndicator(); /** - * - * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; - * * @return The bytes for carrierRouteIndicator. */ - com.google.protobuf.ByteString getCarrierRouteIndicatorBytes(); + com.google.protobuf.ByteString + getCarrierRouteIndicatorBytes(); /** - * - * *
    * The delivery address is matchable, but the EWS file indicates that an exact
    * match will be available soon.
    * 
* * bool ews_no_match = 11; - * * @return The ewsNoMatch. */ boolean getEwsNoMatch(); /** - * - * *
    * Main post office city.
    * 
* * string post_office_city = 12; - * * @return The postOfficeCity. */ java.lang.String getPostOfficeCity(); /** - * - * *
    * Main post office city.
    * 
* * string post_office_city = 12; - * * @return The bytes for postOfficeCity. */ - com.google.protobuf.ByteString getPostOfficeCityBytes(); + com.google.protobuf.ByteString + getPostOfficeCityBytes(); /** - * - * *
    * Main post office state.
    * 
* * string post_office_state = 13; - * * @return The postOfficeState. */ java.lang.String getPostOfficeState(); /** - * - * *
    * Main post office state.
    * 
* * string post_office_state = 13; - * * @return The bytes for postOfficeState. */ - com.google.protobuf.ByteString getPostOfficeStateBytes(); + com.google.protobuf.ByteString + getPostOfficeStateBytes(); /** - * - * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; - * * @return The abbreviatedCity. */ java.lang.String getAbbreviatedCity(); /** - * - * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; - * * @return The bytes for abbreviatedCity. */ - com.google.protobuf.ByteString getAbbreviatedCityBytes(); + com.google.protobuf.ByteString + getAbbreviatedCityBytes(); /** - * - * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; - * * @return The fipsCountyCode. */ java.lang.String getFipsCountyCode(); /** - * - * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; - * * @return The bytes for fipsCountyCode. */ - com.google.protobuf.ByteString getFipsCountyCodeBytes(); + com.google.protobuf.ByteString + getFipsCountyCodeBytes(); /** - * - * *
    * County name.
    * 
* * string county = 16; - * * @return The county. */ java.lang.String getCounty(); /** - * - * *
    * County name.
    * 
* * string county = 16; - * * @return The bytes for county. */ - com.google.protobuf.ByteString getCountyBytes(); + com.google.protobuf.ByteString + getCountyBytes(); /** - * - * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; - * * @return The elotNumber. */ java.lang.String getElotNumber(); /** - * - * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; - * * @return The bytes for elotNumber. */ - com.google.protobuf.ByteString getElotNumberBytes(); + com.google.protobuf.ByteString + getElotNumberBytes(); /** - * - * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; - * * @return The elotFlag. */ java.lang.String getElotFlag(); /** - * - * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; - * * @return The bytes for elotFlag. */ - com.google.protobuf.ByteString getElotFlagBytes(); + com.google.protobuf.ByteString + getElotFlagBytes(); /** - * - * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; - * * @return The lacsLinkReturnCode. */ java.lang.String getLacsLinkReturnCode(); /** - * - * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; - * * @return The bytes for lacsLinkReturnCode. */ - com.google.protobuf.ByteString getLacsLinkReturnCodeBytes(); + com.google.protobuf.ByteString + getLacsLinkReturnCodeBytes(); /** - * - * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; - * * @return The lacsLinkIndicator. */ java.lang.String getLacsLinkIndicator(); /** - * - * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; - * * @return The bytes for lacsLinkIndicator. */ - com.google.protobuf.ByteString getLacsLinkIndicatorBytes(); + com.google.protobuf.ByteString + getLacsLinkIndicatorBytes(); /** - * - * *
    * PO Box only postal code.
    * 
* * bool po_box_only_postal_code = 21; - * * @return The poBoxOnlyPostalCode. */ boolean getPoBoxOnlyPostalCode(); /** - * - * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -636,13 +514,10 @@ public interface UspsDataOrBuilder
    * 
* * string suitelink_footnote = 22; - * * @return The suitelinkFootnote. */ java.lang.String getSuitelinkFootnote(); /** - * - * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -651,64 +526,52 @@ public interface UspsDataOrBuilder
    * 
* * string suitelink_footnote = 22; - * * @return The bytes for suitelinkFootnote. */ - com.google.protobuf.ByteString getSuitelinkFootnoteBytes(); + com.google.protobuf.ByteString + getSuitelinkFootnoteBytes(); /** - * - * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; - * * @return The pmbDesignator. */ java.lang.String getPmbDesignator(); /** - * - * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; - * * @return The bytes for pmbDesignator. */ - com.google.protobuf.ByteString getPmbDesignatorBytes(); + com.google.protobuf.ByteString + getPmbDesignatorBytes(); /** - * - * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; - * * @return The pmbNumber. */ java.lang.String getPmbNumber(); /** - * - * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; - * * @return The bytes for pmbNumber. */ - com.google.protobuf.ByteString getPmbNumberBytes(); + com.google.protobuf.ByteString + getPmbNumberBytes(); /** - * - * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -725,13 +588,10 @@ public interface UspsDataOrBuilder
    * 
* * string address_record_type = 25; - * * @return The addressRecordType. */ java.lang.String getAddressRecordType(); /** - * - * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -748,28 +608,23 @@ public interface UspsDataOrBuilder
    * 
* * string address_record_type = 25; - * * @return The bytes for addressRecordType. */ - com.google.protobuf.ByteString getAddressRecordTypeBytes(); + com.google.protobuf.ByteString + getAddressRecordTypeBytes(); /** - * - * *
    * Indicator that a default address was found, but more specific addresses
    * exists.
    * 
* * bool default_address = 26; - * * @return The defaultAddress. */ boolean getDefaultAddress(); /** - * - * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -778,13 +633,10 @@ public interface UspsDataOrBuilder
    * 
* * string error_message = 27; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -793,20 +645,17 @@ public interface UspsDataOrBuilder
    * 
* * string error_message = 27; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); /** - * - * *
    * Indicator that the request has been CASS processed.
    * 
* * bool cass_processed = 28; - * * @return The cassProcessed. */ boolean getCassProcessed(); diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java new file mode 100644 index 000000000000..35c8bc1e6734 --- /dev/null +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/addressvalidation/v1/usps_data.proto + +package com.google.maps.addressvalidation.v1; + +public final class UspsDataProto { + private UspsDataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/maps/addressvalidation/v1/usps_" + + "data.proto\022 google.maps.addressvalidatio" + + "n.v1\"\332\001\n\013UspsAddress\022\032\n\022first_address_li" + + "ne\030\001 \001(\t\022\014\n\004firm\030\002 \001(\t\022\033\n\023second_address" + + "_line\030\003 \001(\t\022\024\n\014urbanization\030\004 \001(\t\022#\n\033cit" + + "y_state_zip_address_line\030\005 \001(\t\022\014\n\004city\030\006" + + " \001(\t\022\r\n\005state\030\007 \001(\t\022\020\n\010zip_code\030\010 \001(\t\022\032\n" + + "\022zip_code_extension\030\t \001(\t\"\374\005\n\010UspsData\022K" + + "\n\024standardized_address\030\001 \001(\0132-.google.ma" + + "ps.addressvalidation.v1.UspsAddress\022\033\n\023d" + + "elivery_point_code\030\002 \001(\t\022\"\n\032delivery_poi" + + "nt_check_digit\030\003 \001(\t\022\030\n\020dpv_confirmation" + + "\030\004 \001(\t\022\024\n\014dpv_footnote\030\005 \001(\t\022\020\n\010dpv_cmra" + + "\030\006 \001(\t\022\022\n\ndpv_vacant\030\007 \001(\t\022\023\n\013dpv_no_sta" + + "t\030\010 \001(\t\022\025\n\rcarrier_route\030\t \001(\t\022\037\n\027carrie" + + "r_route_indicator\030\n \001(\t\022\024\n\014ews_no_match\030" + + "\013 \001(\010\022\030\n\020post_office_city\030\014 \001(\t\022\031\n\021post_" + + "office_state\030\r \001(\t\022\030\n\020abbreviated_city\030\016" + + " \001(\t\022\030\n\020fips_county_code\030\017 \001(\t\022\016\n\006county" + + "\030\020 \001(\t\022\023\n\013elot_number\030\021 \001(\t\022\021\n\telot_flag" + + "\030\022 \001(\t\022\035\n\025lacs_link_return_code\030\023 \001(\t\022\033\n" + + "\023lacs_link_indicator\030\024 \001(\t\022\037\n\027po_box_onl" + + "y_postal_code\030\025 \001(\010\022\032\n\022suitelink_footnot" + + "e\030\026 \001(\t\022\026\n\016pmb_designator\030\027 \001(\t\022\022\n\npmb_n" + + "umber\030\030 \001(\t\022\033\n\023address_record_type\030\031 \001(\t" + + "\022\027\n\017default_address\030\032 \001(\010\022\025\n\rerror_messa" + + "ge\030\033 \001(\t\022\026\n\016cass_processed\030\034 \001(\010B\203\002\n$com" + + ".google.maps.addressvalidation.v1B\rUspsD" + + "ataProtoP\001ZQgoogle.golang.org/genproto/g" + + "oogleapis/maps/addressvalidation/v1;addr" + + "essvalidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps" + + ".AddressValidation.V1\312\002 Google\\Maps\\Addr" + + "essValidation\\V1\352\002#Google::Maps::Address" + + "Validation::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor, + new java.lang.String[] { "FirstAddressLine", "Firm", "SecondAddressLine", "Urbanization", "CityStateZipAddressLine", "City", "State", "ZipCode", "ZipCodeExtension", }); + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor, + new java.lang.String[] { "StandardizedAddress", "DeliveryPointCode", "DeliveryPointCheckDigit", "DpvConfirmation", "DpvFootnote", "DpvCmra", "DpvVacant", "DpvNoStat", "CarrierRoute", "CarrierRouteIndicator", "EwsNoMatch", "PostOfficeCity", "PostOfficeState", "AbbreviatedCity", "FipsCountyCode", "County", "ElotNumber", "ElotFlag", "LacsLinkReturnCode", "LacsLinkIndicator", "PoBoxOnlyPostalCode", "SuitelinkFootnote", "PmbDesignator", "PmbNumber", "AddressRecordType", "DefaultAddress", "ErrorMessage", "CassProcessed", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java similarity index 80% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java index 361441d8b518..9eb2f569011c 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java @@ -1,77 +1,56 @@ -/* - * 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; /** - * - * *
  * The request for validating an address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressRequest} */ -public final class ValidateAddressRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidateAddressRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidateAddressRequest) ValidateAddressRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidateAddressRequest.newBuilder() to construct. private ValidateAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidateAddressRequest() { previousResponseId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValidateAddressRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, - com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress address_; /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -90,7 +69,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the address field is set. */ @java.lang.Override @@ -98,8 +76,6 @@ public boolean hasAddress() { return address_ != null; } /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -118,7 +94,6 @@ public boolean hasAddress() {
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The address. */ @java.lang.Override @@ -126,8 +101,6 @@ public com.google.type.PostalAddress getAddress() { return address_ == null ? com.google.type.PostalAddress.getDefaultInstance() : address_; } /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -155,8 +128,6 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
   public static final int PREVIOUS_RESPONSE_ID_FIELD_NUMBER = 2;
   private volatile java.lang.Object previousResponseId_;
   /**
-   *
-   *
    * 
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -168,7 +139,6 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
    * 
* * string previous_response_id = 2; - * * @return The previousResponseId. */ @java.lang.Override @@ -177,15 +147,14 @@ public java.lang.String getPreviousResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResponseId_ = s; return s; } } /** - * - * *
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -197,15 +166,16 @@ public java.lang.String getPreviousResponseId() {
    * 
* * string previous_response_id = 2; - * * @return The bytes for previousResponseId. */ @java.lang.Override - public com.google.protobuf.ByteString getPreviousResponseIdBytes() { + public com.google.protobuf.ByteString + getPreviousResponseIdBytes() { java.lang.Object ref = previousResponseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); previousResponseId_ = b; return b; } else { @@ -216,8 +186,6 @@ public com.google.protobuf.ByteString getPreviousResponseIdBytes() { public static final int ENABLE_USPS_CASS_FIELD_NUMBER = 3; private boolean enableUspsCass_; /** - * - * *
    * Enables USPS CASS compatible mode. This affects _only_ the
    * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -233,7 +201,6 @@ public com.google.protobuf.ByteString getPreviousResponseIdBytes() {
    * 
* * bool enable_usps_cass = 3; - * * @return The enableUspsCass. */ @java.lang.Override @@ -242,7 +209,6 @@ public boolean getEnableUspsCass() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +220,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (address_ != null) { output.writeMessage(1, getAddress()); } @@ -274,13 +241,15 @@ public int getSerializedSize() { size = 0; if (address_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousResponseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, previousResponseId_); } if (enableUspsCass_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableUspsCass_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, enableUspsCass_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,20 +259,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidateAddressRequest)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ValidateAddressRequest other = - (com.google.maps.addressvalidation.v1.ValidateAddressRequest) obj; + com.google.maps.addressvalidation.v1.ValidateAddressRequest other = (com.google.maps.addressvalidation.v1.ValidateAddressRequest) obj; if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { - if (!getAddress().equals(other.getAddress())) return false; + if (!getAddress() + .equals(other.getAddress())) return false; } - if (!getPreviousResponseId().equals(other.getPreviousResponseId())) return false; - if (getEnableUspsCass() != other.getEnableUspsCass()) return false; + if (!getPreviousResponseId() + .equals(other.getPreviousResponseId())) return false; + if (getEnableUspsCass() + != other.getEnableUspsCass()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,143 +293,137 @@ public int hashCode() { hash = (37 * hash) + PREVIOUS_RESPONSE_ID_FIELD_NUMBER; hash = (53 * hash) + getPreviousResponseId().hashCode(); hash = (37 * hash) + ENABLE_USPS_CASS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableUspsCass()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableUspsCass()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.maps.addressvalidation.v1.ValidateAddressRequest prototype) { + public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidateAddressRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for validating an address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidateAddressRequest) com.google.maps.addressvalidation.v1.ValidateAddressRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, - com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidateAddressRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override @@ -497,8 +462,7 @@ public com.google.maps.addressvalidation.v1.ValidateAddressRequest build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidateAddressRequest buildPartial() { - com.google.maps.addressvalidation.v1.ValidateAddressRequest result = - new com.google.maps.addressvalidation.v1.ValidateAddressRequest(this); + com.google.maps.addressvalidation.v1.ValidateAddressRequest result = new com.google.maps.addressvalidation.v1.ValidateAddressRequest(this); if (addressBuilder_ == null) { result.address_ = address_; } else { @@ -514,39 +478,38 @@ public com.google.maps.addressvalidation.v1.ValidateAddressRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidateAddressRequest) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressRequest) other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressRequest)other); } else { super.mergeFrom(other); return this; @@ -554,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidateAddressRequest other) { - if (other == com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance()) return this; if (other.hasAddress()) { mergeAddress(other.getAddress()); } @@ -592,31 +554,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAddressFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getAddressFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - previousResponseId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + previousResponseId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - enableUspsCass_ = input.readBool(); + break; + } // case 18 + case 24: { + enableUspsCass_ = input.readBool(); - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -629,13 +589,8 @@ public Builder mergeFrom( private com.google.type.PostalAddress address_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - addressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> addressBuilder_; /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -653,17 +608,13 @@ public Builder mergeFrom(
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the address field is set. */ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -681,9 +632,7 @@ public boolean hasAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The address. */ public com.google.type.PostalAddress getAddress() { @@ -694,8 +643,6 @@ public com.google.type.PostalAddress getAddress() { } } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -713,8 +660,7 @@ public com.google.type.PostalAddress getAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAddress(com.google.type.PostalAddress value) { if (addressBuilder_ == null) { @@ -730,8 +676,6 @@ public Builder setAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -749,10 +693,10 @@ public Builder setAddress(com.google.type.PostalAddress value) {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (addressBuilder_ == null) { address_ = builderForValue.build(); onChanged(); @@ -763,8 +707,6 @@ public Builder setAddress(com.google.type.PostalAddress.Builder builderForValue) return this; } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -782,14 +724,13 @@ public Builder setAddress(com.google.type.PostalAddress.Builder builderForValue)
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAddress(com.google.type.PostalAddress value) { if (addressBuilder_ == null) { if (address_ != null) { address_ = - com.google.type.PostalAddress.newBuilder(address_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(address_).mergeFrom(value).buildPartial(); } else { address_ = value; } @@ -801,8 +742,6 @@ public Builder mergeAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -820,8 +759,7 @@ public Builder mergeAddress(com.google.type.PostalAddress value) {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAddress() { if (addressBuilder_ == null) { @@ -835,8 +773,6 @@ public Builder clearAddress() { return this; } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -854,17 +790,14 @@ public Builder clearAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddress.Builder getAddressBuilder() { - + onChanged(); return getAddressFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -882,19 +815,17 @@ public com.google.type.PostalAddress.Builder getAddressBuilder() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() { if (addressBuilder_ != null) { return addressBuilder_.getMessageOrBuilder(); } else { - return address_ == null ? com.google.type.PostalAddress.getDefaultInstance() : address_; + return address_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : address_; } } /** - * - * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -912,21 +843,17 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getAddressFieldBuilder() { if (addressBuilder_ == null) { - addressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getAddress(), getParentForChildren(), isClean()); + addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getAddress(), + getParentForChildren(), + isClean()); address_ = null; } return addressBuilder_; @@ -934,8 +861,6 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() { private java.lang.Object previousResponseId_ = ""; /** - * - * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -947,13 +872,13 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
      * 
* * string previous_response_id = 2; - * * @return The previousResponseId. */ public java.lang.String getPreviousResponseId() { java.lang.Object ref = previousResponseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResponseId_ = s; return s; @@ -962,8 +887,6 @@ public java.lang.String getPreviousResponseId() { } } /** - * - * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -975,14 +898,15 @@ public java.lang.String getPreviousResponseId() {
      * 
* * string previous_response_id = 2; - * * @return The bytes for previousResponseId. */ - public com.google.protobuf.ByteString getPreviousResponseIdBytes() { + public com.google.protobuf.ByteString + getPreviousResponseIdBytes() { java.lang.Object ref = previousResponseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); previousResponseId_ = b; return b; } else { @@ -990,8 +914,6 @@ public com.google.protobuf.ByteString getPreviousResponseIdBytes() { } } /** - * - * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -1003,22 +925,20 @@ public com.google.protobuf.ByteString getPreviousResponseIdBytes() {
      * 
* * string previous_response_id = 2; - * * @param value The previousResponseId to set. * @return This builder for chaining. */ - public Builder setPreviousResponseId(java.lang.String value) { + public Builder setPreviousResponseId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + previousResponseId_ = value; onChanged(); return this; } /** - * - * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -1030,18 +950,15 @@ public Builder setPreviousResponseId(java.lang.String value) {
      * 
* * string previous_response_id = 2; - * * @return This builder for chaining. */ public Builder clearPreviousResponseId() { - + previousResponseId_ = getDefaultInstance().getPreviousResponseId(); onChanged(); return this; } /** - * - * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -1053,25 +970,23 @@ public Builder clearPreviousResponseId() {
      * 
* * string previous_response_id = 2; - * * @param value The bytes for previousResponseId to set. * @return This builder for chaining. */ - public Builder setPreviousResponseIdBytes(com.google.protobuf.ByteString value) { + public Builder setPreviousResponseIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + previousResponseId_ = value; onChanged(); return this; } - private boolean enableUspsCass_; + private boolean enableUspsCass_ ; /** - * - * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1087,7 +1002,6 @@ public Builder setPreviousResponseIdBytes(com.google.protobuf.ByteString value)
      * 
* * bool enable_usps_cass = 3; - * * @return The enableUspsCass. */ @java.lang.Override @@ -1095,8 +1009,6 @@ public boolean getEnableUspsCass() { return enableUspsCass_; } /** - * - * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1112,19 +1024,16 @@ public boolean getEnableUspsCass() {
      * 
* * bool enable_usps_cass = 3; - * * @param value The enableUspsCass to set. * @return This builder for chaining. */ public Builder setEnableUspsCass(boolean value) { - + enableUspsCass_ = value; onChanged(); return this; } /** - * - * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1140,18 +1049,17 @@ public Builder setEnableUspsCass(boolean value) {
      * 
* * bool enable_usps_cass = 3; - * * @return This builder for chaining. */ public Builder clearEnableUspsCass() { - + enableUspsCass_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidateAddressRequest) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidateAddressRequest) private static final com.google.maps.addressvalidation.v1.ValidateAddressRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidateAddressRequest(); } @@ -1175,27 +1083,27 @@ public static com.google.maps.addressvalidation.v1.ValidateAddressRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAddressRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAddressRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1210,4 +1118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ValidateAddressRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java similarity index 88% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java index 59492f15c1ac..17e5c3eb3274 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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 ValidateAddressRequestOrBuilder - extends +public interface ValidateAddressRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidateAddressRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -44,13 +26,10 @@ public interface ValidateAddressRequestOrBuilder
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the address field is set. */ boolean hasAddress(); /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -69,13 +48,10 @@ public interface ValidateAddressRequestOrBuilder
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The address. */ com.google.type.PostalAddress getAddress(); /** - * - * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -98,8 +74,6 @@ public interface ValidateAddressRequestOrBuilder
   com.google.type.PostalAddressOrBuilder getAddressOrBuilder();
 
   /**
-   *
-   *
    * 
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -111,13 +85,10 @@ public interface ValidateAddressRequestOrBuilder
    * 
* * string previous_response_id = 2; - * * @return The previousResponseId. */ java.lang.String getPreviousResponseId(); /** - * - * *
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -129,14 +100,12 @@ public interface ValidateAddressRequestOrBuilder
    * 
* * string previous_response_id = 2; - * * @return The bytes for previousResponseId. */ - com.google.protobuf.ByteString getPreviousResponseIdBytes(); + com.google.protobuf.ByteString + getPreviousResponseIdBytes(); /** - * - * *
    * Enables USPS CASS compatible mode. This affects _only_ the
    * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -152,7 +121,6 @@ public interface ValidateAddressRequestOrBuilder
    * 
* * bool enable_usps_cass = 3; - * * @return The enableUspsCass. */ boolean getEnableUspsCass(); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java similarity index 69% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java index cf031769f260..f83873206499 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java @@ -1,83 +1,61 @@ -/* - * 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; /** - * - * *
  * The response to an address validation request.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressResponse} */ -public final class ValidateAddressResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidateAddressResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidateAddressResponse) ValidateAddressResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidateAddressResponse.newBuilder() to construct. private ValidateAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidateAddressResponse() { responseId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValidateAddressResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, - com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.ValidationResult result_; /** - * - * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return Whether the result field is set. */ @java.lang.Override @@ -85,25 +63,18 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return The result. */ @java.lang.Override public com.google.maps.addressvalidation.v1.ValidationResult getResult() { - return result_ == null - ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; } /** - * - * *
    * The result of the address validation.
    * 
@@ -118,15 +89,12 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO public static final int RESPONSE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object responseId_; /** - * - * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; - * * @return The responseId. */ @java.lang.Override @@ -135,30 +103,30 @@ public java.lang.String getResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; } } /** - * - * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; - * * @return The bytes for responseId. */ @java.lang.Override - public com.google.protobuf.ByteString getResponseIdBytes() { + public com.google.protobuf.ByteString + getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responseId_ = b; return b; } else { @@ -167,7 +135,6 @@ public com.google.protobuf.ByteString getResponseIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -196,7 +164,8 @@ public int getSerializedSize() { size = 0; if (result_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResult()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, responseId_); @@ -209,19 +178,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidateAddressResponse)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ValidateAddressResponse other = - (com.google.maps.addressvalidation.v1.ValidateAddressResponse) obj; + com.google.maps.addressvalidation.v1.ValidateAddressResponse other = (com.google.maps.addressvalidation.v1.ValidateAddressResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult().equals(other.getResult())) return false; + if (!getResult() + .equals(other.getResult())) return false; } - if (!getResponseId().equals(other.getResponseId())) return false; + if (!getResponseId() + .equals(other.getResponseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,136 +215,129 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.maps.addressvalidation.v1.ValidateAddressResponse prototype) { + public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidateAddressResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to an address validation request.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidateAddressResponse) com.google.maps.addressvalidation.v1.ValidateAddressResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, - com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidateAddressResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override - public com.google.maps.addressvalidation.v1.ValidateAddressResponse - getDefaultInstanceForType() { + public com.google.maps.addressvalidation.v1.ValidateAddressResponse getDefaultInstanceForType() { return com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance(); } @@ -412,8 +374,7 @@ public com.google.maps.addressvalidation.v1.ValidateAddressResponse build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidateAddressResponse buildPartial() { - com.google.maps.addressvalidation.v1.ValidateAddressResponse result = - new com.google.maps.addressvalidation.v1.ValidateAddressResponse(this); + com.google.maps.addressvalidation.v1.ValidateAddressResponse result = new com.google.maps.addressvalidation.v1.ValidateAddressResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -428,39 +389,38 @@ public com.google.maps.addressvalidation.v1.ValidateAddressResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidateAddressResponse) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressResponse) other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressResponse)other); } else { super.mergeFrom(other); return this; @@ -468,9 +428,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidateAddressResponse other) { - if (other - == com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -504,25 +462,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - responseId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getResultFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + responseId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,47 +492,34 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.ValidationResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, - com.google.maps.addressvalidation.v1.ValidationResult.Builder, - com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> - resultBuilder_; + com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> resultBuilder_; /** - * - * *
      * The result of the address validation.
      * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** - * - * *
      * The result of the address validation.
      * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return The result. */ public com.google.maps.addressvalidation.v1.ValidationResult getResult() { if (resultBuilder_ == null) { - return result_ == null - ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** - * - * *
      * The result of the address validation.
      * 
@@ -596,8 +540,6 @@ public Builder setResult(com.google.maps.addressvalidation.v1.ValidationResult v return this; } /** - * - * *
      * The result of the address validation.
      * 
@@ -616,8 +558,6 @@ public Builder setResult( return this; } /** - * - * *
      * The result of the address validation.
      * 
@@ -628,9 +568,7 @@ public Builder mergeResult(com.google.maps.addressvalidation.v1.ValidationResult if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.maps.addressvalidation.v1.ValidationResult.newBuilder(result_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.ValidationResult.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -642,8 +580,6 @@ public Builder mergeResult(com.google.maps.addressvalidation.v1.ValidationResult return this; } /** - * - * *
      * The result of the address validation.
      * 
@@ -662,8 +598,6 @@ public Builder clearResult() { return this; } /** - * - * *
      * The result of the address validation.
      * 
@@ -671,13 +605,11 @@ public Builder clearResult() { * .google.maps.addressvalidation.v1.ValidationResult result = 1; */ public com.google.maps.addressvalidation.v1.ValidationResult.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** - * - * *
      * The result of the address validation.
      * 
@@ -688,14 +620,11 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null - ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() - : result_; + return result_ == null ? + com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; } } /** - * - * *
      * The result of the address validation.
      * 
@@ -703,17 +632,14 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO * .google.maps.addressvalidation.v1.ValidationResult result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, - com.google.maps.addressvalidation.v1.ValidationResult.Builder, - com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> + com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, - com.google.maps.addressvalidation.v1.ValidationResult.Builder, - com.google.maps.addressvalidation.v1.ValidationResultOrBuilder>( - getResult(), getParentForChildren(), isClean()); + resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder>( + getResult(), + getParentForChildren(), + isClean()); result_ = null; } return resultBuilder_; @@ -721,21 +647,19 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO private java.lang.Object responseId_ = ""; /** - * - * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; - * * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; @@ -744,22 +668,21 @@ public java.lang.String getResponseId() { } } /** - * - * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; - * * @return The bytes for responseId. */ - public com.google.protobuf.ByteString getResponseIdBytes() { + public com.google.protobuf.ByteString + getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responseId_ = b; return b; } else { @@ -767,71 +690,64 @@ public com.google.protobuf.ByteString getResponseIdBytes() { } } /** - * - * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; - * * @param value The responseId to set. * @return This builder for chaining. */ - public Builder setResponseId(java.lang.String value) { + public Builder setResponseId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responseId_ = value; onChanged(); return this; } /** - * - * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; - * * @return This builder for chaining. */ public Builder clearResponseId() { - + responseId_ = getDefaultInstance().getResponseId(); onChanged(); return this; } /** - * - * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; - * * @param value The bytes for responseId to set. * @return This builder for chaining. */ - public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { + public Builder setResponseIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -841,13 +757,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidateAddressResponse) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidateAddressResponse) - private static final com.google.maps.addressvalidation.v1.ValidateAddressResponse - DEFAULT_INSTANCE; - + private static final com.google.maps.addressvalidation.v1.ValidateAddressResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidateAddressResponse(); } @@ -856,27 +771,27 @@ public static com.google.maps.addressvalidation.v1.ValidateAddressResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAddressResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAddressResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,4 +806,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ValidateAddressResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java similarity index 67% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java index d782edb686f8..7473761a373b 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * 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 ValidateAddressResponseOrBuilder - extends +public interface ValidateAddressResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidateAddressResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return Whether the result field is set. */ boolean hasResult(); /** - * - * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; - * * @return The result. */ com.google.maps.addressvalidation.v1.ValidationResult getResult(); /** - * - * *
    * The result of the address validation.
    * 
@@ -59,29 +35,24 @@ public interface ValidateAddressResponseOrBuilder com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultOrBuilder(); /** - * - * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; - * * @return The responseId. */ java.lang.String getResponseId(); /** - * - * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; - * * @return The bytes for responseId. */ - com.google.protobuf.ByteString getResponseIdBytes(); + com.google.protobuf.ByteString + getResponseIdBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java similarity index 72% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java index a7923164b742..7097308667f7 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java @@ -1,81 +1,60 @@ -/* - * 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; /** - * - * *
  * The result of validating an address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidationResult} */ -public final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValidationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidationResult) ValidationResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValidationResult.newBuilder() to construct. private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ValidationResult() {} + private ValidationResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValidationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidationResult.class, - com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); + com.google.maps.addressvalidation.v1.ValidationResult.class, com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); } public static final int VERDICT_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.Verdict verdict_; /** - * - * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return Whether the verdict field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasVerdict() { return verdict_ != null; } /** - * - * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return The verdict. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict getVerdict() { - return verdict_ == null - ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() - : verdict_; + return verdict_ == null ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; } /** - * - * *
    * Overall verdict flags
    * 
@@ -116,14 +88,11 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder public static final int ADDRESS_FIELD_NUMBER = 2; private com.google.maps.addressvalidation.v1.Address address_; /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return Whether the address field is set. */ @java.lang.Override @@ -131,25 +100,18 @@ public boolean hasAddress() { return address_ != null; } /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return The address. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Address getAddress() { - return address_ == null - ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() - : address_; + return address_ == null ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; } /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
@@ -164,14 +126,11 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder public static final int GEOCODE_FIELD_NUMBER = 3; private com.google.maps.addressvalidation.v1.Geocode geocode_; /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return Whether the geocode field is set. */ @java.lang.Override @@ -179,25 +138,18 @@ public boolean hasGeocode() { return geocode_ != null; } /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return The geocode. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Geocode getGeocode() { - return geocode_ == null - ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() - : geocode_; + return geocode_ == null ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; } /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
@@ -212,14 +164,11 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder public static final int METADATA_FIELD_NUMBER = 4; private com.google.maps.addressvalidation.v1.AddressMetadata metadata_; /** - * - * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -227,25 +176,18 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return The metadata. */ @java.lang.Override public com.google.maps.addressvalidation.v1.AddressMetadata getMetadata() { - return metadata_ == null - ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Other information relevant to deliverability.
    * 
@@ -260,15 +202,12 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata public static final int USPS_DATA_FIELD_NUMBER = 5; private com.google.maps.addressvalidation.v1.UspsData uspsData_; /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return Whether the uspsData field is set. */ @java.lang.Override @@ -276,26 +215,19 @@ public boolean hasUspsData() { return uspsData_ != null; } /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return The uspsData. */ @java.lang.Override public com.google.maps.addressvalidation.v1.UspsData getUspsData() { - return uspsData_ == null - ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() - : uspsData_; + return uspsData_ == null ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_; } /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
@@ -309,7 +241,6 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -321,7 +252,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (verdict_ != null) {
       output.writeMessage(1, getVerdict());
     }
@@ -347,19 +279,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (verdict_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVerdict());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getVerdict());
     }
     if (address_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAddress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getAddress());
     }
     if (geocode_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGeocode());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getGeocode());
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getMetadata());
     }
     if (uspsData_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUspsData());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUspsData());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -369,33 +306,37 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidationResult)) {
       return super.equals(obj);
     }
-    com.google.maps.addressvalidation.v1.ValidationResult other =
-        (com.google.maps.addressvalidation.v1.ValidationResult) obj;
+    com.google.maps.addressvalidation.v1.ValidationResult other = (com.google.maps.addressvalidation.v1.ValidationResult) obj;
 
     if (hasVerdict() != other.hasVerdict()) return false;
     if (hasVerdict()) {
-      if (!getVerdict().equals(other.getVerdict())) return false;
+      if (!getVerdict()
+          .equals(other.getVerdict())) return false;
     }
     if (hasAddress() != other.hasAddress()) return false;
     if (hasAddress()) {
-      if (!getAddress().equals(other.getAddress())) return false;
+      if (!getAddress()
+          .equals(other.getAddress())) return false;
     }
     if (hasGeocode() != other.hasGeocode()) return false;
     if (hasGeocode()) {
-      if (!getGeocode().equals(other.getGeocode())) return false;
+      if (!getGeocode()
+          .equals(other.getGeocode())) return false;
     }
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (hasUspsData() != other.hasUspsData()) return false;
     if (hasUspsData()) {
-      if (!getUspsData().equals(other.getUspsData())) return false;
+      if (!getUspsData()
+          .equals(other.getUspsData())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -434,136 +375,129 @@ public int hashCode() {
   }
 
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.maps.addressvalidation.v1.ValidationResult prototype) {
+  public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of validating an address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidationResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidationResult) com.google.maps.addressvalidation.v1.ValidationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidationResult.class, - com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); + com.google.maps.addressvalidation.v1.ValidationResult.class, com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidationResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -601,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override @@ -622,8 +556,7 @@ public com.google.maps.addressvalidation.v1.ValidationResult build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidationResult buildPartial() { - com.google.maps.addressvalidation.v1.ValidationResult result = - new com.google.maps.addressvalidation.v1.ValidationResult(this); + com.google.maps.addressvalidation.v1.ValidationResult result = new com.google.maps.addressvalidation.v1.ValidationResult(this); if (verdictBuilder_ == null) { result.verdict_ = verdict_; } else { @@ -657,39 +590,38 @@ public com.google.maps.addressvalidation.v1.ValidationResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidationResult) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidationResult) other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidationResult)other); } else { super.mergeFrom(other); return this; @@ -697,8 +629,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidationResult other) { - if (other == com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance()) - return this; + if (other == com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance()) return this; if (other.hasVerdict()) { mergeVerdict(other.getVerdict()); } @@ -740,43 +671,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getVerdictFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getGeocodeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getUspsDataFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getVerdictFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getGeocodeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getUspsDataFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -789,47 +724,34 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.Verdict verdict_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, - com.google.maps.addressvalidation.v1.Verdict.Builder, - com.google.maps.addressvalidation.v1.VerdictOrBuilder> - verdictBuilder_; + com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder> verdictBuilder_; /** - * - * *
      * Overall verdict flags
      * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return Whether the verdict field is set. */ public boolean hasVerdict() { return verdictBuilder_ != null || verdict_ != null; } /** - * - * *
      * Overall verdict flags
      * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return The verdict. */ public com.google.maps.addressvalidation.v1.Verdict getVerdict() { if (verdictBuilder_ == null) { - return verdict_ == null - ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() - : verdict_; + return verdict_ == null ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; } else { return verdictBuilder_.getMessage(); } } /** - * - * *
      * Overall verdict flags
      * 
@@ -850,8 +772,6 @@ public Builder setVerdict(com.google.maps.addressvalidation.v1.Verdict value) { return this; } /** - * - * *
      * Overall verdict flags
      * 
@@ -870,8 +790,6 @@ public Builder setVerdict( return this; } /** - * - * *
      * Overall verdict flags
      * 
@@ -882,9 +800,7 @@ public Builder mergeVerdict(com.google.maps.addressvalidation.v1.Verdict value) if (verdictBuilder_ == null) { if (verdict_ != null) { verdict_ = - com.google.maps.addressvalidation.v1.Verdict.newBuilder(verdict_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.Verdict.newBuilder(verdict_).mergeFrom(value).buildPartial(); } else { verdict_ = value; } @@ -896,8 +812,6 @@ public Builder mergeVerdict(com.google.maps.addressvalidation.v1.Verdict value) return this; } /** - * - * *
      * Overall verdict flags
      * 
@@ -916,8 +830,6 @@ public Builder clearVerdict() { return this; } /** - * - * *
      * Overall verdict flags
      * 
@@ -925,13 +837,11 @@ public Builder clearVerdict() { * .google.maps.addressvalidation.v1.Verdict verdict = 1; */ public com.google.maps.addressvalidation.v1.Verdict.Builder getVerdictBuilder() { - + onChanged(); return getVerdictFieldBuilder().getBuilder(); } /** - * - * *
      * Overall verdict flags
      * 
@@ -942,14 +852,11 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder if (verdictBuilder_ != null) { return verdictBuilder_.getMessageOrBuilder(); } else { - return verdict_ == null - ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() - : verdict_; + return verdict_ == null ? + com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; } } /** - * - * *
      * Overall verdict flags
      * 
@@ -957,17 +864,14 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder * .google.maps.addressvalidation.v1.Verdict verdict = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, - com.google.maps.addressvalidation.v1.Verdict.Builder, - com.google.maps.addressvalidation.v1.VerdictOrBuilder> + com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder> getVerdictFieldBuilder() { if (verdictBuilder_ == null) { - verdictBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, - com.google.maps.addressvalidation.v1.Verdict.Builder, - com.google.maps.addressvalidation.v1.VerdictOrBuilder>( - getVerdict(), getParentForChildren(), isClean()); + verdictBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder>( + getVerdict(), + getParentForChildren(), + isClean()); verdict_ = null; } return verdictBuilder_; @@ -975,47 +879,34 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder private com.google.maps.addressvalidation.v1.Address address_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, - com.google.maps.addressvalidation.v1.Address.Builder, - com.google.maps.addressvalidation.v1.AddressOrBuilder> - addressBuilder_; + com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder> addressBuilder_; /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return Whether the address field is set. */ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return The address. */ public com.google.maps.addressvalidation.v1.Address getAddress() { if (addressBuilder_ == null) { - return address_ == null - ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() - : address_; + return address_ == null ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; } else { return addressBuilder_.getMessage(); } } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1036,8 +927,6 @@ public Builder setAddress(com.google.maps.addressvalidation.v1.Address value) { return this; } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1056,8 +945,6 @@ public Builder setAddress( return this; } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1068,9 +955,7 @@ public Builder mergeAddress(com.google.maps.addressvalidation.v1.Address value) if (addressBuilder_ == null) { if (address_ != null) { address_ = - com.google.maps.addressvalidation.v1.Address.newBuilder(address_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.Address.newBuilder(address_).mergeFrom(value).buildPartial(); } else { address_ = value; } @@ -1082,8 +967,6 @@ public Builder mergeAddress(com.google.maps.addressvalidation.v1.Address value) return this; } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1102,8 +985,6 @@ public Builder clearAddress() { return this; } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1111,13 +992,11 @@ public Builder clearAddress() { * .google.maps.addressvalidation.v1.Address address = 2; */ public com.google.maps.addressvalidation.v1.Address.Builder getAddressBuilder() { - + onChanged(); return getAddressFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1128,14 +1007,11 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder if (addressBuilder_ != null) { return addressBuilder_.getMessageOrBuilder(); } else { - return address_ == null - ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() - : address_; + return address_ == null ? + com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; } } /** - * - * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1143,17 +1019,14 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder * .google.maps.addressvalidation.v1.Address address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, - com.google.maps.addressvalidation.v1.Address.Builder, - com.google.maps.addressvalidation.v1.AddressOrBuilder> + com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder> getAddressFieldBuilder() { if (addressBuilder_ == null) { - addressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, - com.google.maps.addressvalidation.v1.Address.Builder, - com.google.maps.addressvalidation.v1.AddressOrBuilder>( - getAddress(), getParentForChildren(), isClean()); + addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder>( + getAddress(), + getParentForChildren(), + isClean()); address_ = null; } return addressBuilder_; @@ -1161,47 +1034,34 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder private com.google.maps.addressvalidation.v1.Geocode geocode_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, - com.google.maps.addressvalidation.v1.Geocode.Builder, - com.google.maps.addressvalidation.v1.GeocodeOrBuilder> - geocodeBuilder_; + com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder> geocodeBuilder_; /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return Whether the geocode field is set. */ public boolean hasGeocode() { return geocodeBuilder_ != null || geocode_ != null; } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return The geocode. */ public com.google.maps.addressvalidation.v1.Geocode getGeocode() { if (geocodeBuilder_ == null) { - return geocode_ == null - ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() - : geocode_; + return geocode_ == null ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; } else { return geocodeBuilder_.getMessage(); } } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1222,8 +1082,6 @@ public Builder setGeocode(com.google.maps.addressvalidation.v1.Geocode value) { return this; } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1242,8 +1100,6 @@ public Builder setGeocode( return this; } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1254,9 +1110,7 @@ public Builder mergeGeocode(com.google.maps.addressvalidation.v1.Geocode value) if (geocodeBuilder_ == null) { if (geocode_ != null) { geocode_ = - com.google.maps.addressvalidation.v1.Geocode.newBuilder(geocode_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.Geocode.newBuilder(geocode_).mergeFrom(value).buildPartial(); } else { geocode_ = value; } @@ -1268,8 +1122,6 @@ public Builder mergeGeocode(com.google.maps.addressvalidation.v1.Geocode value) return this; } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1288,8 +1140,6 @@ public Builder clearGeocode() { return this; } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1297,13 +1147,11 @@ public Builder clearGeocode() { * .google.maps.addressvalidation.v1.Geocode geocode = 3; */ public com.google.maps.addressvalidation.v1.Geocode.Builder getGeocodeBuilder() { - + onChanged(); return getGeocodeFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1314,14 +1162,11 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder if (geocodeBuilder_ != null) { return geocodeBuilder_.getMessageOrBuilder(); } else { - return geocode_ == null - ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() - : geocode_; + return geocode_ == null ? + com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; } } /** - * - * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1329,17 +1174,14 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder * .google.maps.addressvalidation.v1.Geocode geocode = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, - com.google.maps.addressvalidation.v1.Geocode.Builder, - com.google.maps.addressvalidation.v1.GeocodeOrBuilder> + com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder> getGeocodeFieldBuilder() { if (geocodeBuilder_ == null) { - geocodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, - com.google.maps.addressvalidation.v1.Geocode.Builder, - com.google.maps.addressvalidation.v1.GeocodeOrBuilder>( - getGeocode(), getParentForChildren(), isClean()); + geocodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder>( + getGeocode(), + getParentForChildren(), + isClean()); geocode_ = null; } return geocodeBuilder_; @@ -1347,47 +1189,34 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder private com.google.maps.addressvalidation.v1.AddressMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, - com.google.maps.addressvalidation.v1.AddressMetadata.Builder, - com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> - metadataBuilder_; + com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Other information relevant to deliverability.
      * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Other information relevant to deliverability.
      * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return The metadata. */ public com.google.maps.addressvalidation.v1.AddressMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1408,8 +1237,6 @@ public Builder setMetadata(com.google.maps.addressvalidation.v1.AddressMetadata return this; } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1428,8 +1255,6 @@ public Builder setMetadata( return this; } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1440,9 +1265,7 @@ public Builder mergeMetadata(com.google.maps.addressvalidation.v1.AddressMetadat if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1454,8 +1277,6 @@ public Builder mergeMetadata(com.google.maps.addressvalidation.v1.AddressMetadat return this; } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1474,8 +1295,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1483,13 +1302,11 @@ public Builder clearMetadata() { * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; */ public com.google.maps.addressvalidation.v1.AddressMetadata.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1500,14 +1317,11 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null - ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? + com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; } } /** - * - * *
      * Other information relevant to deliverability.
      * 
@@ -1515,17 +1329,14 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, - com.google.maps.addressvalidation.v1.AddressMetadata.Builder, - com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> + com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, - com.google.maps.addressvalidation.v1.AddressMetadata.Builder, - com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; @@ -1533,49 +1344,36 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata private com.google.maps.addressvalidation.v1.UspsData uspsData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsData, - com.google.maps.addressvalidation.v1.UspsData.Builder, - com.google.maps.addressvalidation.v1.UspsDataOrBuilder> - uspsDataBuilder_; + com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder> uspsDataBuilder_; /** - * - * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
      * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return Whether the uspsData field is set. */ public boolean hasUspsData() { return uspsDataBuilder_ != null || uspsData_ != null; } /** - * - * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
      * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return The uspsData. */ public com.google.maps.addressvalidation.v1.UspsData getUspsData() { if (uspsDataBuilder_ == null) { - return uspsData_ == null - ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() - : uspsData_; + return uspsData_ == null ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_; } else { return uspsDataBuilder_.getMessage(); } } /** - * - * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1597,8 +1395,6 @@ public Builder setUspsData(com.google.maps.addressvalidation.v1.UspsData value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1618,8 +1414,6 @@ public Builder setUspsData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1631,9 +1425,7 @@ public Builder mergeUspsData(com.google.maps.addressvalidation.v1.UspsData value
       if (uspsDataBuilder_ == null) {
         if (uspsData_ != null) {
           uspsData_ =
-              com.google.maps.addressvalidation.v1.UspsData.newBuilder(uspsData_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.addressvalidation.v1.UspsData.newBuilder(uspsData_).mergeFrom(value).buildPartial();
         } else {
           uspsData_ = value;
         }
@@ -1645,8 +1437,6 @@ public Builder mergeUspsData(com.google.maps.addressvalidation.v1.UspsData value
       return this;
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1666,8 +1456,6 @@ public Builder clearUspsData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1676,13 +1464,11 @@ public Builder clearUspsData() {
      * .google.maps.addressvalidation.v1.UspsData usps_data = 5;
      */
     public com.google.maps.addressvalidation.v1.UspsData.Builder getUspsDataBuilder() {
-
+      
       onChanged();
       return getUspsDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1694,14 +1480,11 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
       if (uspsDataBuilder_ != null) {
         return uspsDataBuilder_.getMessageOrBuilder();
       } else {
-        return uspsData_ == null
-            ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance()
-            : uspsData_;
+        return uspsData_ == null ?
+            com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_;
       }
     }
     /**
-     *
-     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1710,24 +1493,21 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
      * .google.maps.addressvalidation.v1.UspsData usps_data = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.addressvalidation.v1.UspsData,
-            com.google.maps.addressvalidation.v1.UspsData.Builder,
-            com.google.maps.addressvalidation.v1.UspsDataOrBuilder>
+        com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder> 
         getUspsDataFieldBuilder() {
       if (uspsDataBuilder_ == null) {
-        uspsDataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.addressvalidation.v1.UspsData,
-                com.google.maps.addressvalidation.v1.UspsData.Builder,
-                com.google.maps.addressvalidation.v1.UspsDataOrBuilder>(
-                getUspsData(), getParentForChildren(), isClean());
+        uspsDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder>(
+                getUspsData(),
+                getParentForChildren(),
+                isClean());
         uspsData_ = null;
       }
       return uspsDataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1737,12 +1517,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidationResult)
   private static final com.google.maps.addressvalidation.v1.ValidationResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidationResult();
   }
@@ -1751,27 +1531,27 @@ public static com.google.maps.addressvalidation.v1.ValidationResult getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ValidationResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ValidationResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1786,4 +1566,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.addressvalidation.v1.ValidationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
similarity index 83%
rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
index 9d93c7667026..5831d445325e 100644
--- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
+++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * 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
+public interface ValidationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return Whether the verdict field is set. */ boolean hasVerdict(); /** - * - * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; - * * @return The verdict. */ com.google.maps.addressvalidation.v1.Verdict getVerdict(); /** - * - * *
    * Overall verdict flags
    * 
@@ -59,32 +35,24 @@ public interface ValidationResultOrBuilder com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder(); /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return Whether the address field is set. */ boolean hasAddress(); /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; - * * @return The address. */ com.google.maps.addressvalidation.v1.Address getAddress(); /** - * - * *
    * Information about the address itself as opposed to the geocode.
    * 
@@ -94,32 +62,24 @@ public interface ValidationResultOrBuilder com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder(); /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return Whether the geocode field is set. */ boolean hasGeocode(); /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; - * * @return The geocode. */ com.google.maps.addressvalidation.v1.Geocode getGeocode(); /** - * - * *
    * Information about the location and place that the address geocoded to.
    * 
@@ -129,32 +89,24 @@ public interface ValidationResultOrBuilder com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder(); /** - * - * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; - * * @return The metadata. */ com.google.maps.addressvalidation.v1.AddressMetadata getMetadata(); /** - * - * *
    * Other information relevant to deliverability.
    * 
@@ -164,34 +116,26 @@ public interface ValidationResultOrBuilder com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadataOrBuilder(); /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return Whether the uspsData field is set. */ boolean hasUspsData(); /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; - * * @return The uspsData. */ com.google.maps.addressvalidation.v1.UspsData getUspsData(); /** - * - * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
similarity index 77%
rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
index 36bf8cc9536e..0b3fd1c0c4f7 100644
--- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
+++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
@@ -1,42 +1,24 @@
-/*
- * 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;
 
 /**
- *
- *
  * 
  * High level overview of the address validation result and geocode.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Verdict} */ -public final class Verdict extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Verdict extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Verdict) VerdictOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Verdict.newBuilder() to construct. private Verdict(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Verdict() { inputGranularity_ = 0; validationGranularity_ = 0; @@ -45,33 +27,30 @@ private Verdict() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Verdict(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Verdict.class, - com.google.maps.addressvalidation.v1.Verdict.Builder.class); + com.google.maps.addressvalidation.v1.Verdict.class, com.google.maps.addressvalidation.v1.Verdict.Builder.class); } /** - * - * *
    * The various granularities that an address or a geocode can have.
    * When used to indicate granularity for an *address*, these values indicate
@@ -85,10 +64,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.maps.addressvalidation.v1.Verdict.Granularity}
    */
-  public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Granularity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value. This value is unused.
      * 
@@ -97,8 +75,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ GRANULARITY_UNSPECIFIED(0), /** - * - * *
      * Below-building level result, such as an apartment.
      * 
@@ -107,8 +83,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ SUB_PREMISE(1), /** - * - * *
      * Building-level result.
      * 
@@ -117,19 +91,15 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ PREMISE(2), /** - * - * *
      * A geocode that should be very close to the building-level location of
-     * the address. Only used for geocodes and not for addresses.
+     * the address.
      * 
* * PREMISE_PROXIMITY = 3; */ PREMISE_PROXIMITY(3), /** - * - * *
      * The address or geocode indicates a block. Only used in regions which
      * have block-level addressing, such as Japan.
@@ -139,8 +109,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     BLOCK(4),
     /**
-     *
-     *
      * 
      * The geocode or address is granular to route, such as a street, road, or
      * highway.
@@ -150,8 +118,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     ROUTE(5),
     /**
-     *
-     *
      * 
      * All other granularities, which are bucketed together since they are not
      * deliverable.
@@ -164,8 +130,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This value is unused.
      * 
@@ -174,8 +138,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GRANULARITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Below-building level result, such as an apartment.
      * 
@@ -184,8 +146,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_PREMISE_VALUE = 1; /** - * - * *
      * Building-level result.
      * 
@@ -194,19 +154,15 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PREMISE_VALUE = 2; /** - * - * *
      * A geocode that should be very close to the building-level location of
-     * the address. Only used for geocodes and not for addresses.
+     * the address.
      * 
* * PREMISE_PROXIMITY = 3; */ public static final int PREMISE_PROXIMITY_VALUE = 3; /** - * - * *
      * The address or geocode indicates a block. Only used in regions which
      * have block-level addressing, such as Japan.
@@ -216,8 +172,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BLOCK_VALUE = 4;
     /**
-     *
-     *
      * 
      * The geocode or address is granular to route, such as a street, road, or
      * highway.
@@ -227,8 +181,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROUTE_VALUE = 5;
     /**
-     *
-     *
      * 
      * All other granularities, which are bucketed together since they are not
      * deliverable.
@@ -238,6 +190,7 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int OTHER_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -262,57 +215,53 @@ public static Granularity valueOf(int value) {
      */
     public static Granularity forNumber(int value) {
       switch (value) {
-        case 0:
-          return GRANULARITY_UNSPECIFIED;
-        case 1:
-          return SUB_PREMISE;
-        case 2:
-          return PREMISE;
-        case 3:
-          return PREMISE_PROXIMITY;
-        case 4:
-          return BLOCK;
-        case 5:
-          return ROUTE;
-        case 6:
-          return OTHER;
-        default:
-          return null;
+        case 0: return GRANULARITY_UNSPECIFIED;
+        case 1: return SUB_PREMISE;
+        case 2: return PREMISE;
+        case 3: return PREMISE_PROXIMITY;
+        case 4: return BLOCK;
+        case 5: return ROUTE;
+        case 6: return OTHER;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Granularity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Granularity findValueByNumber(int number) {
+              return Granularity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Granularity findValueByNumber(int number) {
-            return Granularity.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.maps.addressvalidation.v1.Verdict.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Granularity[] VALUES = values();
 
-    public static Granularity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Granularity valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -332,8 +281,6 @@ private Granularity(int value) {
   public static final int INPUT_GRANULARITY_FIELD_NUMBER = 1;
   private int inputGranularity_;
   /**
-   *
-   *
    * 
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -345,16 +292,12 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The enum numeric value on the wire for inputGranularity. */ - @java.lang.Override - public int getInputGranularityValue() { + @java.lang.Override public int getInputGranularityValue() { return inputGranularity_; } /** - * - * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -366,24 +309,17 @@ public int getInputGranularityValue() {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The inputGranularity. */ - @java.lang.Override - public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { + @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } public static final int VALIDATION_GRANULARITY_FIELD_NUMBER = 2; private int validationGranularity_; /** - * - * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -393,16 +329,12 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranular
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * * @return The enum numeric value on the wire for validationGranularity. */ - @java.lang.Override - public int getValidationGranularityValue() { + @java.lang.Override public int getValidationGranularityValue() { return validationGranularity_; } /** - * - * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -412,24 +344,17 @@ public int getValidationGranularityValue() {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * * @return The validationGranularity. */ - @java.lang.Override - public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { + @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } public static final int GEOCODE_GRANULARITY_FIELD_NUMBER = 3; private int geocodeGranularity_; /** - * - * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -443,16 +368,12 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGra
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The enum numeric value on the wire for geocodeGranularity. */ - @java.lang.Override - public int getGeocodeGranularityValue() { + @java.lang.Override public int getGeocodeGranularityValue() { return geocodeGranularity_; } /** - * - * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -466,24 +387,17 @@ public int getGeocodeGranularityValue() {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The geocodeGranularity. */ - @java.lang.Override - public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { + @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } public static final int ADDRESS_COMPLETE_FIELD_NUMBER = 4; private boolean addressComplete_; /** - * - * *
    * The address is considered complete if there are no unresolved tokens, no
    * unexpected or missing address components. See
@@ -495,7 +409,6 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranul
    * 
* * bool address_complete = 4; - * * @return The addressComplete. */ @java.lang.Override @@ -506,8 +419,6 @@ public boolean getAddressComplete() { public static final int HAS_UNCONFIRMED_COMPONENTS_FIELD_NUMBER = 5; private boolean hasUnconfirmedComponents_; /** - * - * *
    * At least one address component cannot be categorized or validated, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -515,7 +426,6 @@ public boolean getAddressComplete() {
    * 
* * bool has_unconfirmed_components = 5; - * * @return The hasUnconfirmedComponents. */ @java.lang.Override @@ -526,8 +436,6 @@ public boolean getHasUnconfirmedComponents() { public static final int HAS_INFERRED_COMPONENTS_FIELD_NUMBER = 6; private boolean hasInferredComponents_; /** - * - * *
    * At least one address component was inferred (added) that wasn't in the
    * input, see
@@ -536,7 +444,6 @@ public boolean getHasUnconfirmedComponents() {
    * 
* * bool has_inferred_components = 6; - * * @return The hasInferredComponents. */ @java.lang.Override @@ -547,8 +454,6 @@ public boolean getHasInferredComponents() { public static final int HAS_REPLACED_COMPONENTS_FIELD_NUMBER = 7; private boolean hasReplacedComponents_; /** - * - * *
    * At least one address component was replaced, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -556,7 +461,6 @@ public boolean getHasInferredComponents() {
    * 
* * bool has_replaced_components = 7; - * * @return The hasReplacedComponents. */ @java.lang.Override @@ -565,7 +469,6 @@ public boolean getHasReplacedComponents() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -577,20 +480,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (inputGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (inputGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, inputGranularity_); } - if (validationGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { + if (validationGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, validationGranularity_); } - if (geocodeGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { + if (geocodeGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(3, geocodeGranularity_); } if (addressComplete_ != false) { @@ -614,32 +512,33 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (inputGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, inputGranularity_); + if (inputGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, inputGranularity_); } - if (validationGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, validationGranularity_); + if (validationGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, validationGranularity_); } - if (geocodeGranularity_ - != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, geocodeGranularity_); + if (geocodeGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, geocodeGranularity_); } if (addressComplete_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, addressComplete_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, addressComplete_); } if (hasUnconfirmedComponents_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasUnconfirmedComponents_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, hasUnconfirmedComponents_); } if (hasInferredComponents_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hasInferredComponents_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hasInferredComponents_); } if (hasReplacedComponents_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, hasReplacedComponents_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, hasReplacedComponents_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -649,21 +548,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Verdict)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Verdict other = - (com.google.maps.addressvalidation.v1.Verdict) obj; + com.google.maps.addressvalidation.v1.Verdict other = (com.google.maps.addressvalidation.v1.Verdict) obj; if (inputGranularity_ != other.inputGranularity_) return false; if (validationGranularity_ != other.validationGranularity_) return false; if (geocodeGranularity_ != other.geocodeGranularity_) return false; - if (getAddressComplete() != other.getAddressComplete()) return false; - if (getHasUnconfirmedComponents() != other.getHasUnconfirmedComponents()) return false; - if (getHasInferredComponents() != other.getHasInferredComponents()) return false; - if (getHasReplacedComponents() != other.getHasReplacedComponents()) return false; + if (getAddressComplete() + != other.getAddressComplete()) return false; + if (getHasUnconfirmedComponents() + != other.getHasUnconfirmedComponents()) return false; + if (getHasInferredComponents() + != other.getHasInferredComponents()) return false; + if (getHasReplacedComponents() + != other.getHasReplacedComponents()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -682,148 +584,146 @@ public int hashCode() { hash = (37 * hash) + GEOCODE_GRANULARITY_FIELD_NUMBER; hash = (53 * hash) + geocodeGranularity_; hash = (37 * hash) + ADDRESS_COMPLETE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAddressComplete()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAddressComplete()); hash = (37 * hash) + HAS_UNCONFIRMED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasUnconfirmedComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasUnconfirmedComponents()); hash = (37 * hash) + HAS_INFERRED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasInferredComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasInferredComponents()); hash = (37 * hash) + HAS_REPLACED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasReplacedComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasReplacedComponents()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.Verdict prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * High level overview of the address validation result and geocode.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Verdict} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Verdict) com.google.maps.addressvalidation.v1.VerdictOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Verdict.class, - com.google.maps.addressvalidation.v1.Verdict.Builder.class); + com.google.maps.addressvalidation.v1.Verdict.class, com.google.maps.addressvalidation.v1.Verdict.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Verdict.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -845,9 +745,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto - .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override @@ -866,8 +766,7 @@ public com.google.maps.addressvalidation.v1.Verdict build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict buildPartial() { - com.google.maps.addressvalidation.v1.Verdict result = - new com.google.maps.addressvalidation.v1.Verdict(this); + com.google.maps.addressvalidation.v1.Verdict result = new com.google.maps.addressvalidation.v1.Verdict(this); result.inputGranularity_ = inputGranularity_; result.validationGranularity_ = validationGranularity_; result.geocodeGranularity_ = geocodeGranularity_; @@ -883,39 +782,38 @@ public com.google.maps.addressvalidation.v1.Verdict buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Verdict) { - return mergeFrom((com.google.maps.addressvalidation.v1.Verdict) other); + return mergeFrom((com.google.maps.addressvalidation.v1.Verdict)other); } else { super.mergeFrom(other); return this; @@ -971,55 +869,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - inputGranularity_ = input.readEnum(); - - break; - } // case 8 - case 16: - { - validationGranularity_ = input.readEnum(); - - break; - } // case 16 - case 24: - { - geocodeGranularity_ = input.readEnum(); - - break; - } // case 24 - case 32: - { - addressComplete_ = input.readBool(); - - break; - } // case 32 - case 40: - { - hasUnconfirmedComponents_ = input.readBool(); - - break; - } // case 40 - case 48: - { - hasInferredComponents_ = input.readBool(); - - break; - } // case 48 - case 56: - { - hasReplacedComponents_ = input.readBool(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + inputGranularity_ = input.readEnum(); + + break; + } // case 8 + case 16: { + validationGranularity_ = input.readEnum(); + + break; + } // case 16 + case 24: { + geocodeGranularity_ = input.readEnum(); + + break; + } // case 24 + case 32: { + addressComplete_ = input.readBool(); + + break; + } // case 32 + case 40: { + hasUnconfirmedComponents_ = input.readBool(); + + break; + } // case 40 + case 48: { + hasInferredComponents_ = input.readBool(); + + break; + } // case 48 + case 56: { + hasReplacedComponents_ = input.readBool(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1032,8 +922,6 @@ public Builder mergeFrom( private int inputGranularity_ = 0; /** - * - * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1045,16 +933,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The enum numeric value on the wire for inputGranularity. */ - @java.lang.Override - public int getInputGranularityValue() { + @java.lang.Override public int getInputGranularityValue() { return inputGranularity_; } /** - * - * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1066,19 +950,16 @@ public int getInputGranularityValue() {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @param value The enum numeric value on the wire for inputGranularity to set. * @return This builder for chaining. */ public Builder setInputGranularityValue(int value) { - + inputGranularity_ = value; onChanged(); return this; } /** - * - * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1090,21 +971,15 @@ public Builder setInputGranularityValue(int value) {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The inputGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } /** - * - * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1116,23 +991,19 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranular
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @param value The inputGranularity to set. * @return This builder for chaining. */ - public Builder setInputGranularity( - com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setInputGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + inputGranularity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1144,11 +1015,10 @@ public Builder setInputGranularity(
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return This builder for chaining. */ public Builder clearInputGranularity() { - + inputGranularity_ = 0; onChanged(); return this; @@ -1156,8 +1026,6 @@ public Builder clearInputGranularity() { private int validationGranularity_ = 0; /** - * - * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1166,18 +1034,13 @@ public Builder clearInputGranularity() {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * - * + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; * @return The enum numeric value on the wire for validationGranularity. */ - @java.lang.Override - public int getValidationGranularityValue() { + @java.lang.Override public int getValidationGranularityValue() { return validationGranularity_; } /** - * - * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1186,21 +1049,17 @@ public int getValidationGranularityValue() {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * - * + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; * @param value The enum numeric value on the wire for validationGranularity to set. * @return This builder for chaining. */ public Builder setValidationGranularityValue(int value) { - + validationGranularity_ = value; onChanged(); return this; } /** - * - * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1209,23 +1068,16 @@ public Builder setValidationGranularityValue(int value) {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * - * + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; * @return The validationGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } /** - * - * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1234,25 +1086,20 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGra
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * - * + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; * @param value The validationGranularity to set. * @return This builder for chaining. */ - public Builder setValidationGranularity( - com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setValidationGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + validationGranularity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1261,13 +1108,11 @@ public Builder setValidationGranularity(
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * - * + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; * @return This builder for chaining. */ public Builder clearValidationGranularity() { - + validationGranularity_ = 0; onChanged(); return this; @@ -1275,8 +1120,6 @@ public Builder clearValidationGranularity() { private int geocodeGranularity_ = 0; /** - * - * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1290,16 +1133,12 @@ public Builder clearValidationGranularity() {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The enum numeric value on the wire for geocodeGranularity. */ - @java.lang.Override - public int getGeocodeGranularityValue() { + @java.lang.Override public int getGeocodeGranularityValue() { return geocodeGranularity_; } /** - * - * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1313,19 +1152,16 @@ public int getGeocodeGranularityValue() {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @param value The enum numeric value on the wire for geocodeGranularity to set. * @return This builder for chaining. */ public Builder setGeocodeGranularityValue(int value) { - + geocodeGranularity_ = value; onChanged(); return this; } /** - * - * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1339,21 +1175,15 @@ public Builder setGeocodeGranularityValue(int value) {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The geocodeGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = - com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); - return result == null - ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED - : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); + return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; } /** - * - * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1367,23 +1197,19 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranul
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @param value The geocodeGranularity to set. * @return This builder for chaining. */ - public Builder setGeocodeGranularity( - com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setGeocodeGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + geocodeGranularity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1397,20 +1223,17 @@ public Builder setGeocodeGranularity(
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return This builder for chaining. */ public Builder clearGeocodeGranularity() { - + geocodeGranularity_ = 0; onChanged(); return this; } - private boolean addressComplete_; + private boolean addressComplete_ ; /** - * - * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1422,7 +1245,6 @@ public Builder clearGeocodeGranularity() {
      * 
* * bool address_complete = 4; - * * @return The addressComplete. */ @java.lang.Override @@ -1430,8 +1252,6 @@ public boolean getAddressComplete() { return addressComplete_; } /** - * - * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1443,19 +1263,16 @@ public boolean getAddressComplete() {
      * 
* * bool address_complete = 4; - * * @param value The addressComplete to set. * @return This builder for chaining. */ public Builder setAddressComplete(boolean value) { - + addressComplete_ = value; onChanged(); return this; } /** - * - * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1467,20 +1284,17 @@ public Builder setAddressComplete(boolean value) {
      * 
* * bool address_complete = 4; - * * @return This builder for chaining. */ public Builder clearAddressComplete() { - + addressComplete_ = false; onChanged(); return this; } - private boolean hasUnconfirmedComponents_; + private boolean hasUnconfirmedComponents_ ; /** - * - * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1488,7 +1302,6 @@ public Builder clearAddressComplete() {
      * 
* * bool has_unconfirmed_components = 5; - * * @return The hasUnconfirmedComponents. */ @java.lang.Override @@ -1496,8 +1309,6 @@ public boolean getHasUnconfirmedComponents() { return hasUnconfirmedComponents_; } /** - * - * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1505,19 +1316,16 @@ public boolean getHasUnconfirmedComponents() {
      * 
* * bool has_unconfirmed_components = 5; - * * @param value The hasUnconfirmedComponents to set. * @return This builder for chaining. */ public Builder setHasUnconfirmedComponents(boolean value) { - + hasUnconfirmedComponents_ = value; onChanged(); return this; } /** - * - * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1525,20 +1333,17 @@ public Builder setHasUnconfirmedComponents(boolean value) {
      * 
* * bool has_unconfirmed_components = 5; - * * @return This builder for chaining. */ public Builder clearHasUnconfirmedComponents() { - + hasUnconfirmedComponents_ = false; onChanged(); return this; } - private boolean hasInferredComponents_; + private boolean hasInferredComponents_ ; /** - * - * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1547,7 +1352,6 @@ public Builder clearHasUnconfirmedComponents() {
      * 
* * bool has_inferred_components = 6; - * * @return The hasInferredComponents. */ @java.lang.Override @@ -1555,8 +1359,6 @@ public boolean getHasInferredComponents() { return hasInferredComponents_; } /** - * - * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1565,19 +1367,16 @@ public boolean getHasInferredComponents() {
      * 
* * bool has_inferred_components = 6; - * * @param value The hasInferredComponents to set. * @return This builder for chaining. */ public Builder setHasInferredComponents(boolean value) { - + hasInferredComponents_ = value; onChanged(); return this; } /** - * - * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1586,20 +1385,17 @@ public Builder setHasInferredComponents(boolean value) {
      * 
* * bool has_inferred_components = 6; - * * @return This builder for chaining. */ public Builder clearHasInferredComponents() { - + hasInferredComponents_ = false; onChanged(); return this; } - private boolean hasReplacedComponents_; + private boolean hasReplacedComponents_ ; /** - * - * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1607,7 +1403,6 @@ public Builder clearHasInferredComponents() {
      * 
* * bool has_replaced_components = 7; - * * @return The hasReplacedComponents. */ @java.lang.Override @@ -1615,8 +1410,6 @@ public boolean getHasReplacedComponents() { return hasReplacedComponents_; } /** - * - * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1624,19 +1417,16 @@ public boolean getHasReplacedComponents() {
      * 
* * bool has_replaced_components = 7; - * * @param value The hasReplacedComponents to set. * @return This builder for chaining. */ public Builder setHasReplacedComponents(boolean value) { - + hasReplacedComponents_ = value; onChanged(); return this; } /** - * - * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1644,18 +1434,17 @@ public Builder setHasReplacedComponents(boolean value) {
      * 
* * bool has_replaced_components = 7; - * * @return This builder for chaining. */ public Builder clearHasReplacedComponents() { - + hasReplacedComponents_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1665,12 +1454,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Verdict) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Verdict) private static final com.google.maps.addressvalidation.v1.Verdict DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Verdict(); } @@ -1679,27 +1468,27 @@ public static com.google.maps.addressvalidation.v1.Verdict getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Verdict parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Verdict parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1714,4 +1503,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.Verdict getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java similarity index 88% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java index bb42206ef671..3e60f83c1f4e 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java @@ -1,31 +1,13 @@ -/* - * 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 VerdictOrBuilder - extends +public interface VerdictOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Verdict) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -37,13 +19,10 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The enum numeric value on the wire for inputGranularity. */ int getInputGranularityValue(); /** - * - * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -55,14 +34,11 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; - * * @return The inputGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity(); /** - * - * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -72,13 +48,10 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * * @return The enum numeric value on the wire for validationGranularity. */ int getValidationGranularityValue(); /** - * - * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -88,14 +61,11 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; - * * @return The validationGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity(); /** - * - * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -109,13 +79,10 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The enum numeric value on the wire for geocodeGranularity. */ int getGeocodeGranularityValue(); /** - * - * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -129,14 +96,11 @@ public interface VerdictOrBuilder
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; - * * @return The geocodeGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity(); /** - * - * *
    * The address is considered complete if there are no unresolved tokens, no
    * unexpected or missing address components. See
@@ -148,14 +112,11 @@ public interface VerdictOrBuilder
    * 
* * bool address_complete = 4; - * * @return The addressComplete. */ boolean getAddressComplete(); /** - * - * *
    * At least one address component cannot be categorized or validated, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -163,14 +124,11 @@ public interface VerdictOrBuilder
    * 
* * bool has_unconfirmed_components = 5; - * * @return The hasUnconfirmedComponents. */ boolean getHasUnconfirmedComponents(); /** - * - * *
    * At least one address component was inferred (added) that wasn't in the
    * input, see
@@ -179,14 +137,11 @@ public interface VerdictOrBuilder
    * 
* * bool has_inferred_components = 6; - * * @return The hasInferredComponents. */ boolean getHasInferredComponents(); /** - * - * *
    * At least one address component was replaced, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -194,7 +149,6 @@ public interface VerdictOrBuilder
    * 
* * bool has_replaced_components = 7; - * * @return The hasReplacedComponents. */ boolean getHasReplacedComponents(); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto similarity index 100% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto similarity index 97% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto index b67b98efbb3f..ee873b8aedd4 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto +++ b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto @@ -40,7 +40,8 @@ service AddressValidation { option (google.api.default_host) = "addressvalidation.googleapis.com"; // Validates an address. - rpc ValidateAddress(ValidateAddressRequest) returns (ValidateAddressResponse) { + rpc ValidateAddress(ValidateAddressRequest) + returns (ValidateAddressResponse) { option (google.api.http) = { post: "/v1:validateAddress" body: "*" @@ -52,7 +53,8 @@ service AddressValidation { // 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. - rpc ProvideValidationFeedback(ProvideValidationFeedbackRequest) returns (ProvideValidationFeedbackResponse) { + rpc ProvideValidationFeedback(ProvideValidationFeedbackRequest) + returns (ProvideValidationFeedbackResponse) { option (google.api.http) = { post: "/v1:provideValidationFeedback" body: "*" @@ -80,7 +82,8 @@ message ValidateAddressRequest { // [recipients][google.type.PostalAddress.recipients] and // [organization][google.type.PostalAddress.organization]. Any values in those // fields will be discarded and not returned. Please do not set them. - google.type.PostalAddress address = 1 [(google.api.field_behavior) = REQUIRED]; + google.type.PostalAddress address = 1 + [(google.api.field_behavior) = REQUIRED]; // This field must be empty for the first address validation request. If // more requests are necessary to fully validate a single address (for @@ -149,7 +152,8 @@ message ProvideValidationFeedbackRequest { // `INVALID_ARGUMENT` error will be returned. ValidationConclusion conclusion = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID of the response that this feedback is for. This should be the + // Required. The ID of the response that this feedback is for. This should be + // the // [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id] // from the first response in a series of address validation attempts. string response_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -158,9 +162,7 @@ message ProvideValidationFeedbackRequest { // The response for validation feedback. // // The response is empty if the feedback is sent successfully. -message ProvideValidationFeedbackResponse { - -} +message ProvideValidationFeedbackResponse {} // The result of validating an address. message ValidationResult { @@ -202,7 +204,7 @@ message Verdict { PREMISE = 2; // A geocode that should be very close to the building-level location of - // the address. Only used for geocodes and not for addresses. + // the address. PREMISE_PROXIMITY = 3; // The address or geocode indicates a block. Only used in regions which diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto similarity index 100% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto similarity index 100% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto similarity index 100% rename from java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto rename to owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto From d726d8fd7574e3bc45baac4ea920cc1e68cc4b30 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 7 Dec 2022 12:53:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/AddressValidationClient.java | 0 .../v1/AddressValidationSettings.java | 1 - .../addressvalidation/v1/gapic_metadata.json | 0 .../addressvalidation/v1/package-info.java | 0 .../v1/stub/AddressValidationStub.java | 0 .../stub/AddressValidationStubSettings.java | 0 .../GrpcAddressValidationCallableFactory.java | 0 .../v1/stub/GrpcAddressValidationStub.java | 0 ...pJsonAddressValidationCallableFactory.java | 0 .../stub/HttpJsonAddressValidationStub.java | 0 .../AddressValidationClientHttpJsonTest.java | 0 .../v1/AddressValidationClientTest.java | 0 .../v1/MockAddressValidation.java | 0 .../v1/MockAddressValidationImpl.java | 0 .../v1/AddressValidationGrpc.java | 514 ++++ .../maps/addressvalidation/v1/Address.java | 1002 ++++--- .../v1/AddressComponent.java | 749 ++++-- .../v1/AddressComponentOrBuilder.java | 61 +- .../addressvalidation/v1/AddressMetadata.java | 372 +-- .../v1/AddressMetadataOrBuilder.java | 36 +- .../v1/AddressOrBuilder.java | 124 +- .../addressvalidation/v1/AddressProto.java | 134 + .../v1/AddressValidationServiceProto.java | 213 ++ .../addressvalidation/v1/ComponentName.java | 406 +-- .../v1/ComponentNameOrBuilder.java | 36 +- .../maps/addressvalidation/v1/Geocode.java | 701 +++-- .../v1/GeocodeOrBuilder.java | 72 +- .../addressvalidation/v1/GeocodeProto.java | 94 + .../addressvalidation/v1/MetadataProto.java | 71 + .../maps/addressvalidation/v1/PlusCode.java | 399 +-- .../v1/PlusCodeOrBuilder.java | 36 +- .../v1/ProvideValidationFeedbackRequest.java | 558 ++-- ...ideValidationFeedbackRequestOrBuilder.java | 44 +- .../v1/ProvideValidationFeedbackResponse.java | 292 ++- ...deValidationFeedbackResponseOrBuilder.java | 24 + .../addressvalidation/v1/UspsAddress.java | 961 ++++--- .../v1/UspsAddressOrBuilder.java | 99 +- .../maps/addressvalidation/v1/UspsData.java | 2331 ++++++++++------- .../v1/UspsDataOrBuilder.java | 245 +- .../addressvalidation/v1/UspsDataProto.java | 139 + .../v1/ValidateAddressRequest.java | 466 ++-- .../v1/ValidateAddressRequestOrBuilder.java | 38 +- .../v1/ValidateAddressResponse.java | 423 +-- .../v1/ValidateAddressResponseOrBuilder.java | 35 +- .../v1/ValidationResult.java | 684 +++-- .../v1/ValidationResultOrBuilder.java | 58 +- .../maps/addressvalidation/v1/Verdict.java | 725 +++-- .../v1/VerdictOrBuilder.java | 48 +- .../maps/addressvalidation/v1/address.proto | 0 .../v1/address_validation_service.proto | 0 .../maps/addressvalidation/v1/geocode.proto | 0 .../maps/addressvalidation/v1/metadata.proto | 0 .../maps/addressvalidation/v1/usps_data.proto | 0 .../v1/AddressValidationGrpc.java | 405 --- .../addressvalidation/v1/AddressProto.java | 106 - .../v1/AddressValidationServiceProto.java | 189 -- .../addressvalidation/v1/GeocodeProto.java | 78 - .../addressvalidation/v1/MetadataProto.java | 58 - ...deValidationFeedbackResponseOrBuilder.java | 9 - .../addressvalidation/v1/UspsDataProto.java | 90 - 60 files changed, 8119 insertions(+), 5007 deletions(-) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java (99%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java (100%) create mode 100644 java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java (78%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java (71%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java (76%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java (71%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java (71%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java (85%) create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java (68%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java (61%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java (77%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java (86%) create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java (69%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java (64%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java (64%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java (60%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java (57%) create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java (70%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java (69%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java (77%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java (86%) create mode 100644 java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java (80%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java (88%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java (69%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java (67%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java (72%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java (83%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java (77%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java (88%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto (100%) rename {owl-bot-staging/java-maps-addressvalidation/v1 => java-maps-addressvalidation}/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto (100%) delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java similarity index 99% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java index fd9f2dbfc77a..57fb39a18a81 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.maps.addressvalidation.v1.stub.AddressValidationStubSettings; diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStub.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/AddressValidationStubSettings.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationCallableFactory.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/GrpcAddressValidationStub.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationCallableFactory.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/HttpJsonAddressValidationStub.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidation.java diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java rename to java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/MockAddressValidationImpl.java diff --git a/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java b/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java new file mode 100644 index 000000000000..2a2ad4dfef3c --- /dev/null +++ b/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java @@ -0,0 +1,514 @@ +/* + * 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. + */ +package com.google.maps.addressvalidation.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The service for validating addresses.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/maps/addressvalidation/v1/address_validation_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AddressValidationGrpc { + + private AddressValidationGrpc() {} + + public static final String SERVICE_NAME = "google.maps.addressvalidation.v1.AddressValidation"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ValidateAddressRequest, + com.google.maps.addressvalidation.v1.ValidateAddressResponse> + getValidateAddressMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ValidateAddress", + requestType = com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, + responseType = com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ValidateAddressRequest, + com.google.maps.addressvalidation.v1.ValidateAddressResponse> + getValidateAddressMethod() { + io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ValidateAddressRequest, + com.google.maps.addressvalidation.v1.ValidateAddressResponse> + getValidateAddressMethod; + if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { + synchronized (AddressValidationGrpc.class) { + if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { + AddressValidationGrpc.getValidateAddressMethod = + getValidateAddressMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAddress")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ValidateAddressRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ValidateAddressResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AddressValidationMethodDescriptorSupplier("ValidateAddress")) + .build(); + } + } + } + return getValidateAddressMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + getProvideValidationFeedbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvideValidationFeedback", + requestType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, + responseType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + getProvideValidationFeedbackMethod() { + io.grpc.MethodDescriptor< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + getProvideValidationFeedbackMethod; + if ((getProvideValidationFeedbackMethod = + AddressValidationGrpc.getProvideValidationFeedbackMethod) + == null) { + synchronized (AddressValidationGrpc.class) { + if ((getProvideValidationFeedbackMethod = + AddressValidationGrpc.getProvideValidationFeedbackMethod) + == null) { + AddressValidationGrpc.getProvideValidationFeedbackMethod = + getProvideValidationFeedbackMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ProvideValidationFeedback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AddressValidationMethodDescriptorSupplier( + "ProvideValidationFeedback")) + .build(); + } + } + } + return getProvideValidationFeedbackMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AddressValidationStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationStub(channel, callOptions); + } + }; + return AddressValidationStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AddressValidationBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationBlockingStub(channel, callOptions); + } + }; + return AddressValidationBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AddressValidationFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AddressValidationFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationFutureStub(channel, callOptions); + } + }; + return AddressValidationFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The service for validating addresses.
+   * 
+ */ + public abstract static class AddressValidationImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Validates an address.
+     * 
+ */ + public void validateAddress( + com.google.maps.addressvalidation.v1.ValidateAddressRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getValidateAddressMethod(), 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.
+     * 
+ */ + public void provideValidationFeedback( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, + io.grpc.stub.StreamObserver< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getProvideValidationFeedbackMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getValidateAddressMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.addressvalidation.v1.ValidateAddressRequest, + com.google.maps.addressvalidation.v1.ValidateAddressResponse>( + this, METHODID_VALIDATE_ADDRESS))) + .addMethod( + getProvideValidationFeedbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>( + this, METHODID_PROVIDE_VALIDATION_FEEDBACK))) + .build(); + } + } + + /** + * + * + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationStub + extends io.grpc.stub.AbstractAsyncStub { + private AddressValidationStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationStub(channel, callOptions); + } + + /** + * + * + *
+     * Validates an address.
+     * 
+ */ + public void validateAddress( + com.google.maps.addressvalidation.v1.ValidateAddressRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getValidateAddressMethod(), getCallOptions()), + request, + 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.
+     * 
+ */ + public void provideValidationFeedback( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, + io.grpc.stub.StreamObserver< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AddressValidationBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Validates an address.
+     * 
+ */ + public com.google.maps.addressvalidation.v1.ValidateAddressResponse validateAddress( + com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateAddressMethod(), getCallOptions(), 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.
+     * 
+ */ + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse + provideValidationFeedback( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvideValidationFeedbackMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The service for validating addresses.
+   * 
+ */ + public static final class AddressValidationFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AddressValidationFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AddressValidationFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AddressValidationFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Validates an address.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.maps.addressvalidation.v1.ValidateAddressResponse> + validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getValidateAddressMethod(), getCallOptions()), 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse> + provideValidationFeedback( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_VALIDATE_ADDRESS = 0; + private static final int METHODID_PROVIDE_VALIDATION_FEEDBACK = 1; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AddressValidationImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AddressValidationImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_VALIDATE_ADDRESS: + serviceImpl.validateAddress( + (com.google.maps.addressvalidation.v1.ValidateAddressRequest) request, + (io.grpc.stub.StreamObserver< + com.google.maps.addressvalidation.v1.ValidateAddressResponse>) + responseObserver); + break; + case METHODID_PROVIDE_VALIDATION_FEEDBACK: + serviceImpl.provideValidationFeedback( + (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) request, + (io.grpc.stub.StreamObserver< + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class AddressValidationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AddressValidationBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AddressValidation"); + } + } + + private static final class AddressValidationFileDescriptorSupplier + extends AddressValidationBaseDescriptorSupplier { + AddressValidationFileDescriptorSupplier() {} + } + + private static final class AddressValidationMethodDescriptorSupplier + extends AddressValidationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AddressValidationMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AddressValidationGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AddressValidationFileDescriptorSupplier()) + .addMethod(getValidateAddressMethod()) + .addMethod(getProvideValidationFeedbackMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java similarity index 78% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java index 1b058e4af1e7..5539bb620370 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Address.java @@ -1,24 +1,42 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * Details of the address parsed from the input.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Address} */ -public final class Address extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Address extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Address) AddressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Address.newBuilder() to construct. private Address(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Address() { formattedAddress_ = ""; addressComponents_ = java.util.Collections.emptyList(); @@ -29,38 +47,42 @@ private Address() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Address(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Address.class, com.google.maps.addressvalidation.v1.Address.Builder.class); + com.google.maps.addressvalidation.v1.Address.class, + com.google.maps.addressvalidation.v1.Address.Builder.class); } public static final int FORMATTED_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object formattedAddress_; /** + * + * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; + * * @return The formattedAddress. */ @java.lang.Override @@ -69,30 +91,30 @@ public java.lang.String getFormattedAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedAddress_ = s; return s; } } /** + * + * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; + * * @return The bytes for formattedAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getFormattedAddressBytes() { + public com.google.protobuf.ByteString getFormattedAddressBytes() { java.lang.Object ref = formattedAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedAddress_ = b; return b; } else { @@ -103,11 +125,14 @@ public java.lang.String getFormattedAddress() { public static final int POSTAL_ADDRESS_FIELD_NUMBER = 3; private com.google.type.PostalAddress postalAddress_; /** + * + * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -115,18 +140,25 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
    * The validated address represented as a postal address.
    * 
@@ -141,6 +173,8 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int ADDRESS_COMPONENTS_FIELD_NUMBER = 4; private java.util.List addressComponents_; /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -149,13 +183,18 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List getAddressComponentsList() { + public java.util.List + getAddressComponentsList() { return addressComponents_; } /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -164,14 +203,18 @@ public java.util.List get
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAddressComponentsOrBuilderList() { return addressComponents_; } /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -180,13 +223,17 @@ public java.util.List get
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public int getAddressComponentsCount() { return addressComponents_.size(); } /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -195,13 +242,17 @@ public int getAddressComponentsCount() {
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index) { return addressComponents_.get(index); } /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -210,17 +261,21 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( - int index) { + public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder + getAddressComponentsOrBuilder(int index) { return addressComponents_.get(index); } public static final int MISSING_COMPONENT_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList missingComponentTypes_; /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -232,13 +287,15 @@ public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddress
    * 
* * repeated string missing_component_types = 5; + * * @return A list containing the missingComponentTypes. */ - public com.google.protobuf.ProtocolStringList - getMissingComponentTypesList() { + public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() { return missingComponentTypes_; } /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -250,12 +307,15 @@ public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddress
    * 
* * repeated string missing_component_types = 5; + * * @return The count of missingComponentTypes. */ public int getMissingComponentTypesCount() { return missingComponentTypes_.size(); } /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -267,6 +327,7 @@ public int getMissingComponentTypesCount() {
    * 
* * repeated string missing_component_types = 5; + * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ @@ -274,6 +335,8 @@ public java.lang.String getMissingComponentTypes(int index) { return missingComponentTypes_.get(index); } /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -285,17 +348,19 @@ public java.lang.String getMissingComponentTypes(int index) {
    * 
* * repeated string missing_component_types = 5; + * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - public com.google.protobuf.ByteString - getMissingComponentTypesBytes(int index) { + public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) { return missingComponentTypes_.getByteString(index); } public static final int UNCONFIRMED_COMPONENT_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList unconfirmedComponentTypes_; /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -311,13 +376,15 @@ public java.lang.String getMissingComponentTypes(int index) {
    * 
* * repeated string unconfirmed_component_types = 6; + * * @return A list containing the unconfirmedComponentTypes. */ - public com.google.protobuf.ProtocolStringList - getUnconfirmedComponentTypesList() { + public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList() { return unconfirmedComponentTypes_; } /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -333,12 +400,15 @@ public java.lang.String getMissingComponentTypes(int index) {
    * 
* * repeated string unconfirmed_component_types = 6; + * * @return The count of unconfirmedComponentTypes. */ public int getUnconfirmedComponentTypesCount() { return unconfirmedComponentTypes_.size(); } /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -354,6 +424,7 @@ public int getUnconfirmedComponentTypesCount() {
    * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ @@ -361,6 +432,8 @@ public java.lang.String getUnconfirmedComponentTypes(int index) { return unconfirmedComponentTypes_.get(index); } /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -376,17 +449,19 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
    * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - public com.google.protobuf.ByteString - getUnconfirmedComponentTypesBytes(int index) { + public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index) { return unconfirmedComponentTypes_.getByteString(index); } public static final int UNRESOLVED_TOKENS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList unresolvedTokens_; /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -396,13 +471,15 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
    * 
* * repeated string unresolved_tokens = 7; + * * @return A list containing the unresolvedTokens. */ - public com.google.protobuf.ProtocolStringList - getUnresolvedTokensList() { + public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() { return unresolvedTokens_; } /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -412,12 +489,15 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
    * 
* * repeated string unresolved_tokens = 7; + * * @return The count of unresolvedTokens. */ public int getUnresolvedTokensCount() { return unresolvedTokens_.size(); } /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -427,6 +507,7 @@ public int getUnresolvedTokensCount() {
    * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ @@ -434,6 +515,8 @@ public java.lang.String getUnresolvedTokens(int index) { return unresolvedTokens_.get(index); } /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -443,15 +526,16 @@ public java.lang.String getUnresolvedTokens(int index) {
    * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - public com.google.protobuf.ByteString - getUnresolvedTokensBytes(int index) { + public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index) { return unresolvedTokens_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,8 +547,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, formattedAddress_); } @@ -475,10 +558,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, addressComponents_.get(i)); } for (int i = 0; i < missingComponentTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, missingComponentTypes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, missingComponentTypes_.getRaw(i)); } for (int i = 0; i < unconfirmedComponentTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, unconfirmedComponentTypes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6, unconfirmedComponentTypes_.getRaw(i)); } for (int i = 0; i < unresolvedTokens_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, unresolvedTokens_.getRaw(i)); @@ -496,12 +581,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, formattedAddress_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPostalAddress()); } for (int i = 0; i < addressComponents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, addressComponents_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, addressComponents_.get(i)); } { int dataSize = 0; @@ -535,28 +619,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Address)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Address other = (com.google.maps.addressvalidation.v1.Address) obj; + com.google.maps.addressvalidation.v1.Address other = + (com.google.maps.addressvalidation.v1.Address) obj; - if (!getFormattedAddress() - .equals(other.getFormattedAddress())) return false; + if (!getFormattedAddress().equals(other.getFormattedAddress())) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; - } - if (!getAddressComponentsList() - .equals(other.getAddressComponentsList())) return false; - if (!getMissingComponentTypesList() - .equals(other.getMissingComponentTypesList())) return false; - if (!getUnconfirmedComponentTypesList() - .equals(other.getUnconfirmedComponentTypesList())) return false; - if (!getUnresolvedTokensList() - .equals(other.getUnresolvedTokensList())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; + } + if (!getAddressComponentsList().equals(other.getAddressComponentsList())) return false; + if (!getMissingComponentTypesList().equals(other.getMissingComponentTypesList())) return false; + if (!getUnconfirmedComponentTypesList().equals(other.getUnconfirmedComponentTypesList())) + return false; + if (!getUnresolvedTokensList().equals(other.getUnresolvedTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -595,130 +675,136 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.Address parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Address parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Address parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Address parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Address parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Address parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.Address prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of the address parsed from the input.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Address} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Address) com.google.maps.addressvalidation.v1.AddressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Address.class, com.google.maps.addressvalidation.v1.Address.Builder.class); + com.google.maps.addressvalidation.v1.Address.class, + com.google.maps.addressvalidation.v1.Address.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Address.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -747,9 +833,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_Address_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_Address_descriptor; } @java.lang.Override @@ -768,7 +854,8 @@ public com.google.maps.addressvalidation.v1.Address build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Address buildPartial() { - com.google.maps.addressvalidation.v1.Address result = new com.google.maps.addressvalidation.v1.Address(this); + com.google.maps.addressvalidation.v1.Address result = + new com.google.maps.addressvalidation.v1.Address(this); int from_bitField0_ = bitField0_; result.formattedAddress_ = formattedAddress_; if (postalAddressBuilder_ == null) { @@ -808,38 +895,39 @@ public com.google.maps.addressvalidation.v1.Address buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Address) { - return mergeFrom((com.google.maps.addressvalidation.v1.Address)other); + return mergeFrom((com.google.maps.addressvalidation.v1.Address) other); } else { super.mergeFrom(other); return this; @@ -873,9 +961,10 @@ public Builder mergeFrom(com.google.maps.addressvalidation.v1.Address other) { addressComponentsBuilder_ = null; addressComponents_ = other.addressComponents_; bitField0_ = (bitField0_ & ~0x00000001); - addressComponentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAddressComponentsFieldBuilder() : null; + addressComponentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAddressComponentsFieldBuilder() + : null; } else { addressComponentsBuilder_.addAllMessages(other.addressComponents_); } @@ -937,55 +1026,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - formattedAddress_ = input.readStringRequireUtf8(); + case 18: + { + formattedAddress_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - com.google.maps.addressvalidation.v1.AddressComponent m = - input.readMessage( - com.google.maps.addressvalidation.v1.AddressComponent.parser(), - extensionRegistry); - if (addressComponentsBuilder_ == null) { - ensureAddressComponentsIsMutable(); - addressComponents_.add(m); - } else { - addressComponentsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingComponentTypesIsMutable(); - missingComponentTypes_.add(s); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnconfirmedComponentTypesIsMutable(); - unconfirmedComponentTypes_.add(s); - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnresolvedTokensIsMutable(); - unresolvedTokens_.add(s); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 34: + { + com.google.maps.addressvalidation.v1.AddressComponent m = + input.readMessage( + com.google.maps.addressvalidation.v1.AddressComponent.parser(), + extensionRegistry); + if (addressComponentsBuilder_ == null) { + ensureAddressComponentsIsMutable(); + addressComponents_.add(m); + } else { + addressComponentsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingComponentTypesIsMutable(); + missingComponentTypes_.add(s); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnconfirmedComponentTypesIsMutable(); + unconfirmedComponentTypes_.add(s); + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnresolvedTokensIsMutable(); + unresolvedTokens_.add(s); + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -995,23 +1089,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object formattedAddress_ = ""; /** + * + * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; + * * @return The formattedAddress. */ public java.lang.String getFormattedAddress() { java.lang.Object ref = formattedAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedAddress_ = s; return s; @@ -1020,21 +1117,22 @@ public java.lang.String getFormattedAddress() { } } /** + * + * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; + * * @return The bytes for formattedAddress. */ - public com.google.protobuf.ByteString - getFormattedAddressBytes() { + public com.google.protobuf.ByteString getFormattedAddressBytes() { java.lang.Object ref = formattedAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedAddress_ = b; return b; } else { @@ -1042,57 +1140,64 @@ public java.lang.String getFormattedAddress() { } } /** + * + * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; + * * @param value The formattedAddress to set. * @return This builder for chaining. */ - public Builder setFormattedAddress( - java.lang.String value) { + public Builder setFormattedAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + formattedAddress_ = value; onChanged(); return this; } /** + * + * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; + * * @return This builder for chaining. */ public Builder clearFormattedAddress() { - + formattedAddress_ = getDefaultInstance().getFormattedAddress(); onChanged(); return this; } /** + * + * *
      * The corrected address, formatted as a single-line address following the
      * address formatting rules of the region where the address is located.
      * 
* * string formatted_address = 2; + * * @param value The bytes for formattedAddress to set. * @return This builder for chaining. */ - public Builder setFormattedAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setFormattedAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + formattedAddress_ = value; onChanged(); return this; @@ -1100,34 +1205,47 @@ public Builder setFormattedAddressBytes( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1148,14 +1266,15 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * The validated address represented as a postal address.
      * 
* * .google.type.PostalAddress postal_address = 3; */ - public Builder setPostalAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -1166,6 +1285,8 @@ public Builder setPostalAddress( return this; } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1176,7 +1297,9 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_) + .mergeFrom(value) + .buildPartial(); } else { postalAddress_ = value; } @@ -1188,6 +1311,8 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1206,6 +1331,8 @@ public Builder clearPostalAddress() { return this; } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1213,11 +1340,13 @@ public Builder clearPostalAddress() { * .google.type.PostalAddress postal_address = 3; */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1228,11 +1357,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } } /** + * + * *
      * The validated address represented as a postal address.
      * 
@@ -1240,32 +1372,43 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { * .google.type.PostalAddress postal_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), - getParentForChildren(), - isClean()); + postalAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), getParentForChildren(), isClean()); postalAddress_ = null; } return postalAddressBuilder_; } - private java.util.List addressComponents_ = - java.util.Collections.emptyList(); + private java.util.List + addressComponents_ = java.util.Collections.emptyList(); + private void ensureAddressComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - addressComponents_ = new java.util.ArrayList(addressComponents_); + addressComponents_ = + new java.util.ArrayList( + addressComponents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> addressComponentsBuilder_; + com.google.maps.addressvalidation.v1.AddressComponent, + com.google.maps.addressvalidation.v1.AddressComponent.Builder, + com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> + addressComponentsBuilder_; /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1274,9 +1417,12 @@ private void ensureAddressComponentsIsMutable() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List getAddressComponentsList() { + public java.util.List + getAddressComponentsList() { if (addressComponentsBuilder_ == null) { return java.util.Collections.unmodifiableList(addressComponents_); } else { @@ -1284,6 +1430,8 @@ public java.util.List get } } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1292,7 +1440,9 @@ public java.util.List get
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public int getAddressComponentsCount() { if (addressComponentsBuilder_ == null) { @@ -1302,6 +1452,8 @@ public int getAddressComponentsCount() { } } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1310,7 +1462,9 @@ public int getAddressComponentsCount() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index) { if (addressComponentsBuilder_ == null) { @@ -1320,6 +1474,8 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent } } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1328,7 +1484,9 @@ public com.google.maps.addressvalidation.v1.AddressComponent getAddressComponent
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent value) { @@ -1345,6 +1503,8 @@ public Builder setAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1353,7 +1513,9 @@ public Builder setAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1367,6 +1529,8 @@ public Builder setAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1375,9 +1539,12 @@ public Builder setAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public Builder addAddressComponents(com.google.maps.addressvalidation.v1.AddressComponent value) { + public Builder addAddressComponents( + com.google.maps.addressvalidation.v1.AddressComponent value) { if (addressComponentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1391,6 +1558,8 @@ public Builder addAddressComponents(com.google.maps.addressvalidation.v1.Address return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1399,7 +1568,9 @@ public Builder addAddressComponents(com.google.maps.addressvalidation.v1.Address
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent value) { @@ -1416,6 +1587,8 @@ public Builder addAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1424,7 +1597,9 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAddressComponents( com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1438,6 +1613,8 @@ public Builder addAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1446,7 +1623,9 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAddressComponents( int index, com.google.maps.addressvalidation.v1.AddressComponent.Builder builderForValue) { @@ -1460,6 +1639,8 @@ public Builder addAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1468,14 +1649,16 @@ public Builder addAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAllAddressComponents( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (addressComponentsBuilder_ == null) { ensureAddressComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, addressComponents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addressComponents_); onChanged(); } else { addressComponentsBuilder_.addAllMessages(values); @@ -1483,6 +1666,8 @@ public Builder addAllAddressComponents( return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1491,7 +1676,9 @@ public Builder addAllAddressComponents(
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder clearAddressComponents() { if (addressComponentsBuilder_ == null) { @@ -1504,6 +1691,8 @@ public Builder clearAddressComponents() { return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1512,7 +1701,9 @@ public Builder clearAddressComponents() {
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder removeAddressComponents(int index) { if (addressComponentsBuilder_ == null) { @@ -1525,6 +1716,8 @@ public Builder removeAddressComponents(int index) { return this; } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1533,13 +1726,17 @@ public Builder removeAddressComponents(int index) {
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder getAddressComponentsBuilder( - int index) { + public com.google.maps.addressvalidation.v1.AddressComponent.Builder + getAddressComponentsBuilder(int index) { return getAddressComponentsFieldBuilder().getBuilder(index); } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1548,16 +1745,21 @@ public com.google.maps.addressvalidation.v1.AddressComponent.Builder getAddressC
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( - int index) { + public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder + getAddressComponentsOrBuilder(int index) { if (addressComponentsBuilder_ == null) { - return addressComponents_.get(index); } else { + return addressComponents_.get(index); + } else { return addressComponentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1566,10 +1768,12 @@ public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddress
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getAddressComponentsOrBuilderList() { + public java.util.List + getAddressComponentsOrBuilderList() { if (addressComponentsBuilder_ != null) { return addressComponentsBuilder_.getMessageOrBuilderList(); } else { @@ -1577,6 +1781,8 @@ public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddress } } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1585,13 +1791,18 @@ public com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddress
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressComponentsBuilder() { - return getAddressComponentsFieldBuilder().addBuilder( - com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); + public com.google.maps.addressvalidation.v1.AddressComponent.Builder + addAddressComponentsBuilder() { + return getAddressComponentsFieldBuilder() + .addBuilder(com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1600,14 +1811,19 @@ public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressC
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressComponentsBuilder( - int index) { - return getAddressComponentsFieldBuilder().addBuilder( - index, com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); + public com.google.maps.addressvalidation.v1.AddressComponent.Builder + addAddressComponentsBuilder(int index) { + return getAddressComponentsFieldBuilder() + .addBuilder( + index, com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()); } /** + * + * *
      * Unordered list. The individual address components of the formatted and corrected address,
      * along with validation information. This provides information on the
@@ -1616,18 +1832,26 @@ public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressC
      * assumptions on the ordering of the address components in the list.
      * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getAddressComponentsBuilderList() { + public java.util.List + getAddressComponentsBuilderList() { return getAddressComponentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> + com.google.maps.addressvalidation.v1.AddressComponent, + com.google.maps.addressvalidation.v1.AddressComponent.Builder, + com.google.maps.addressvalidation.v1.AddressComponentOrBuilder> getAddressComponentsFieldBuilder() { if (addressComponentsBuilder_ == null) { - addressComponentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressComponent, com.google.maps.addressvalidation.v1.AddressComponent.Builder, com.google.maps.addressvalidation.v1.AddressComponentOrBuilder>( + addressComponentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.addressvalidation.v1.AddressComponent, + com.google.maps.addressvalidation.v1.AddressComponent.Builder, + com.google.maps.addressvalidation.v1.AddressComponentOrBuilder>( addressComponents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1637,14 +1861,19 @@ public com.google.maps.addressvalidation.v1.AddressComponent.Builder addAddressC return addressComponentsBuilder_; } - private com.google.protobuf.LazyStringList missingComponentTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList missingComponentTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMissingComponentTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - missingComponentTypes_ = new com.google.protobuf.LazyStringArrayList(missingComponentTypes_); + missingComponentTypes_ = + new com.google.protobuf.LazyStringArrayList(missingComponentTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1656,13 +1885,15 @@ private void ensureMissingComponentTypesIsMutable() {
      * 
* * repeated string missing_component_types = 5; + * * @return A list containing the missingComponentTypes. */ - public com.google.protobuf.ProtocolStringList - getMissingComponentTypesList() { + public com.google.protobuf.ProtocolStringList getMissingComponentTypesList() { return missingComponentTypes_.getUnmodifiableView(); } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1674,12 +1905,15 @@ private void ensureMissingComponentTypesIsMutable() {
      * 
* * repeated string missing_component_types = 5; + * * @return The count of missingComponentTypes. */ public int getMissingComponentTypesCount() { return missingComponentTypes_.size(); } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1691,6 +1925,7 @@ public int getMissingComponentTypesCount() {
      * 
* * repeated string missing_component_types = 5; + * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ @@ -1698,6 +1933,8 @@ public java.lang.String getMissingComponentTypes(int index) { return missingComponentTypes_.get(index); } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1709,14 +1946,16 @@ public java.lang.String getMissingComponentTypes(int index) {
      * 
* * repeated string missing_component_types = 5; + * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - public com.google.protobuf.ByteString - getMissingComponentTypesBytes(int index) { + public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index) { return missingComponentTypes_.getByteString(index); } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1728,21 +1967,23 @@ public java.lang.String getMissingComponentTypes(int index) {
      * 
* * repeated string missing_component_types = 5; + * * @param index The index to set the value at. * @param value The missingComponentTypes to set. * @return This builder for chaining. */ - public Builder setMissingComponentTypes( - int index, java.lang.String value) { + public Builder setMissingComponentTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureMissingComponentTypesIsMutable(); missingComponentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1754,20 +1995,22 @@ public Builder setMissingComponentTypes(
      * 
* * repeated string missing_component_types = 5; + * * @param value The missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addMissingComponentTypes( - java.lang.String value) { + public Builder addMissingComponentTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureMissingComponentTypesIsMutable(); missingComponentTypes_.add(value); onChanged(); return this; } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1779,18 +2022,19 @@ public Builder addMissingComponentTypes(
      * 
* * repeated string missing_component_types = 5; + * * @param values The missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addAllMissingComponentTypes( - java.lang.Iterable values) { + public Builder addAllMissingComponentTypes(java.lang.Iterable values) { ensureMissingComponentTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingComponentTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingComponentTypes_); onChanged(); return this; } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1802,6 +2046,7 @@ public Builder addAllMissingComponentTypes(
      * 
* * repeated string missing_component_types = 5; + * * @return This builder for chaining. */ public Builder clearMissingComponentTypes() { @@ -1811,6 +2056,8 @@ public Builder clearMissingComponentTypes() { return this; } /** + * + * *
      * The types of components that were expected to be present in a correctly
      * formatted mailing address but were not found in the input AND could
@@ -1822,29 +2069,34 @@ public Builder clearMissingComponentTypes() {
      * 
* * repeated string missing_component_types = 5; + * * @param value The bytes of the missingComponentTypes to add. * @return This builder for chaining. */ - public Builder addMissingComponentTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addMissingComponentTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingComponentTypesIsMutable(); missingComponentTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList unconfirmedComponentTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unconfirmedComponentTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnconfirmedComponentTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - unconfirmedComponentTypes_ = new com.google.protobuf.LazyStringArrayList(unconfirmedComponentTypes_); + unconfirmedComponentTypes_ = + new com.google.protobuf.LazyStringArrayList(unconfirmedComponentTypes_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1860,13 +2112,15 @@ private void ensureUnconfirmedComponentTypesIsMutable() {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @return A list containing the unconfirmedComponentTypes. */ - public com.google.protobuf.ProtocolStringList - getUnconfirmedComponentTypesList() { + public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList() { return unconfirmedComponentTypes_.getUnmodifiableView(); } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1882,12 +2136,15 @@ private void ensureUnconfirmedComponentTypesIsMutable() {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @return The count of unconfirmedComponentTypes. */ public int getUnconfirmedComponentTypesCount() { return unconfirmedComponentTypes_.size(); } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1903,6 +2160,7 @@ public int getUnconfirmedComponentTypesCount() {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ @@ -1910,6 +2168,8 @@ public java.lang.String getUnconfirmedComponentTypes(int index) { return unconfirmedComponentTypes_.get(index); } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1925,14 +2185,16 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - public com.google.protobuf.ByteString - getUnconfirmedComponentTypesBytes(int index) { + public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index) { return unconfirmedComponentTypes_.getByteString(index); } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1948,21 +2210,23 @@ public java.lang.String getUnconfirmedComponentTypes(int index) {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index to set the value at. * @param value The unconfirmedComponentTypes to set. * @return This builder for chaining. */ - public Builder setUnconfirmedComponentTypes( - int index, java.lang.String value) { + public Builder setUnconfirmedComponentTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnconfirmedComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -1978,20 +2242,22 @@ public Builder setUnconfirmedComponentTypes(
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param value The unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addUnconfirmedComponentTypes( - java.lang.String value) { + public Builder addUnconfirmedComponentTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnconfirmedComponentTypesIsMutable(); + throw new NullPointerException(); + } + ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.add(value); onChanged(); return this; } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2007,18 +2273,19 @@ public Builder addUnconfirmedComponentTypes(
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param values The unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addAllUnconfirmedComponentTypes( - java.lang.Iterable values) { + public Builder addAllUnconfirmedComponentTypes(java.lang.Iterable values) { ensureUnconfirmedComponentTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unconfirmedComponentTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unconfirmedComponentTypes_); onChanged(); return this; } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2034,6 +2301,7 @@ public Builder addAllUnconfirmedComponentTypes(
      * 
* * repeated string unconfirmed_component_types = 6; + * * @return This builder for chaining. */ public Builder clearUnconfirmedComponentTypes() { @@ -2043,6 +2311,8 @@ public Builder clearUnconfirmedComponentTypes() { return this; } /** + * + * *
      * The types of the components that are present in the `address_components`
      * but could not be confirmed to be correct. This field is provided for the
@@ -2058,29 +2328,33 @@ public Builder clearUnconfirmedComponentTypes() {
      * 
* * repeated string unconfirmed_component_types = 6; + * * @param value The bytes of the unconfirmedComponentTypes to add. * @return This builder for chaining. */ - public Builder addUnconfirmedComponentTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addUnconfirmedComponentTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnconfirmedComponentTypesIsMutable(); unconfirmedComponentTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList unresolvedTokens_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unresolvedTokens_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnresolvedTokensIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { unresolvedTokens_ = new com.google.protobuf.LazyStringArrayList(unresolvedTokens_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2090,13 +2364,15 @@ private void ensureUnresolvedTokensIsMutable() {
      * 
* * repeated string unresolved_tokens = 7; + * * @return A list containing the unresolvedTokens. */ - public com.google.protobuf.ProtocolStringList - getUnresolvedTokensList() { + public com.google.protobuf.ProtocolStringList getUnresolvedTokensList() { return unresolvedTokens_.getUnmodifiableView(); } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2106,12 +2382,15 @@ private void ensureUnresolvedTokensIsMutable() {
      * 
* * repeated string unresolved_tokens = 7; + * * @return The count of unresolvedTokens. */ public int getUnresolvedTokensCount() { return unresolvedTokens_.size(); } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2121,6 +2400,7 @@ public int getUnresolvedTokensCount() {
      * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ @@ -2128,6 +2408,8 @@ public java.lang.String getUnresolvedTokens(int index) { return unresolvedTokens_.get(index); } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2137,14 +2419,16 @@ public java.lang.String getUnresolvedTokens(int index) {
      * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - public com.google.protobuf.ByteString - getUnresolvedTokensBytes(int index) { + public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index) { return unresolvedTokens_.getByteString(index); } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2154,21 +2438,23 @@ public java.lang.String getUnresolvedTokens(int index) {
      * 
* * repeated string unresolved_tokens = 7; + * * @param index The index to set the value at. * @param value The unresolvedTokens to set. * @return This builder for chaining. */ - public Builder setUnresolvedTokens( - int index, java.lang.String value) { + public Builder setUnresolvedTokens(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnresolvedTokensIsMutable(); + throw new NullPointerException(); + } + ensureUnresolvedTokensIsMutable(); unresolvedTokens_.set(index, value); onChanged(); return this; } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2178,20 +2464,22 @@ public Builder setUnresolvedTokens(
      * 
* * repeated string unresolved_tokens = 7; + * * @param value The unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addUnresolvedTokens( - java.lang.String value) { + public Builder addUnresolvedTokens(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnresolvedTokensIsMutable(); + throw new NullPointerException(); + } + ensureUnresolvedTokensIsMutable(); unresolvedTokens_.add(value); onChanged(); return this; } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2201,18 +2489,19 @@ public Builder addUnresolvedTokens(
      * 
* * repeated string unresolved_tokens = 7; + * * @param values The unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addAllUnresolvedTokens( - java.lang.Iterable values) { + public Builder addAllUnresolvedTokens(java.lang.Iterable values) { ensureUnresolvedTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unresolvedTokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unresolvedTokens_); onChanged(); return this; } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2222,6 +2511,7 @@ public Builder addAllUnresolvedTokens(
      * 
* * repeated string unresolved_tokens = 7; + * * @return This builder for chaining. */ public Builder clearUnresolvedTokens() { @@ -2231,6 +2521,8 @@ public Builder clearUnresolvedTokens() { return this; } /** + * + * *
      * Any tokens in the input that could not be resolved. This might be an
      * input that was not recognized as a valid part of an address (for example
@@ -2240,23 +2532,23 @@ public Builder clearUnresolvedTokens() {
      * 
* * repeated string unresolved_tokens = 7; + * * @param value The bytes of the unresolvedTokens to add. * @return This builder for chaining. */ - public Builder addUnresolvedTokensBytes( - com.google.protobuf.ByteString value) { + public Builder addUnresolvedTokensBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnresolvedTokensIsMutable(); unresolvedTokens_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2266,12 +2558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Address) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Address) private static final com.google.maps.addressvalidation.v1.Address DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Address(); } @@ -2280,27 +2572,27 @@ public static com.google.maps.addressvalidation.v1.Address getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Address parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser
PARSER = + new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Address parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -2315,6 +2607,4 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.maps.addressvalidation.v1.Address getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java similarity index 71% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java index d7f03211eb11..bdc17ff9d946 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java @@ -1,24 +1,42 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * Represents an address component, such as a street, city, or state.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressComponent} */ -public final class AddressComponent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddressComponent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.AddressComponent) AddressComponentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddressComponent.newBuilder() to construct. private AddressComponent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AddressComponent() { componentType_ = ""; confirmationLevel_ = 0; @@ -26,39 +44,43 @@ private AddressComponent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddressComponent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressComponent.class, com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); + com.google.maps.addressvalidation.v1.AddressComponent.class, + com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); } /** + * + * *
    * The different possible values for confirmation levels.
    * 
* * Protobuf enum {@code google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel} */ - public enum ConfirmationLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConfirmationLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -67,6 +89,8 @@ public enum ConfirmationLevel */ CONFIRMATION_LEVEL_UNSPECIFIED(0), /** + * + * *
      * We were able to verify that this component exists and makes sense in the
      * context of the rest of the address.
@@ -76,6 +100,8 @@ public enum ConfirmationLevel
      */
     CONFIRMED(1),
     /**
+     *
+     *
      * 
      * This component could not be confirmed, but it is plausible that it
      * exists. For example, a street number within a known valid range of
@@ -86,6 +112,8 @@ public enum ConfirmationLevel
      */
     UNCONFIRMED_BUT_PLAUSIBLE(2),
     /**
+     *
+     *
      * 
      * This component was not confirmed and is likely to be wrong. For
      * example, a neighborhood that does not fit the rest of the address.
@@ -98,6 +126,8 @@ public enum ConfirmationLevel
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -106,6 +136,8 @@ public enum ConfirmationLevel */ public static final int CONFIRMATION_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * We were able to verify that this component exists and makes sense in the
      * context of the rest of the address.
@@ -115,6 +147,8 @@ public enum ConfirmationLevel
      */
     public static final int CONFIRMED_VALUE = 1;
     /**
+     *
+     *
      * 
      * This component could not be confirmed, but it is plausible that it
      * exists. For example, a street number within a known valid range of
@@ -125,6 +159,8 @@ public enum ConfirmationLevel
      */
     public static final int UNCONFIRMED_BUT_PLAUSIBLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * This component was not confirmed and is likely to be wrong. For
      * example, a neighborhood that does not fit the rest of the address.
@@ -134,7 +170,6 @@ public enum ConfirmationLevel
      */
     public static final int UNCONFIRMED_AND_SUSPICIOUS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -159,11 +194,16 @@ public static ConfirmationLevel valueOf(int value) {
      */
     public static ConfirmationLevel forNumber(int value) {
       switch (value) {
-        case 0: return CONFIRMATION_LEVEL_UNSPECIFIED;
-        case 1: return CONFIRMED;
-        case 2: return UNCONFIRMED_BUT_PLAUSIBLE;
-        case 3: return UNCONFIRMED_AND_SUSPICIOUS;
-        default: return null;
+        case 0:
+          return CONFIRMATION_LEVEL_UNSPECIFIED;
+        case 1:
+          return CONFIRMED;
+        case 2:
+          return UNCONFIRMED_BUT_PLAUSIBLE;
+        case 3:
+          return UNCONFIRMED_AND_SUSPICIOUS;
+        default:
+          return null;
       }
     }
 
@@ -171,29 +211,31 @@ public static ConfirmationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConfirmationLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConfirmationLevel findValueByNumber(int number) {
-              return ConfirmationLevel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ConfirmationLevel findValueByNumber(int number) {
+                return ConfirmationLevel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.maps.addressvalidation.v1.AddressComponent.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.maps.addressvalidation.v1.AddressComponent.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final ConfirmationLevel[] VALUES = values();
@@ -201,8 +243,7 @@ public ConfirmationLevel findValueByNumber(int number) {
     public static ConfirmationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -222,11 +263,14 @@ private ConfirmationLevel(int value) {
   public static final int COMPONENT_NAME_FIELD_NUMBER = 1;
   private com.google.maps.addressvalidation.v1.ComponentName componentName_;
   /**
+   *
+   *
    * 
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return Whether the componentName field is set. */ @java.lang.Override @@ -234,18 +278,25 @@ public boolean hasComponentName() { return componentName_ != null; } /** + * + * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return The componentName. */ @java.lang.Override public com.google.maps.addressvalidation.v1.ComponentName getComponentName() { - return componentName_ == null ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; + return componentName_ == null + ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() + : componentName_; } /** + * + * *
    * The name for this component.
    * 
@@ -260,6 +311,8 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN public static final int COMPONENT_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object componentType_; /** + * + * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -268,6 +321,7 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN
    * 
* * string component_type = 2; + * * @return The componentType. */ @java.lang.Override @@ -276,14 +330,15 @@ public java.lang.String getComponentType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentType_ = s; return s; } } /** + * + * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -292,16 +347,15 @@ public java.lang.String getComponentType() {
    * 
* * string component_type = 2; + * * @return The bytes for componentType. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentTypeBytes() { + public com.google.protobuf.ByteString getComponentTypeBytes() { java.lang.Object ref = componentType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); componentType_ = b; return b; } else { @@ -312,35 +366,54 @@ public java.lang.String getComponentType() { public static final int CONFIRMATION_LEVEL_FIELD_NUMBER = 3; private int confirmationLevel_; /** + * + * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The enum numeric value on the wire for confirmationLevel. */ - @java.lang.Override public int getConfirmationLevelValue() { + @java.lang.Override + public int getConfirmationLevelValue() { return confirmationLevel_; } /** + * + * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The confirmationLevel. */ - @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel() { + @java.lang.Override + public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel + getConfirmationLevel() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf(confirmationLevel_); - return result == null ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf( + confirmationLevel_); + return result == null + ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED + : result; } public static final int INFERRED_FIELD_NUMBER = 4; private boolean inferred_; /** + * + * *
    * Indicates that the component was not part of the input, but we
    * inferred it for the address location and believe it should be provided
@@ -348,6 +421,7 @@ public java.lang.String getComponentType() {
    * 
* * bool inferred = 4; + * * @return The inferred. */ @java.lang.Override @@ -358,6 +432,8 @@ public boolean getInferred() { public static final int SPELL_CORRECTED_FIELD_NUMBER = 5; private boolean spellCorrected_; /** + * + * *
    * Indicates the spelling of the component name was corrected in a minor way,
    * for example by switching two characters that appeared in the wrong order.
@@ -365,6 +441,7 @@ public boolean getInferred() {
    * 
* * bool spell_corrected = 5; + * * @return The spellCorrected. */ @java.lang.Override @@ -375,6 +452,8 @@ public boolean getSpellCorrected() { public static final int REPLACED_FIELD_NUMBER = 6; private boolean replaced_; /** + * + * *
    * Indicates the name of the component was replaced with a completely
    * different one, for example a wrong postal code being replaced with one that
@@ -383,6 +462,7 @@ public boolean getSpellCorrected() {
    * 
* * bool replaced = 6; + * * @return The replaced. */ @java.lang.Override @@ -393,6 +473,8 @@ public boolean getReplaced() { public static final int UNEXPECTED_FIELD_NUMBER = 7; private boolean unexpected_; /** + * + * *
    * Indicates an address component that is not expected to be present in a
    * postal address for the given region. We have retained it only because it
@@ -400,6 +482,7 @@ public boolean getReplaced() {
    * 
* * bool unexpected = 7; + * * @return The unexpected. */ @java.lang.Override @@ -408,6 +491,7 @@ public boolean getUnexpected() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,15 +503,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (componentName_ != null) { output.writeMessage(1, getComponentName()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, componentType_); } - if (confirmationLevel_ != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMATION_LEVEL_UNSPECIFIED.getNumber()) { + if (confirmationLevel_ + != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel + .CONFIRMATION_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(3, confirmationLevel_); } if (inferred_ != false) { @@ -452,31 +538,28 @@ public int getSerializedSize() { size = 0; if (componentName_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getComponentName()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentName()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, componentType_); } - if (confirmationLevel_ != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMATION_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, confirmationLevel_); + if (confirmationLevel_ + != com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel + .CONFIRMATION_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, confirmationLevel_); } if (inferred_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, inferred_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, inferred_); } if (spellCorrected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, spellCorrected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, spellCorrected_); } if (replaced_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, replaced_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, replaced_); } if (unexpected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, unexpected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, unexpected_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -486,29 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.AddressComponent)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.AddressComponent other = (com.google.maps.addressvalidation.v1.AddressComponent) obj; + com.google.maps.addressvalidation.v1.AddressComponent other = + (com.google.maps.addressvalidation.v1.AddressComponent) obj; if (hasComponentName() != other.hasComponentName()) return false; if (hasComponentName()) { - if (!getComponentName() - .equals(other.getComponentName())) return false; + if (!getComponentName().equals(other.getComponentName())) return false; } - if (!getComponentType() - .equals(other.getComponentType())) return false; + if (!getComponentType().equals(other.getComponentType())) return false; if (confirmationLevel_ != other.confirmationLevel_) return false; - if (getInferred() - != other.getInferred()) return false; - if (getSpellCorrected() - != other.getSpellCorrected()) return false; - if (getReplaced() - != other.getReplaced()) return false; - if (getUnexpected() - != other.getUnexpected()) return false; + if (getInferred() != other.getInferred()) return false; + if (getSpellCorrected() != other.getSpellCorrected()) return false; + if (getReplaced() != other.getReplaced()) return false; + if (getUnexpected() != other.getUnexpected()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -529,146 +607,149 @@ public int hashCode() { hash = (37 * hash) + CONFIRMATION_LEVEL_FIELD_NUMBER; hash = (53 * hash) + confirmationLevel_; hash = (37 * hash) + INFERRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInferred()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInferred()); hash = (37 * hash) + SPELL_CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSpellCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpellCorrected()); hash = (37 * hash) + REPLACED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReplaced()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReplaced()); hash = (37 * hash) + UNEXPECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUnexpected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpected()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressComponent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.AddressComponent prototype) { + + public static Builder newBuilder( + com.google.maps.addressvalidation.v1.AddressComponent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an address component, such as a street, city, or state.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressComponent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.AddressComponent) com.google.maps.addressvalidation.v1.AddressComponentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressComponent.class, com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); + com.google.maps.addressvalidation.v1.AddressComponent.class, + com.google.maps.addressvalidation.v1.AddressComponent.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.AddressComponent.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -694,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; } @java.lang.Override @@ -715,7 +796,8 @@ public com.google.maps.addressvalidation.v1.AddressComponent build() { @java.lang.Override public com.google.maps.addressvalidation.v1.AddressComponent buildPartial() { - com.google.maps.addressvalidation.v1.AddressComponent result = new com.google.maps.addressvalidation.v1.AddressComponent(this); + com.google.maps.addressvalidation.v1.AddressComponent result = + new com.google.maps.addressvalidation.v1.AddressComponent(this); if (componentNameBuilder_ == null) { result.componentName_ = componentName_; } else { @@ -735,38 +817,39 @@ public com.google.maps.addressvalidation.v1.AddressComponent buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.AddressComponent) { - return mergeFrom((com.google.maps.addressvalidation.v1.AddressComponent)other); + return mergeFrom((com.google.maps.addressvalidation.v1.AddressComponent) other); } else { super.mergeFrom(other); return this; @@ -774,7 +857,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.AddressComponent other) { - if (other == com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.AddressComponent.getDefaultInstance()) + return this; if (other.hasComponentName()) { mergeComponentName(other.getComponentName()); } @@ -823,49 +907,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentNameFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - componentType_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - confirmationLevel_ = input.readEnum(); - - break; - } // case 24 - case 32: { - inferred_ = input.readBool(); - - break; - } // case 32 - case 40: { - spellCorrected_ = input.readBool(); - - break; - } // case 40 - case 48: { - replaced_ = input.readBool(); - - break; - } // case 48 - case 56: { - unexpected_ = input.readBool(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentNameFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + componentType_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + confirmationLevel_ = input.readEnum(); + + break; + } // case 24 + case 32: + { + inferred_ = input.readBool(); + + break; + } // case 32 + case 40: + { + spellCorrected_ = input.readBool(); + + break; + } // case 40 + case 48: + { + replaced_ = input.readBool(); + + break; + } // case 48 + case 56: + { + unexpected_ = input.readBool(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -878,34 +968,47 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.ComponentName componentName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> componentNameBuilder_; + com.google.maps.addressvalidation.v1.ComponentName, + com.google.maps.addressvalidation.v1.ComponentName.Builder, + com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> + componentNameBuilder_; /** + * + * *
      * The name for this component.
      * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return Whether the componentName field is set. */ public boolean hasComponentName() { return componentNameBuilder_ != null || componentName_ != null; } /** + * + * *
      * The name for this component.
      * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return The componentName. */ public com.google.maps.addressvalidation.v1.ComponentName getComponentName() { if (componentNameBuilder_ == null) { - return componentName_ == null ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; + return componentName_ == null + ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() + : componentName_; } else { return componentNameBuilder_.getMessage(); } } /** + * + * *
      * The name for this component.
      * 
@@ -926,6 +1029,8 @@ public Builder setComponentName(com.google.maps.addressvalidation.v1.ComponentNa return this; } /** + * + * *
      * The name for this component.
      * 
@@ -944,6 +1049,8 @@ public Builder setComponentName( return this; } /** + * + * *
      * The name for this component.
      * 
@@ -954,7 +1061,9 @@ public Builder mergeComponentName(com.google.maps.addressvalidation.v1.Component if (componentNameBuilder_ == null) { if (componentName_ != null) { componentName_ = - com.google.maps.addressvalidation.v1.ComponentName.newBuilder(componentName_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.ComponentName.newBuilder(componentName_) + .mergeFrom(value) + .buildPartial(); } else { componentName_ = value; } @@ -966,6 +1075,8 @@ public Builder mergeComponentName(com.google.maps.addressvalidation.v1.Component return this; } /** + * + * *
      * The name for this component.
      * 
@@ -984,6 +1095,8 @@ public Builder clearComponentName() { return this; } /** + * + * *
      * The name for this component.
      * 
@@ -991,11 +1104,13 @@ public Builder clearComponentName() { * .google.maps.addressvalidation.v1.ComponentName component_name = 1; */ public com.google.maps.addressvalidation.v1.ComponentName.Builder getComponentNameBuilder() { - + onChanged(); return getComponentNameFieldBuilder().getBuilder(); } /** + * + * *
      * The name for this component.
      * 
@@ -1006,11 +1121,14 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN if (componentNameBuilder_ != null) { return componentNameBuilder_.getMessageOrBuilder(); } else { - return componentName_ == null ? - com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() : componentName_; + return componentName_ == null + ? com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance() + : componentName_; } } /** + * + * *
      * The name for this component.
      * 
@@ -1018,14 +1136,17 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN * .google.maps.addressvalidation.v1.ComponentName component_name = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> + com.google.maps.addressvalidation.v1.ComponentName, + com.google.maps.addressvalidation.v1.ComponentName.Builder, + com.google.maps.addressvalidation.v1.ComponentNameOrBuilder> getComponentNameFieldBuilder() { if (componentNameBuilder_ == null) { - componentNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ComponentName, com.google.maps.addressvalidation.v1.ComponentName.Builder, com.google.maps.addressvalidation.v1.ComponentNameOrBuilder>( - getComponentName(), - getParentForChildren(), - isClean()); + componentNameBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.ComponentName, + com.google.maps.addressvalidation.v1.ComponentName.Builder, + com.google.maps.addressvalidation.v1.ComponentNameOrBuilder>( + getComponentName(), getParentForChildren(), isClean()); componentName_ = null; } return componentNameBuilder_; @@ -1033,6 +1154,8 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN private java.lang.Object componentType_ = ""; /** + * + * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1041,13 +1164,13 @@ public com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentN
      * 
* * string component_type = 2; + * * @return The componentType. */ public java.lang.String getComponentType() { java.lang.Object ref = componentType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentType_ = s; return s; @@ -1056,6 +1179,8 @@ public java.lang.String getComponentType() { } } /** + * + * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1064,15 +1189,14 @@ public java.lang.String getComponentType() {
      * 
* * string component_type = 2; + * * @return The bytes for componentType. */ - public com.google.protobuf.ByteString - getComponentTypeBytes() { + public com.google.protobuf.ByteString getComponentTypeBytes() { java.lang.Object ref = componentType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); componentType_ = b; return b; } else { @@ -1080,6 +1204,8 @@ public java.lang.String getComponentType() { } } /** + * + * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1088,20 +1214,22 @@ public java.lang.String getComponentType() {
      * 
* * string component_type = 2; + * * @param value The componentType to set. * @return This builder for chaining. */ - public Builder setComponentType( - java.lang.String value) { + public Builder setComponentType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + componentType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1110,15 +1238,18 @@ public Builder setComponentType(
      * 
* * string component_type = 2; + * * @return This builder for chaining. */ public Builder clearComponentType() { - + componentType_ = getDefaultInstance().getComponentType(); onChanged(); return this; } /** + * + * *
      * The type of the address component. See
      * [Table 2: Additional types returned by the Places
@@ -1127,16 +1258,16 @@ public Builder clearComponentType() {
      * 
* * string component_type = 2; + * * @param value The bytes for componentType to set. * @return This builder for chaining. */ - public Builder setComponentTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + componentType_ = value; onChanged(); return this; @@ -1144,85 +1275,119 @@ public Builder setComponentTypeBytes( private int confirmationLevel_ = 0; /** + * + * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The enum numeric value on the wire for confirmationLevel. */ - @java.lang.Override public int getConfirmationLevelValue() { + @java.lang.Override + public int getConfirmationLevelValue() { return confirmationLevel_; } /** + * + * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @param value The enum numeric value on the wire for confirmationLevel to set. * @return This builder for chaining. */ public Builder setConfirmationLevelValue(int value) { - + confirmationLevel_ = value; onChanged(); return this; } /** + * + * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The confirmationLevel. */ @java.lang.Override - public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel() { + public com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel + getConfirmationLevel() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf(confirmationLevel_); - return result == null ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel result = + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.valueOf( + confirmationLevel_); + return result == null + ? com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @param value The confirmationLevel to set. * @return This builder for chaining. */ - public Builder setConfirmationLevel(com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel value) { + public Builder setConfirmationLevel( + com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel value) { if (value == null) { throw new NullPointerException(); } - + confirmationLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates the level of certainty that we have that the component
      * is correct.
      * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return This builder for chaining. */ public Builder clearConfirmationLevel() { - + confirmationLevel_ = 0; onChanged(); return this; } - private boolean inferred_ ; + private boolean inferred_; /** + * + * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1230,6 +1395,7 @@ public Builder clearConfirmationLevel() {
      * 
* * bool inferred = 4; + * * @return The inferred. */ @java.lang.Override @@ -1237,6 +1403,8 @@ public boolean getInferred() { return inferred_; } /** + * + * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1244,16 +1412,19 @@ public boolean getInferred() {
      * 
* * bool inferred = 4; + * * @param value The inferred to set. * @return This builder for chaining. */ public Builder setInferred(boolean value) { - + inferred_ = value; onChanged(); return this; } /** + * + * *
      * Indicates that the component was not part of the input, but we
      * inferred it for the address location and believe it should be provided
@@ -1261,17 +1432,20 @@ public Builder setInferred(boolean value) {
      * 
* * bool inferred = 4; + * * @return This builder for chaining. */ public Builder clearInferred() { - + inferred_ = false; onChanged(); return this; } - private boolean spellCorrected_ ; + private boolean spellCorrected_; /** + * + * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1279,6 +1453,7 @@ public Builder clearInferred() {
      * 
* * bool spell_corrected = 5; + * * @return The spellCorrected. */ @java.lang.Override @@ -1286,6 +1461,8 @@ public boolean getSpellCorrected() { return spellCorrected_; } /** + * + * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1293,16 +1470,19 @@ public boolean getSpellCorrected() {
      * 
* * bool spell_corrected = 5; + * * @param value The spellCorrected to set. * @return This builder for chaining. */ public Builder setSpellCorrected(boolean value) { - + spellCorrected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates the spelling of the component name was corrected in a minor way,
      * for example by switching two characters that appeared in the wrong order.
@@ -1310,17 +1490,20 @@ public Builder setSpellCorrected(boolean value) {
      * 
* * bool spell_corrected = 5; + * * @return This builder for chaining. */ public Builder clearSpellCorrected() { - + spellCorrected_ = false; onChanged(); return this; } - private boolean replaced_ ; + private boolean replaced_; /** + * + * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1329,6 +1512,7 @@ public Builder clearSpellCorrected() {
      * 
* * bool replaced = 6; + * * @return The replaced. */ @java.lang.Override @@ -1336,6 +1520,8 @@ public boolean getReplaced() { return replaced_; } /** + * + * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1344,16 +1530,19 @@ public boolean getReplaced() {
      * 
* * bool replaced = 6; + * * @param value The replaced to set. * @return This builder for chaining. */ public Builder setReplaced(boolean value) { - + replaced_ = value; onChanged(); return this; } /** + * + * *
      * Indicates the name of the component was replaced with a completely
      * different one, for example a wrong postal code being replaced with one that
@@ -1362,17 +1551,20 @@ public Builder setReplaced(boolean value) {
      * 
* * bool replaced = 6; + * * @return This builder for chaining. */ public Builder clearReplaced() { - + replaced_ = false; onChanged(); return this; } - private boolean unexpected_ ; + private boolean unexpected_; /** + * + * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1380,6 +1572,7 @@ public Builder clearReplaced() {
      * 
* * bool unexpected = 7; + * * @return The unexpected. */ @java.lang.Override @@ -1387,6 +1580,8 @@ public boolean getUnexpected() { return unexpected_; } /** + * + * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1394,16 +1589,19 @@ public boolean getUnexpected() {
      * 
* * bool unexpected = 7; + * * @param value The unexpected to set. * @return This builder for chaining. */ public Builder setUnexpected(boolean value) { - + unexpected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates an address component that is not expected to be present in a
      * postal address for the given region. We have retained it only because it
@@ -1411,17 +1609,18 @@ public Builder setUnexpected(boolean value) {
      * 
* * bool unexpected = 7; + * * @return This builder for chaining. */ public Builder clearUnexpected() { - + unexpected_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.AddressComponent) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.AddressComponent) private static final com.google.maps.addressvalidation.v1.AddressComponent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.AddressComponent(); } @@ -1445,27 +1644,27 @@ public static com.google.maps.addressvalidation.v1.AddressComponent getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddressComponent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddressComponent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,6 +1679,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.AddressComponent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java similarity index 76% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java index bd571e7ff2dd..9200a86ca4f8 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; -public interface AddressComponentOrBuilder extends +public interface AddressComponentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.AddressComponent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return Whether the componentName field is set. */ boolean hasComponentName(); /** + * + * *
    * The name for this component.
    * 
* * .google.maps.addressvalidation.v1.ComponentName component_name = 1; + * * @return The componentName. */ com.google.maps.addressvalidation.v1.ComponentName getComponentName(); /** + * + * *
    * The name for this component.
    * 
@@ -35,6 +59,8 @@ public interface AddressComponentOrBuilder extends com.google.maps.addressvalidation.v1.ComponentNameOrBuilder getComponentNameOrBuilder(); /** + * + * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -43,10 +69,13 @@ public interface AddressComponentOrBuilder extends
    * 
* * string component_type = 2; + * * @return The componentType. */ java.lang.String getComponentType(); /** + * + * *
    * The type of the address component. See
    * [Table 2: Additional types returned by the Places
@@ -55,33 +84,45 @@ public interface AddressComponentOrBuilder extends
    * 
* * string component_type = 2; + * * @return The bytes for componentType. */ - com.google.protobuf.ByteString - getComponentTypeBytes(); + com.google.protobuf.ByteString getComponentTypeBytes(); /** + * + * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The enum numeric value on the wire for confirmationLevel. */ int getConfirmationLevelValue(); /** + * + * *
    * Indicates the level of certainty that we have that the component
    * is correct.
    * 
* - * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * .google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3; + * + * * @return The confirmationLevel. */ com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel getConfirmationLevel(); /** + * + * *
    * Indicates that the component was not part of the input, but we
    * inferred it for the address location and believe it should be provided
@@ -89,11 +130,14 @@ public interface AddressComponentOrBuilder extends
    * 
* * bool inferred = 4; + * * @return The inferred. */ boolean getInferred(); /** + * + * *
    * Indicates the spelling of the component name was corrected in a minor way,
    * for example by switching two characters that appeared in the wrong order.
@@ -101,11 +145,14 @@ public interface AddressComponentOrBuilder extends
    * 
* * bool spell_corrected = 5; + * * @return The spellCorrected. */ boolean getSpellCorrected(); /** + * + * *
    * Indicates the name of the component was replaced with a completely
    * different one, for example a wrong postal code being replaced with one that
@@ -114,11 +161,14 @@ public interface AddressComponentOrBuilder extends
    * 
* * bool replaced = 6; + * * @return The replaced. */ boolean getReplaced(); /** + * + * *
    * Indicates an address component that is not expected to be present in a
    * postal address for the given region. We have retained it only because it
@@ -126,6 +176,7 @@ public interface AddressComponentOrBuilder extends
    * 
* * bool unexpected = 7; + * * @return The unexpected. */ boolean getUnexpected(); diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java similarity index 71% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java index a8f4167b787a..9d96d597c831 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadata.java @@ -1,62 +1,83 @@ +/* + * 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/metadata.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * The metadata for the address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressMetadata} */ -public final class AddressMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddressMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.AddressMetadata) AddressMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddressMetadata.newBuilder() to construct. private AddressMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddressMetadata() { - } + + private AddressMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddressMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.MetadataProto + .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable + return com.google.maps.addressvalidation.v1.MetadataProto + .internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressMetadata.class, com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); + com.google.maps.addressvalidation.v1.AddressMetadata.class, + com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); } private int bitField0_; public static final int BUSINESS_FIELD_NUMBER = 2; private boolean business_; /** + * + * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; + * * @return Whether the business field is set. */ @java.lang.Override @@ -64,12 +85,15 @@ public boolean hasBusiness() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; + * * @return The business. */ @java.lang.Override @@ -80,12 +104,15 @@ public boolean getBusiness() { public static final int PO_BOX_FIELD_NUMBER = 3; private boolean poBox_; /** + * + * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; + * * @return Whether the poBox field is set. */ @java.lang.Override @@ -93,12 +120,15 @@ public boolean hasPoBox() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; + * * @return The poBox. */ @java.lang.Override @@ -109,12 +139,15 @@ public boolean getPoBox() { public static final int RESIDENTIAL_FIELD_NUMBER = 6; private boolean residential_; /** + * + * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; + * * @return Whether the residential field is set. */ @java.lang.Override @@ -122,12 +155,15 @@ public boolean hasResidential() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; + * * @return The residential. */ @java.lang.Override @@ -136,6 +172,7 @@ public boolean getResidential() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, business_); } @@ -168,16 +204,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, business_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, business_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, poBox_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, poBox_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, residential_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, residential_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,27 +220,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.AddressMetadata)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.AddressMetadata other = (com.google.maps.addressvalidation.v1.AddressMetadata) obj; + com.google.maps.addressvalidation.v1.AddressMetadata other = + (com.google.maps.addressvalidation.v1.AddressMetadata) obj; if (hasBusiness() != other.hasBusiness()) return false; if (hasBusiness()) { - if (getBusiness() - != other.getBusiness()) return false; + if (getBusiness() != other.getBusiness()) return false; } if (hasPoBox() != other.hasPoBox()) return false; if (hasPoBox()) { - if (getPoBox() - != other.getPoBox()) return false; + if (getPoBox() != other.getPoBox()) return false; } if (hasResidential() != other.hasResidential()) return false; if (hasResidential()) { - if (getResidential() - != other.getResidential()) return false; + if (getResidential() != other.getResidential()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,18 +253,15 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasBusiness()) { hash = (37 * hash) + BUSINESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBusiness()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBusiness()); } if (hasPoBox()) { hash = (37 * hash) + PO_BOX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPoBox()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBox()); } if (hasResidential()) { hash = (37 * hash) + RESIDENTIAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getResidential()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResidential()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -241,129 +269,135 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.AddressMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.AddressMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metadata for the address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.AddressMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.AddressMetadata) com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.MetadataProto + .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable + return com.google.maps.addressvalidation.v1.MetadataProto + .internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.AddressMetadata.class, com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); + com.google.maps.addressvalidation.v1.AddressMetadata.class, + com.google.maps.addressvalidation.v1.AddressMetadata.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.MetadataProto.internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.MetadataProto + .internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; } @java.lang.Override @@ -398,7 +432,8 @@ public com.google.maps.addressvalidation.v1.AddressMetadata build() { @java.lang.Override public com.google.maps.addressvalidation.v1.AddressMetadata buildPartial() { - com.google.maps.addressvalidation.v1.AddressMetadata result = new com.google.maps.addressvalidation.v1.AddressMetadata(this); + com.google.maps.addressvalidation.v1.AddressMetadata result = + new com.google.maps.addressvalidation.v1.AddressMetadata(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -422,38 +457,39 @@ public com.google.maps.addressvalidation.v1.AddressMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.AddressMetadata) { - return mergeFrom((com.google.maps.addressvalidation.v1.AddressMetadata)other); + return mergeFrom((com.google.maps.addressvalidation.v1.AddressMetadata) other); } else { super.mergeFrom(other); return this; @@ -461,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.AddressMetadata other) { - if (other == com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance()) + return this; if (other.hasBusiness()) { setBusiness(other.getBusiness()); } @@ -497,27 +534,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - business_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - poBox_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 48: { - residential_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + business_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + poBox_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 48: + { + residential_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -527,16 +568,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean business_ ; + private boolean business_; /** + * + * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; + * * @return Whether the business field is set. */ @java.lang.Override @@ -544,12 +589,15 @@ public boolean hasBusiness() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; + * * @return The business. */ @java.lang.Override @@ -557,12 +605,15 @@ public boolean getBusiness() { return business_; } /** + * + * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; + * * @param value The business to set. * @return This builder for chaining. */ @@ -573,12 +624,15 @@ public Builder setBusiness(boolean value) { return this; } /** + * + * *
      * Indicates that this is the address of a business.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool business = 2; + * * @return This builder for chaining. */ public Builder clearBusiness() { @@ -588,14 +642,17 @@ public Builder clearBusiness() { return this; } - private boolean poBox_ ; + private boolean poBox_; /** + * + * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; + * * @return Whether the poBox field is set. */ @java.lang.Override @@ -603,12 +660,15 @@ public boolean hasPoBox() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; + * * @return The poBox. */ @java.lang.Override @@ -616,12 +676,15 @@ public boolean getPoBox() { return poBox_; } /** + * + * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; + * * @param value The poBox to set. * @return This builder for chaining. */ @@ -632,12 +695,15 @@ public Builder setPoBox(boolean value) { return this; } /** + * + * *
      * Indicates that the address of a PO box.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool po_box = 3; + * * @return This builder for chaining. */ public Builder clearPoBox() { @@ -647,14 +713,17 @@ public Builder clearPoBox() { return this; } - private boolean residential_ ; + private boolean residential_; /** + * + * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; + * * @return Whether the residential field is set. */ @java.lang.Override @@ -662,12 +731,15 @@ public boolean hasResidential() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; + * * @return The residential. */ @java.lang.Override @@ -675,12 +747,15 @@ public boolean getResidential() { return residential_; } /** + * + * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; + * * @param value The residential to set. * @return This builder for chaining. */ @@ -691,12 +766,15 @@ public Builder setResidential(boolean value) { return this; } /** + * + * *
      * Indicates that this is the address of a residence.
      * If unset, indicates that the value is unknown.
      * 
* * optional bool residential = 6; + * * @return This builder for chaining. */ public Builder clearResidential() { @@ -705,9 +783,9 @@ public Builder clearResidential() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -717,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.AddressMetadata) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.AddressMetadata) private static final com.google.maps.addressvalidation.v1.AddressMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.AddressMetadata(); } @@ -731,27 +809,27 @@ public static com.google.maps.addressvalidation.v1.AddressMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddressMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddressMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -766,6 +844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.AddressMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java index c78f05b50fa3..2d2127d0b095 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressMetadataOrBuilder.java @@ -1,71 +1,105 @@ +/* + * 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/metadata.proto package com.google.maps.addressvalidation.v1; -public interface AddressMetadataOrBuilder extends +public interface AddressMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.AddressMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; + * * @return Whether the business field is set. */ boolean hasBusiness(); /** + * + * *
    * Indicates that this is the address of a business.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool business = 2; + * * @return The business. */ boolean getBusiness(); /** + * + * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; + * * @return Whether the poBox field is set. */ boolean hasPoBox(); /** + * + * *
    * Indicates that the address of a PO box.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool po_box = 3; + * * @return The poBox. */ boolean getPoBox(); /** + * + * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; + * * @return Whether the residential field is set. */ boolean hasResidential(); /** + * + * *
    * Indicates that this is the address of a residence.
    * If unset, indicates that the value is unknown.
    * 
* * optional bool residential = 6; + * * @return The residential. */ boolean getResidential(); diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java similarity index 85% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java index 62c0835d9f5f..e8977550f9ec 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressOrBuilder.java @@ -1,53 +1,82 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; -public interface AddressOrBuilder extends +public interface AddressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Address) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; + * * @return The formattedAddress. */ java.lang.String getFormattedAddress(); /** + * + * *
    * The corrected address, formatted as a single-line address following the
    * address formatting rules of the region where the address is located.
    * 
* * string formatted_address = 2; + * * @return The bytes for formattedAddress. */ - com.google.protobuf.ByteString - getFormattedAddressBytes(); + com.google.protobuf.ByteString getFormattedAddressBytes(); /** + * + * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
    * The validated address represented as a postal address.
    * 
* * .google.type.PostalAddress postal_address = 3; + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
    * The validated address represented as a postal address.
    * 
@@ -57,6 +86,8 @@ public interface AddressOrBuilder extends com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -65,11 +96,14 @@ public interface AddressOrBuilder extends
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List - getAddressComponentsList(); + java.util.List getAddressComponentsList(); /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -78,10 +112,14 @@ public interface AddressOrBuilder extends
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ com.google.maps.addressvalidation.v1.AddressComponent getAddressComponents(int index); /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -90,10 +128,14 @@ public interface AddressOrBuilder extends
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ int getAddressComponentsCount(); /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -102,11 +144,15 @@ public interface AddressOrBuilder extends
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List + java.util.List getAddressComponentsOrBuilderList(); /** + * + * *
    * Unordered list. The individual address components of the formatted and corrected address,
    * along with validation information. This provides information on the
@@ -115,12 +161,16 @@ public interface AddressOrBuilder extends
    * assumptions on the ordering of the address components in the list.
    * 
* - * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST]; + * */ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressComponentsOrBuilder( int index); /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -132,11 +182,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; + * * @return A list containing the missingComponentTypes. */ - java.util.List - getMissingComponentTypesList(); + java.util.List getMissingComponentTypesList(); /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -148,10 +200,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; + * * @return The count of missingComponentTypes. */ int getMissingComponentTypesCount(); /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -163,11 +218,14 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; + * * @param index The index of the element to return. * @return The missingComponentTypes at the given index. */ java.lang.String getMissingComponentTypes(int index); /** + * + * *
    * The types of components that were expected to be present in a correctly
    * formatted mailing address but were not found in the input AND could
@@ -179,13 +237,15 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string missing_component_types = 5; + * * @param index The index of the value to return. * @return The bytes of the missingComponentTypes at the given index. */ - com.google.protobuf.ByteString - getMissingComponentTypesBytes(int index); + com.google.protobuf.ByteString getMissingComponentTypesBytes(int index); /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -201,11 +261,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; + * * @return A list containing the unconfirmedComponentTypes. */ - java.util.List - getUnconfirmedComponentTypesList(); + java.util.List getUnconfirmedComponentTypesList(); /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -221,10 +283,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; + * * @return The count of unconfirmedComponentTypes. */ int getUnconfirmedComponentTypesCount(); /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -240,11 +305,14 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the element to return. * @return The unconfirmedComponentTypes at the given index. */ java.lang.String getUnconfirmedComponentTypes(int index); /** + * + * *
    * The types of the components that are present in the `address_components`
    * but could not be confirmed to be correct. This field is provided for the
@@ -260,13 +328,15 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unconfirmed_component_types = 6; + * * @param index The index of the value to return. * @return The bytes of the unconfirmedComponentTypes at the given index. */ - com.google.protobuf.ByteString - getUnconfirmedComponentTypesBytes(int index); + com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index); /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -276,11 +346,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; + * * @return A list containing the unresolvedTokens. */ - java.util.List - getUnresolvedTokensList(); + java.util.List getUnresolvedTokensList(); /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -290,10 +362,13 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; + * * @return The count of unresolvedTokens. */ int getUnresolvedTokensCount(); /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -303,11 +378,14 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the element to return. * @return The unresolvedTokens at the given index. */ java.lang.String getUnresolvedTokens(int index); /** + * + * *
    * Any tokens in the input that could not be resolved. This might be an
    * input that was not recognized as a valid part of an address (for example
@@ -317,9 +395,9 @@ com.google.maps.addressvalidation.v1.AddressComponentOrBuilder getAddressCompone
    * 
* * repeated string unresolved_tokens = 7; + * * @param index The index of the value to return. * @return The bytes of the unresolvedTokens at the given index. */ - com.google.protobuf.ByteString - getUnresolvedTokensBytes(int index); + com.google.protobuf.ByteString getUnresolvedTokensBytes(int index); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java new file mode 100644 index 000000000000..77cc312aec0e --- /dev/null +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java @@ -0,0 +1,134 @@ +/* + * 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.proto + +package com.google.maps.addressvalidation.v1; + +public final class AddressProto { + private AddressProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Address_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/maps/addressvalidation/v1/addre" + + "ss.proto\022 google.maps.addressvalidation." + + "v1\032\037google/api/field_behavior.proto\032 goo" + + "gle/type/postal_address.proto\"\216\002\n\007Addres" + + "s\022\031\n\021formatted_address\030\002 \001(\t\0222\n\016postal_a" + + "ddress\030\003 \001(\0132\032.google.type.PostalAddress" + + "\022S\n\022address_components\030\004 \003(\01322.google.ma" + + "ps.addressvalidation.v1.AddressComponent" + + "B\003\340A\006\022\037\n\027missing_component_types\030\005 \003(\t\022#" + + "\n\033unconfirmed_component_types\030\006 \003(\t\022\031\n\021u" + + "nresolved_tokens\030\007 \003(\t\"\256\003\n\020AddressCompon" + + "ent\022G\n\016component_name\030\001 \001(\0132/.google.map" + + "s.addressvalidation.v1.ComponentName\022\026\n\016" + + "component_type\030\002 \001(\t\022`\n\022confirmation_lev" + + "el\030\003 \001(\0162D.google.maps.addressvalidation" + + ".v1.AddressComponent.ConfirmationLevel\022\020" + + "\n\010inferred\030\004 \001(\010\022\027\n\017spell_corrected\030\005 \001(" + + "\010\022\020\n\010replaced\030\006 \001(\010\022\022\n\nunexpected\030\007 \001(\010\"" + + "\205\001\n\021ConfirmationLevel\022\"\n\036CONFIRMATION_LE" + + "VEL_UNSPECIFIED\020\000\022\r\n\tCONFIRMED\020\001\022\035\n\031UNCO" + + "NFIRMED_BUT_PLAUSIBLE\020\002\022\036\n\032UNCONFIRMED_A" + + "ND_SUSPICIOUS\020\003\"4\n\rComponentName\022\014\n\004text" + + "\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\202\002\n$com.go" + + "ogle.maps.addressvalidation.v1B\014AddressP" + + "rotoP\001ZQgoogle.golang.org/genproto/googl" + + "eapis/maps/addressvalidation/v1;addressv" + + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + + "ressValidation.V1\312\002 Google\\Maps\\AddressV" + + "alidation\\V1\352\002#Google::Maps::AddressVali" + + "dation::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_Address_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Address_descriptor, + new java.lang.String[] { + "FormattedAddress", + "PostalAddress", + "AddressComponents", + "MissingComponentTypes", + "UnconfirmedComponentTypes", + "UnresolvedTokens", + }); + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor, + new java.lang.String[] { + "ComponentName", + "ComponentType", + "ConfirmationLevel", + "Inferred", + "SpellCorrected", + "Replaced", + "Unexpected", + }); + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor, + new java.lang.String[] { + "Text", "LanguageCode", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java new file mode 100644 index 000000000000..31aa9a8008ab --- /dev/null +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java @@ -0,0 +1,213 @@ +/* + * 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 final class AddressValidationServiceProto { + private AddressValidationServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nAgoogle/maps/addressvalidation/v1/addre" + + "ss_validation_service.proto\022 google.maps" + + ".addressvalidation.v1\032\034google/api/annota" + + "tions.proto\032\027google/api/client.proto\032\037go" + + "ogle/api/field_behavior.proto\032.google/ma" + + "ps/addressvalidation/v1/address.proto\032.g" + + "oogle/maps/addressvalidation/v1/geocode." + + "proto\032/google/maps/addressvalidation/v1/" + + "metadata.proto\0320google/maps/addressvalid" + + "ation/v1/usps_data.proto\032 google/type/po" + + "stal_address.proto\"\202\001\n\026ValidateAddressRe" + + "quest\0220\n\007address\030\001 \001(\0132\032.google.type.Pos" + + "talAddressB\003\340A\002\022\034\n\024previous_response_id\030" + + "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\"r\n\027Valid" + + "ateAddressResponse\022B\n\006result\030\001 \001(\01322.goo" + + "gle.maps.addressvalidation.v1.Validation" + + "Result\022\023\n\013response_id\030\002 \001(\t\"\313\002\n ProvideV" + + "alidationFeedbackRequest\022p\n\nconclusion\030\001" + + " \001(\0162W.google.maps.addressvalidation.v1." + + "ProvideValidationFeedbackRequest.Validat" + + "ionConclusionB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB" + + "\003\340A\002\"\232\001\n\024ValidationConclusion\022%\n!VALIDAT" + + "ION_CONCLUSION_UNSPECIFIED\020\000\022\032\n\026VALIDATE" + + "D_VERSION_USED\020\001\022\025\n\021USER_VERSION_USED\020\002\022" + + "\034\n\030UNVALIDATED_VERSION_USED\020\003\022\n\n\006UNUSED\020" + + "\004\"#\n!ProvideValidationFeedbackResponse\"\312" + + "\002\n\020ValidationResult\022:\n\007verdict\030\001 \001(\0132).g" + + "oogle.maps.addressvalidation.v1.Verdict\022" + + ":\n\007address\030\002 \001(\0132).google.maps.addressva" + + "lidation.v1.Address\022:\n\007geocode\030\003 \001(\0132).g" + + "oogle.maps.addressvalidation.v1.Geocode\022" + + "C\n\010metadata\030\004 \001(\01321.google.maps.addressv" + + "alidation.v1.AddressMetadata\022=\n\tusps_dat" + + "a\030\005 \001(\0132*.google.maps.addressvalidation." + + "v1.UspsData\"\211\004\n\007Verdict\022P\n\021input_granula" + + "rity\030\001 \001(\01625.google.maps.addressvalidati" + + "on.v1.Verdict.Granularity\022U\n\026validation_" + + "granularity\030\002 \001(\01625.google.maps.addressv" + + "alidation.v1.Verdict.Granularity\022R\n\023geoc" + + "ode_granularity\030\003 \001(\01625.google.maps.addr" + + "essvalidation.v1.Verdict.Granularity\022\030\n\020" + + "address_complete\030\004 \001(\010\022\"\n\032has_unconfirme" + + "d_components\030\005 \001(\010\022\037\n\027has_inferred_compo" + + "nents\030\006 \001(\010\022\037\n\027has_replaced_components\030\007" + + " \001(\010\"\200\001\n\013Granularity\022\033\n\027GRANULARITY_UNSP" + + "ECIFIED\020\000\022\017\n\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022" + + "\025\n\021PREMISE_PROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROU" + + "TE\020\005\022\t\n\005OTHER\020\0062\262\003\n\021AddressValidation\022\246\001" + + "\n\017ValidateAddress\0228.google.maps.addressv" + + "alidation.v1.ValidateAddressRequest\0329.go" + + "ogle.maps.addressvalidation.v1.ValidateA" + + "ddressResponse\"\036\202\323\344\223\002\030\"\023/v1:validateAddr" + + "ess:\001*\022\316\001\n\031ProvideValidationFeedback\022B.g" + + "oogle.maps.addressvalidation.v1.ProvideV" + + "alidationFeedbackRequest\032C.google.maps.a" + + "ddressvalidation.v1.ProvideValidationFee" + + "dbackResponse\"(\202\323\344\223\002\"\"\035/v1:provideValida" + + "tionFeedback:\001*\032#\312A addressvalidation.go" + + "ogleapis.comB\223\002\n$com.google.maps.address" + + "validation.v1B\035AddressValidationServiceP" + + "rotoP\001ZQgoogle.golang.org/genproto/googl" + + "eapis/maps/addressvalidation/v1;addressv" + + "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + + "ressValidation.V1\312\002 Google\\Maps\\AddressV" + + "alidation\\V1\352\002#Google::Maps::AddressVali" + + "dation::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(), + com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(), + com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(), + com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor, + new java.lang.String[] { + "Address", "PreviousResponseId", "EnableUspsCass", + }); + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor, + new java.lang.String[] { + "Result", "ResponseId", + }); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor, + new java.lang.String[] { + "Conclusion", "ResponseId", + }); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor, + new java.lang.String[] { + "Verdict", "Address", "Geocode", "Metadata", "UspsData", + }); + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Verdict_descriptor, + new java.lang.String[] { + "InputGranularity", + "ValidationGranularity", + "GeocodeGranularity", + "AddressComplete", + "HasUnconfirmedComponents", + "HasInferredComponents", + "HasReplacedComponents", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(); + com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(); + com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(); + com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java similarity index 68% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java index 1f3b869c46be..936471c8da85 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentName.java @@ -1,24 +1,42 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * A wrapper for the name of the component.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ComponentName} */ -public final class ComponentName extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComponentName extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ComponentName) ComponentNameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComponentName.newBuilder() to construct. private ComponentName(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComponentName() { text_ = ""; languageCode_ = ""; @@ -26,38 +44,42 @@ private ComponentName() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComponentName(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ComponentName.class, com.google.maps.addressvalidation.v1.ComponentName.Builder.class); + com.google.maps.addressvalidation.v1.ComponentName.class, + com.google.maps.addressvalidation.v1.ComponentName.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** + * + * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -66,30 +88,30 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -100,12 +122,15 @@ public java.lang.String getText() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** + * + * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; + * * @return The languageCode. */ @java.lang.Override @@ -114,30 +139,30 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -146,6 +171,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -188,17 +213,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ComponentName)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ComponentName other = (com.google.maps.addressvalidation.v1.ComponentName) obj; + com.google.maps.addressvalidation.v1.ComponentName other = + (com.google.maps.addressvalidation.v1.ComponentName) obj; - if (!getText() - .equals(other.getText())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getText().equals(other.getText())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,129 +244,135 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ComponentName parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ComponentName parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ComponentName parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.ComponentName prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A wrapper for the name of the component.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ComponentName} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ComponentName) com.google.maps.addressvalidation.v1.ComponentNameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ComponentName.class, com.google.maps.addressvalidation.v1.ComponentName.Builder.class); + com.google.maps.addressvalidation.v1.ComponentName.class, + com.google.maps.addressvalidation.v1.ComponentName.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ComponentName.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressProto.internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressProto + .internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; } @java.lang.Override @@ -375,7 +405,8 @@ public com.google.maps.addressvalidation.v1.ComponentName build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ComponentName buildPartial() { - com.google.maps.addressvalidation.v1.ComponentName result = new com.google.maps.addressvalidation.v1.ComponentName(this); + com.google.maps.addressvalidation.v1.ComponentName result = + new com.google.maps.addressvalidation.v1.ComponentName(this); result.text_ = text_; result.languageCode_ = languageCode_; onBuilt(); @@ -386,38 +417,39 @@ public com.google.maps.addressvalidation.v1.ComponentName buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ComponentName) { - return mergeFrom((com.google.maps.addressvalidation.v1.ComponentName)other); + return mergeFrom((com.google.maps.addressvalidation.v1.ComponentName) other); } else { super.mergeFrom(other); return this; @@ -425,7 +457,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ComponentName other) { - if (other == com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.ComponentName.getDefaultInstance()) + return this; if (!other.getText().isEmpty()) { text_ = other.text_; onChanged(); @@ -460,22 +493,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -488,19 +524,21 @@ public Builder mergeFrom( private java.lang.Object text_ = ""; /** + * + * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -509,21 +547,22 @@ public java.lang.String getText() { } } /** + * + * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -531,57 +570,64 @@ public java.lang.String getText() { } } /** + * + * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** + * + * *
      * The name text. For example, "5th Avenue" for a street name or "1253" for a
      * street number.
      * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; @@ -589,19 +635,21 @@ public Builder setTextBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -610,21 +658,22 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -632,64 +681,71 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The BCP-47 language code. This will not be present if the component name is
      * not associated with a language, such as a street number.
      * 
* * string language_code = 2; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -699,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ComponentName) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ComponentName) private static final com.google.maps.addressvalidation.v1.ComponentName DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ComponentName(); } @@ -713,27 +769,27 @@ public static com.google.maps.addressvalidation.v1.ComponentName getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComponentName parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComponentName parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ComponentName getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java similarity index 61% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java index 6efaf1c777ad..75c8c890000c 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ComponentNameOrBuilder.java @@ -1,53 +1,79 @@ +/* + * 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.proto package com.google.maps.addressvalidation.v1; -public interface ComponentNameOrBuilder extends +public interface ComponentNameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ComponentName) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
    * The name text. For example, "5th Avenue" for a street name or "1253" for a
    * street number.
    * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The BCP-47 language code. This will not be present if the component name is
    * not associated with a language, such as a street number.
    * 
* * string language_code = 2; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java similarity index 77% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java index 868714956fb3..cd7b8989b4b8 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Geocode.java @@ -1,24 +1,42 @@ +/* + * 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/geocode.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * Contains information about the place the input was geocoded to.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Geocode} */ -public final class Geocode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Geocode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Geocode) GeocodeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Geocode.newBuilder() to construct. private Geocode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Geocode() { placeId_ = ""; placeTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private Geocode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Geocode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.GeocodeProto + .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable + return com.google.maps.addressvalidation.v1.GeocodeProto + .internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Geocode.class, com.google.maps.addressvalidation.v1.Geocode.Builder.class); + com.google.maps.addressvalidation.v1.Geocode.class, + com.google.maps.addressvalidation.v1.Geocode.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private com.google.type.LatLng location_; /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -65,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.type.LatLng location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -72,6 +94,8 @@ public boolean hasLocation() { return location_ != null; } /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -85,6 +109,7 @@ public boolean hasLocation() {
    * 
* * .google.type.LatLng location = 1; + * * @return The location. */ @java.lang.Override @@ -92,6 +117,8 @@ public com.google.type.LatLng getLocation() { return location_ == null ? com.google.type.LatLng.getDefaultInstance() : location_; } /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -114,11 +141,14 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
   public static final int PLUS_CODE_FIELD_NUMBER = 2;
   private com.google.maps.addressvalidation.v1.PlusCode plusCode_;
   /**
+   *
+   *
    * 
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return Whether the plusCode field is set. */ @java.lang.Override @@ -126,18 +156,25 @@ public boolean hasPlusCode() { return plusCode_ != null; } /** + * + * *
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return The plusCode. */ @java.lang.Override public com.google.maps.addressvalidation.v1.PlusCode getPlusCode() { - return plusCode_ == null ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; + return plusCode_ == null + ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() + : plusCode_; } /** + * + * *
    * The plus code corresponding to the `location`.
    * 
@@ -152,11 +189,14 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild public static final int BOUNDS_FIELD_NUMBER = 4; private com.google.geo.type.Viewport bounds_; /** + * + * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; + * * @return Whether the bounds field is set. */ @java.lang.Override @@ -164,11 +204,14 @@ public boolean hasBounds() { return bounds_ != null; } /** + * + * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; + * * @return The bounds. */ @java.lang.Override @@ -176,6 +219,8 @@ public com.google.geo.type.Viewport getBounds() { return bounds_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : bounds_; } /** + * + * *
    * The bounds of the geocoded place.
    * 
@@ -190,6 +235,8 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { public static final int FEATURE_SIZE_METERS_FIELD_NUMBER = 5; private float featureSizeMeters_; /** + * + * *
    * The size of the geocoded place, in meters. This is another measure of the
    * coarseness of the geocoded location, but in physical size rather than in
@@ -197,6 +244,7 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() {
    * 
* * float feature_size_meters = 5; + * * @return The featureSizeMeters. */ @java.lang.Override @@ -207,6 +255,8 @@ public float getFeatureSizeMeters() { public static final int PLACE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object placeId_; /** + * + * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -214,6 +264,7 @@ public float getFeatureSizeMeters() {
    * 
* * string place_id = 6; + * * @return The placeId. */ @java.lang.Override @@ -222,14 +273,15 @@ public java.lang.String getPlaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); placeId_ = s; return s; } } /** + * + * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -237,16 +289,15 @@ public java.lang.String getPlaceId() {
    * 
* * string place_id = 6; + * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = placeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); placeId_ = b; return b; } else { @@ -257,6 +308,8 @@ public java.lang.String getPlaceId() { public static final int PLACE_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList placeTypes_; /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -264,13 +317,15 @@ public java.lang.String getPlaceId() {
    * 
* * repeated string place_types = 7; + * * @return A list containing the placeTypes. */ - public com.google.protobuf.ProtocolStringList - getPlaceTypesList() { + public com.google.protobuf.ProtocolStringList getPlaceTypesList() { return placeTypes_; } /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -278,12 +333,15 @@ public java.lang.String getPlaceId() {
    * 
* * repeated string place_types = 7; + * * @return The count of placeTypes. */ public int getPlaceTypesCount() { return placeTypes_.size(); } /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -291,6 +349,7 @@ public int getPlaceTypesCount() {
    * 
* * repeated string place_types = 7; + * * @param index The index of the element to return. * @return The placeTypes at the given index. */ @@ -298,6 +357,8 @@ public java.lang.String getPlaceTypes(int index) { return placeTypes_.get(index); } /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -305,15 +366,16 @@ public java.lang.String getPlaceTypes(int index) {
    * 
* * repeated string place_types = 7; + * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - public com.google.protobuf.ByteString - getPlaceTypesBytes(int index) { + public com.google.protobuf.ByteString getPlaceTypesBytes(int index) { return placeTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -355,20 +416,16 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); } if (plusCode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPlusCode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPlusCode()); } if (bounds_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getBounds()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBounds()); } if (java.lang.Float.floatToRawIntBits(featureSizeMeters_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(5, featureSizeMeters_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, featureSizeMeters_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, placeId_); @@ -389,35 +446,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Geocode)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Geocode other = (com.google.maps.addressvalidation.v1.Geocode) obj; + com.google.maps.addressvalidation.v1.Geocode other = + (com.google.maps.addressvalidation.v1.Geocode) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; } if (hasPlusCode() != other.hasPlusCode()) return false; if (hasPlusCode()) { - if (!getPlusCode() - .equals(other.getPlusCode())) return false; + if (!getPlusCode().equals(other.getPlusCode())) return false; } if (hasBounds() != other.hasBounds()) return false; if (hasBounds()) { - if (!getBounds() - .equals(other.getBounds())) return false; + if (!getBounds().equals(other.getBounds())) return false; } if (java.lang.Float.floatToIntBits(getFeatureSizeMeters()) - != java.lang.Float.floatToIntBits( - other.getFeatureSizeMeters())) return false; - if (!getPlaceId() - .equals(other.getPlaceId())) return false; - if (!getPlaceTypesList() - .equals(other.getPlaceTypesList())) return false; + != java.lang.Float.floatToIntBits(other.getFeatureSizeMeters())) return false; + if (!getPlaceId().equals(other.getPlaceId())) return false; + if (!getPlaceTypesList().equals(other.getPlaceTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -442,8 +494,7 @@ public int hashCode() { hash = (53 * hash) + getBounds().hashCode(); } hash = (37 * hash) + FEATURE_SIZE_METERS_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFeatureSizeMeters()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFeatureSizeMeters()); hash = (37 * hash) + PLACE_ID_FIELD_NUMBER; hash = (53 * hash) + getPlaceId().hashCode(); if (getPlaceTypesCount() > 0) { @@ -455,130 +506,136 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Geocode parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Geocode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Geocode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.Geocode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information about the place the input was geocoded to.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Geocode} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Geocode) com.google.maps.addressvalidation.v1.GeocodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.GeocodeProto + .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable + return com.google.maps.addressvalidation.v1.GeocodeProto + .internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Geocode.class, com.google.maps.addressvalidation.v1.Geocode.Builder.class); + com.google.maps.addressvalidation.v1.Geocode.class, + com.google.maps.addressvalidation.v1.Geocode.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Geocode.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +667,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.GeocodeProto + .internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; } @java.lang.Override @@ -631,7 +688,8 @@ public com.google.maps.addressvalidation.v1.Geocode build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Geocode buildPartial() { - com.google.maps.addressvalidation.v1.Geocode result = new com.google.maps.addressvalidation.v1.Geocode(this); + com.google.maps.addressvalidation.v1.Geocode result = + new com.google.maps.addressvalidation.v1.Geocode(this); int from_bitField0_ = bitField0_; if (locationBuilder_ == null) { result.location_ = location_; @@ -663,38 +721,39 @@ public com.google.maps.addressvalidation.v1.Geocode buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Geocode) { - return mergeFrom((com.google.maps.addressvalidation.v1.Geocode)other); + return mergeFrom((com.google.maps.addressvalidation.v1.Geocode) other); } else { super.mergeFrom(other); return this; @@ -755,49 +814,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getPlusCodeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 34: { - input.readMessage( - getBoundsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 45: { - featureSizeMeters_ = input.readFloat(); - - break; - } // case 45 - case 50: { - placeId_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePlaceTypesIsMutable(); - placeTypes_.add(s); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getPlusCodeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 34: + { + input.readMessage(getBoundsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 45: + { + featureSizeMeters_ = input.readFloat(); + + break; + } // case 45 + case 50: + { + placeId_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePlaceTypesIsMutable(); + placeTypes_.add(s); + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -807,12 +867,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.LatLng location_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> locationBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + locationBuilder_; /** + * + * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -826,12 +890,15 @@ public Builder mergeFrom(
      * 
* * .google.type.LatLng location = 1; + * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** + * + * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -845,6 +912,7 @@ public boolean hasLocation() {
      * 
* * .google.type.LatLng location = 1; + * * @return The location. */ public com.google.type.LatLng getLocation() { @@ -855,6 +923,8 @@ public com.google.type.LatLng getLocation() { } } /** + * + * *
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -883,6 +953,8 @@ public Builder setLocation(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -897,8 +969,7 @@ public Builder setLocation(com.google.type.LatLng value) {
      *
      * .google.type.LatLng location = 1;
      */
-    public Builder setLocation(
-        com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLocation(com.google.type.LatLng.Builder builderForValue) {
       if (locationBuilder_ == null) {
         location_ = builderForValue.build();
         onChanged();
@@ -909,6 +980,8 @@ public Builder setLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -926,8 +999,7 @@ public Builder setLocation(
     public Builder mergeLocation(com.google.type.LatLng value) {
       if (locationBuilder_ == null) {
         if (location_ != null) {
-          location_ =
-            com.google.type.LatLng.newBuilder(location_).mergeFrom(value).buildPartial();
+          location_ = com.google.type.LatLng.newBuilder(location_).mergeFrom(value).buildPartial();
         } else {
           location_ = value;
         }
@@ -939,6 +1011,8 @@ public Builder mergeLocation(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -965,6 +1039,8 @@ public Builder clearLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -980,11 +1056,13 @@ public Builder clearLocation() {
      * .google.type.LatLng location = 1;
      */
     public com.google.type.LatLng.Builder getLocationBuilder() {
-      
+
       onChanged();
       return getLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1003,11 +1081,12 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
       if (locationBuilder_ != null) {
         return locationBuilder_.getMessageOrBuilder();
       } else {
-        return location_ == null ?
-            com.google.type.LatLng.getDefaultInstance() : location_;
+        return location_ == null ? com.google.type.LatLng.getDefaultInstance() : location_;
       }
     }
     /**
+     *
+     *
      * 
      * The geocoded location of the input.
      * Using place IDs is preferred over using addresses,
@@ -1023,14 +1102,14 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
      * .google.type.LatLng location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
-        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
-                getLocation(),
-                getParentForChildren(),
-                isClean());
+        locationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.LatLng,
+                com.google.type.LatLng.Builder,
+                com.google.type.LatLngOrBuilder>(getLocation(), getParentForChildren(), isClean());
         location_ = null;
       }
       return locationBuilder_;
@@ -1038,34 +1117,47 @@ public com.google.type.LatLngOrBuilder getLocationOrBuilder() {
 
     private com.google.maps.addressvalidation.v1.PlusCode plusCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> plusCodeBuilder_;
+            com.google.maps.addressvalidation.v1.PlusCode,
+            com.google.maps.addressvalidation.v1.PlusCode.Builder,
+            com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>
+        plusCodeBuilder_;
     /**
+     *
+     *
      * 
      * The plus code corresponding to the `location`.
      * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return Whether the plusCode field is set. */ public boolean hasPlusCode() { return plusCodeBuilder_ != null || plusCode_ != null; } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return The plusCode. */ public com.google.maps.addressvalidation.v1.PlusCode getPlusCode() { if (plusCodeBuilder_ == null) { - return plusCode_ == null ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; + return plusCode_ == null + ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() + : plusCode_; } else { return plusCodeBuilder_.getMessage(); } } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1086,6 +1178,8 @@ public Builder setPlusCode(com.google.maps.addressvalidation.v1.PlusCode value) return this; } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1104,6 +1198,8 @@ public Builder setPlusCode( return this; } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1114,7 +1210,9 @@ public Builder mergePlusCode(com.google.maps.addressvalidation.v1.PlusCode value if (plusCodeBuilder_ == null) { if (plusCode_ != null) { plusCode_ = - com.google.maps.addressvalidation.v1.PlusCode.newBuilder(plusCode_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.PlusCode.newBuilder(plusCode_) + .mergeFrom(value) + .buildPartial(); } else { plusCode_ = value; } @@ -1126,6 +1224,8 @@ public Builder mergePlusCode(com.google.maps.addressvalidation.v1.PlusCode value return this; } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1144,6 +1244,8 @@ public Builder clearPlusCode() { return this; } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1151,11 +1253,13 @@ public Builder clearPlusCode() { * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; */ public com.google.maps.addressvalidation.v1.PlusCode.Builder getPlusCodeBuilder() { - + onChanged(); return getPlusCodeFieldBuilder().getBuilder(); } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1166,11 +1270,14 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild if (plusCodeBuilder_ != null) { return plusCodeBuilder_.getMessageOrBuilder(); } else { - return plusCode_ == null ? - com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() : plusCode_; + return plusCode_ == null + ? com.google.maps.addressvalidation.v1.PlusCode.getDefaultInstance() + : plusCode_; } } /** + * + * *
      * The plus code corresponding to the `location`.
      * 
@@ -1178,14 +1285,17 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> + com.google.maps.addressvalidation.v1.PlusCode, + com.google.maps.addressvalidation.v1.PlusCode.Builder, + com.google.maps.addressvalidation.v1.PlusCodeOrBuilder> getPlusCodeFieldBuilder() { if (plusCodeBuilder_ == null) { - plusCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.PlusCode, com.google.maps.addressvalidation.v1.PlusCode.Builder, com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>( - getPlusCode(), - getParentForChildren(), - isClean()); + plusCodeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.PlusCode, + com.google.maps.addressvalidation.v1.PlusCode.Builder, + com.google.maps.addressvalidation.v1.PlusCodeOrBuilder>( + getPlusCode(), getParentForChildren(), isClean()); plusCode_ = null; } return plusCodeBuilder_; @@ -1193,24 +1303,33 @@ public com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuild private com.google.geo.type.Viewport bounds_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> boundsBuilder_; + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder> + boundsBuilder_; /** + * + * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; + * * @return Whether the bounds field is set. */ public boolean hasBounds() { return boundsBuilder_ != null || bounds_ != null; } /** + * + * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; + * * @return The bounds. */ public com.google.geo.type.Viewport getBounds() { @@ -1221,6 +1340,8 @@ public com.google.geo.type.Viewport getBounds() { } } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1241,14 +1362,15 @@ public Builder setBounds(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The bounds of the geocoded place.
      * 
* * .google.geo.type.Viewport bounds = 4; */ - public Builder setBounds( - com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setBounds(com.google.geo.type.Viewport.Builder builderForValue) { if (boundsBuilder_ == null) { bounds_ = builderForValue.build(); onChanged(); @@ -1259,6 +1381,8 @@ public Builder setBounds( return this; } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1269,7 +1393,7 @@ public Builder mergeBounds(com.google.geo.type.Viewport value) { if (boundsBuilder_ == null) { if (bounds_ != null) { bounds_ = - com.google.geo.type.Viewport.newBuilder(bounds_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(bounds_).mergeFrom(value).buildPartial(); } else { bounds_ = value; } @@ -1281,6 +1405,8 @@ public Builder mergeBounds(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1299,6 +1425,8 @@ public Builder clearBounds() { return this; } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1306,11 +1434,13 @@ public Builder clearBounds() { * .google.geo.type.Viewport bounds = 4; */ public com.google.geo.type.Viewport.Builder getBoundsBuilder() { - + onChanged(); return getBoundsFieldBuilder().getBuilder(); } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1321,11 +1451,12 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { if (boundsBuilder_ != null) { return boundsBuilder_.getMessageOrBuilder(); } else { - return bounds_ == null ? - com.google.geo.type.Viewport.getDefaultInstance() : bounds_; + return bounds_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : bounds_; } } /** + * + * *
      * The bounds of the geocoded place.
      * 
@@ -1333,21 +1464,26 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() { * .google.geo.type.Viewport bounds = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder> getBoundsFieldBuilder() { if (boundsBuilder_ == null) { - boundsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( - getBounds(), - getParentForChildren(), - isClean()); + boundsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder>( + getBounds(), getParentForChildren(), isClean()); bounds_ = null; } return boundsBuilder_; } - private float featureSizeMeters_ ; + private float featureSizeMeters_; /** + * + * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1355,6 +1491,7 @@ public com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder() {
      * 
* * float feature_size_meters = 5; + * * @return The featureSizeMeters. */ @java.lang.Override @@ -1362,6 +1499,8 @@ public float getFeatureSizeMeters() { return featureSizeMeters_; } /** + * + * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1369,16 +1508,19 @@ public float getFeatureSizeMeters() {
      * 
* * float feature_size_meters = 5; + * * @param value The featureSizeMeters to set. * @return This builder for chaining. */ public Builder setFeatureSizeMeters(float value) { - + featureSizeMeters_ = value; onChanged(); return this; } /** + * + * *
      * The size of the geocoded place, in meters. This is another measure of the
      * coarseness of the geocoded location, but in physical size rather than in
@@ -1386,10 +1528,11 @@ public Builder setFeatureSizeMeters(float value) {
      * 
* * float feature_size_meters = 5; + * * @return This builder for chaining. */ public Builder clearFeatureSizeMeters() { - + featureSizeMeters_ = 0F; onChanged(); return this; @@ -1397,6 +1540,8 @@ public Builder clearFeatureSizeMeters() { private java.lang.Object placeId_ = ""; /** + * + * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1404,13 +1549,13 @@ public Builder clearFeatureSizeMeters() {
      * 
* * string place_id = 6; + * * @return The placeId. */ public java.lang.String getPlaceId() { java.lang.Object ref = placeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); placeId_ = s; return s; @@ -1419,6 +1564,8 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1426,15 +1573,14 @@ public java.lang.String getPlaceId() {
      * 
* * string place_id = 6; + * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = placeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); placeId_ = b; return b; } else { @@ -1442,6 +1588,8 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1449,20 +1597,22 @@ public java.lang.String getPlaceId() {
      * 
* * string place_id = 6; + * * @param value The placeId to set. * @return This builder for chaining. */ - public Builder setPlaceId( - java.lang.String value) { + public Builder setPlaceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + placeId_ = value; onChanged(); return this; } /** + * + * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1470,15 +1620,18 @@ public Builder setPlaceId(
      * 
* * string place_id = 6; + * * @return This builder for chaining. */ public Builder clearPlaceId() { - + placeId_ = getDefaultInstance().getPlaceId(); onChanged(); return this; } /** + * + * *
      * The PlaceID of the place this input geocodes to.
      * For more information about Place IDs see
@@ -1486,29 +1639,33 @@ public Builder clearPlaceId() {
      * 
* * string place_id = 6; + * * @param value The bytes for placeId to set. * @return This builder for chaining. */ - public Builder setPlaceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + placeId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList placeTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList placeTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePlaceTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { placeTypes_ = new com.google.protobuf.LazyStringArrayList(placeTypes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1516,13 +1673,15 @@ private void ensurePlaceTypesIsMutable() {
      * 
* * repeated string place_types = 7; + * * @return A list containing the placeTypes. */ - public com.google.protobuf.ProtocolStringList - getPlaceTypesList() { + public com.google.protobuf.ProtocolStringList getPlaceTypesList() { return placeTypes_.getUnmodifiableView(); } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1530,12 +1689,15 @@ private void ensurePlaceTypesIsMutable() {
      * 
* * repeated string place_types = 7; + * * @return The count of placeTypes. */ public int getPlaceTypesCount() { return placeTypes_.size(); } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1543,6 +1705,7 @@ public int getPlaceTypesCount() {
      * 
* * repeated string place_types = 7; + * * @param index The index of the element to return. * @return The placeTypes at the given index. */ @@ -1550,6 +1713,8 @@ public java.lang.String getPlaceTypes(int index) { return placeTypes_.get(index); } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1557,14 +1722,16 @@ public java.lang.String getPlaceTypes(int index) {
      * 
* * repeated string place_types = 7; + * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - public com.google.protobuf.ByteString - getPlaceTypesBytes(int index) { + public com.google.protobuf.ByteString getPlaceTypesBytes(int index) { return placeTypes_.getByteString(index); } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1572,21 +1739,23 @@ public java.lang.String getPlaceTypes(int index) {
      * 
* * repeated string place_types = 7; + * * @param index The index to set the value at. * @param value The placeTypes to set. * @return This builder for chaining. */ - public Builder setPlaceTypes( - int index, java.lang.String value) { + public Builder setPlaceTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePlaceTypesIsMutable(); + throw new NullPointerException(); + } + ensurePlaceTypesIsMutable(); placeTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1594,20 +1763,22 @@ public Builder setPlaceTypes(
      * 
* * repeated string place_types = 7; + * * @param value The placeTypes to add. * @return This builder for chaining. */ - public Builder addPlaceTypes( - java.lang.String value) { + public Builder addPlaceTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePlaceTypesIsMutable(); + throw new NullPointerException(); + } + ensurePlaceTypesIsMutable(); placeTypes_.add(value); onChanged(); return this; } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1615,18 +1786,19 @@ public Builder addPlaceTypes(
      * 
* * repeated string place_types = 7; + * * @param values The placeTypes to add. * @return This builder for chaining. */ - public Builder addAllPlaceTypes( - java.lang.Iterable values) { + public Builder addAllPlaceTypes(java.lang.Iterable values) { ensurePlaceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, placeTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, placeTypes_); onChanged(); return this; } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1634,6 +1806,7 @@ public Builder addAllPlaceTypes(
      * 
* * repeated string place_types = 7; + * * @return This builder for chaining. */ public Builder clearPlaceTypes() { @@ -1643,6 +1816,8 @@ public Builder clearPlaceTypes() { return this; } /** + * + * *
      * The type(s) of place that the input geocoded to. For example,
      * `['locality', 'political']`. The full list of types can be found
@@ -1650,23 +1825,23 @@ public Builder clearPlaceTypes() {
      * 
* * repeated string place_types = 7; + * * @param value The bytes of the placeTypes to add. * @return This builder for chaining. */ - public Builder addPlaceTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addPlaceTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePlaceTypesIsMutable(); placeTypes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1676,12 +1851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Geocode) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Geocode) private static final com.google.maps.addressvalidation.v1.Geocode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Geocode(); } @@ -1690,27 +1865,27 @@ public static com.google.maps.addressvalidation.v1.Geocode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Geocode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Geocode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1725,6 +1900,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.Geocode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java similarity index 86% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java index 8b6968a648ef..ab7a2909dae2 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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/geocode.proto package com.google.maps.addressvalidation.v1; -public interface GeocodeOrBuilder extends +public interface GeocodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Geocode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -21,10 +39,13 @@ public interface GeocodeOrBuilder extends
    * 
* * .google.type.LatLng location = 1; + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -38,10 +59,13 @@ public interface GeocodeOrBuilder extends
    * 
* * .google.type.LatLng location = 1; + * * @return The location. */ com.google.type.LatLng getLocation(); /** + * + * *
    * The geocoded location of the input.
    * Using place IDs is preferred over using addresses,
@@ -59,24 +83,32 @@ public interface GeocodeOrBuilder extends
   com.google.type.LatLngOrBuilder getLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return Whether the plusCode field is set. */ boolean hasPlusCode(); /** + * + * *
    * The plus code corresponding to the `location`.
    * 
* * .google.maps.addressvalidation.v1.PlusCode plus_code = 2; + * * @return The plusCode. */ com.google.maps.addressvalidation.v1.PlusCode getPlusCode(); /** + * + * *
    * The plus code corresponding to the `location`.
    * 
@@ -86,24 +118,32 @@ public interface GeocodeOrBuilder extends com.google.maps.addressvalidation.v1.PlusCodeOrBuilder getPlusCodeOrBuilder(); /** + * + * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; + * * @return Whether the bounds field is set. */ boolean hasBounds(); /** + * + * *
    * The bounds of the geocoded place.
    * 
* * .google.geo.type.Viewport bounds = 4; + * * @return The bounds. */ com.google.geo.type.Viewport getBounds(); /** + * + * *
    * The bounds of the geocoded place.
    * 
@@ -113,6 +153,8 @@ public interface GeocodeOrBuilder extends com.google.geo.type.ViewportOrBuilder getBoundsOrBuilder(); /** + * + * *
    * The size of the geocoded place, in meters. This is another measure of the
    * coarseness of the geocoded location, but in physical size rather than in
@@ -120,11 +162,14 @@ public interface GeocodeOrBuilder extends
    * 
* * float feature_size_meters = 5; + * * @return The featureSizeMeters. */ float getFeatureSizeMeters(); /** + * + * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -132,10 +177,13 @@ public interface GeocodeOrBuilder extends
    * 
* * string place_id = 6; + * * @return The placeId. */ java.lang.String getPlaceId(); /** + * + * *
    * The PlaceID of the place this input geocodes to.
    * For more information about Place IDs see
@@ -143,12 +191,14 @@ public interface GeocodeOrBuilder extends
    * 
* * string place_id = 6; + * * @return The bytes for placeId. */ - com.google.protobuf.ByteString - getPlaceIdBytes(); + com.google.protobuf.ByteString getPlaceIdBytes(); /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -156,11 +206,13 @@ public interface GeocodeOrBuilder extends
    * 
* * repeated string place_types = 7; + * * @return A list containing the placeTypes. */ - java.util.List - getPlaceTypesList(); + java.util.List getPlaceTypesList(); /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -168,10 +220,13 @@ public interface GeocodeOrBuilder extends
    * 
* * repeated string place_types = 7; + * * @return The count of placeTypes. */ int getPlaceTypesCount(); /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -179,11 +234,14 @@ public interface GeocodeOrBuilder extends
    * 
* * repeated string place_types = 7; + * * @param index The index of the element to return. * @return The placeTypes at the given index. */ java.lang.String getPlaceTypes(int index); /** + * + * *
    * The type(s) of place that the input geocoded to. For example,
    * `['locality', 'political']`. The full list of types can be found
@@ -191,9 +249,9 @@ public interface GeocodeOrBuilder extends
    * 
* * repeated string place_types = 7; + * * @param index The index of the value to return. * @return The bytes of the placeTypes at the given index. */ - com.google.protobuf.ByteString - getPlaceTypesBytes(int index); + com.google.protobuf.ByteString getPlaceTypesBytes(int index); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java new file mode 100644 index 000000000000..9f5c8bd8a5f5 --- /dev/null +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java @@ -0,0 +1,94 @@ +/* + * 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/geocode.proto + +package com.google.maps.addressvalidation.v1; + +public final class GeocodeProto { + private GeocodeProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/maps/addressvalidation/v1/geoco" + + "de.proto\022 google.maps.addressvalidation." + + "v1\032\036google/geo/type/viewport.proto\032\030goog" + + "le/type/latlng.proto\"\336\001\n\007Geocode\022%\n\010loca" + + "tion\030\001 \001(\0132\023.google.type.LatLng\022=\n\tplus_" + + "code\030\002 \001(\0132*.google.maps.addressvalidati" + + "on.v1.PlusCode\022)\n\006bounds\030\004 \001(\0132\031.google." + + "geo.type.Viewport\022\033\n\023feature_size_meters" + + "\030\005 \001(\002\022\020\n\010place_id\030\006 \001(\t\022\023\n\013place_types\030" + + "\007 \003(\t\"6\n\010PlusCode\022\023\n\013global_code\030\001 \001(\t\022\025" + + "\n\rcompound_code\030\002 \001(\tB\202\002\n$com.google.map" + + "s.addressvalidation.v1B\014GeocodeProtoP\001ZQ" + + "google.golang.org/genproto/googleapis/ma" + + "ps/addressvalidation/v1;addressvalidatio" + + "n\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressVali" + + "dation.V1\312\002 Google\\Maps\\AddressValidatio" + + "n\\V1\352\002#Google::Maps::AddressValidation::" + + "V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + }); + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_Geocode_descriptor, + new java.lang.String[] { + "Location", "PlusCode", "Bounds", "FeatureSizeMeters", "PlaceId", "PlaceTypes", + }); + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor, + new java.lang.String[] { + "GlobalCode", "CompoundCode", + }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java new file mode 100644 index 000000000000..17d85752df1d --- /dev/null +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java @@ -0,0 +1,71 @@ +/* + * 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/metadata.proto + +package com.google.maps.addressvalidation.v1; + +public final class MetadataProto { + private MetadataProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/maps/addressvalidation/v1/metad" + + "ata.proto\022 google.maps.addressvalidation" + + ".v1\"\177\n\017AddressMetadata\022\025\n\010business\030\002 \001(\010" + + "H\000\210\001\001\022\023\n\006po_box\030\003 \001(\010H\001\210\001\001\022\030\n\013residentia" + + "l\030\006 \001(\010H\002\210\001\001B\013\n\t_businessB\t\n\007_po_boxB\016\n\014" + + "_residentialB\203\002\n$com.google.maps.address" + + "validation.v1B\rMetadataProtoP\001ZQgoogle.g" + + "olang.org/genproto/googleapis/maps/addre" + + "ssvalidation/v1;addressvalidation\370\001\001\242\002\007G" + + "MPAVV1\252\002 Google.Maps.AddressValidation.V" + + "1\312\002 Google\\Maps\\AddressValidation\\V1\352\002#G" + + "oogle::Maps::AddressValidation::V1b\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor, + new java.lang.String[] { + "Business", "PoBox", "Residential", "Business", "PoBox", "Residential", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java similarity index 69% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java index c5d807df25f5..a32e1d5fc295 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCode.java @@ -1,9 +1,26 @@ +/* + * 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/geocode.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * 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,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.maps.addressvalidation.v1.PlusCode}
  */
-public final class PlusCode extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PlusCode extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.PlusCode)
     PlusCodeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PlusCode.newBuilder() to construct.
   private PlusCode(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PlusCode() {
     globalCode_ = "";
     compoundCode_ = "";
@@ -28,38 +46,42 @@ private PlusCode() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PlusCode();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.addressvalidation.v1.GeocodeProto
+        .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
+    return com.google.maps.addressvalidation.v1.GeocodeProto
+        .internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.addressvalidation.v1.PlusCode.class, com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
+            com.google.maps.addressvalidation.v1.PlusCode.class,
+            com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
   }
 
   public static final int GLOBAL_CODE_FIELD_NUMBER = 1;
   private volatile java.lang.Object globalCode_;
   /**
+   *
+   *
    * 
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; + * * @return The globalCode. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getGlobalCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); globalCode_ = s; return s; } } /** + * + * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; + * * @return The bytes for globalCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getGlobalCodeBytes() { + public com.google.protobuf.ByteString getGlobalCodeBytes() { java.lang.Object ref = globalCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); globalCode_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getGlobalCode() { public static final int COMPOUND_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object compoundCode_; /** + * + * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -109,6 +133,7 @@ public java.lang.String getGlobalCode() {
    * 
* * string compound_code = 2; + * * @return The compoundCode. */ @java.lang.Override @@ -117,14 +142,15 @@ public java.lang.String getCompoundCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compoundCode_ = s; return s; } } /** + * + * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -132,16 +158,15 @@ public java.lang.String getCompoundCode() {
    * 
* * string compound_code = 2; + * * @return The bytes for compoundCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompoundCodeBytes() { + public com.google.protobuf.ByteString getCompoundCodeBytes() { java.lang.Object ref = compoundCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compoundCode_ = b; return b; } else { @@ -150,6 +175,7 @@ public java.lang.String getCompoundCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(globalCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, globalCode_); } @@ -192,17 +217,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.PlusCode)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.PlusCode other = (com.google.maps.addressvalidation.v1.PlusCode) obj; + com.google.maps.addressvalidation.v1.PlusCode other = + (com.google.maps.addressvalidation.v1.PlusCode) obj; - if (!getGlobalCode() - .equals(other.getGlobalCode())) return false; - if (!getCompoundCode() - .equals(other.getCompoundCode())) return false; + if (!getGlobalCode().equals(other.getGlobalCode())) return false; + if (!getCompoundCode().equals(other.getCompoundCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -223,97 +247,104 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.PlusCode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.PlusCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.PlusCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return 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,
@@ -322,33 +353,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.addressvalidation.v1.PlusCode}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.PlusCode)
       com.google.maps.addressvalidation.v1.PlusCodeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.addressvalidation.v1.GeocodeProto
+          .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
+      return com.google.maps.addressvalidation.v1.GeocodeProto
+          .internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.addressvalidation.v1.PlusCode.class, com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
+              com.google.maps.addressvalidation.v1.PlusCode.class,
+              com.google.maps.addressvalidation.v1.PlusCode.Builder.class);
     }
 
     // Construct using com.google.maps.addressvalidation.v1.PlusCode.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -360,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.addressvalidation.v1.GeocodeProto.internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.addressvalidation.v1.GeocodeProto
+          .internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor;
     }
 
     @java.lang.Override
@@ -381,7 +411,8 @@ public com.google.maps.addressvalidation.v1.PlusCode build() {
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.PlusCode buildPartial() {
-      com.google.maps.addressvalidation.v1.PlusCode result = new com.google.maps.addressvalidation.v1.PlusCode(this);
+      com.google.maps.addressvalidation.v1.PlusCode result =
+          new com.google.maps.addressvalidation.v1.PlusCode(this);
       result.globalCode_ = globalCode_;
       result.compoundCode_ = compoundCode_;
       onBuilt();
@@ -392,38 +423,39 @@ public com.google.maps.addressvalidation.v1.PlusCode buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.maps.addressvalidation.v1.PlusCode) {
-        return mergeFrom((com.google.maps.addressvalidation.v1.PlusCode)other);
+        return mergeFrom((com.google.maps.addressvalidation.v1.PlusCode) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -466,22 +498,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              globalCode_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              compoundCode_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                globalCode_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                compoundCode_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,19 +529,21 @@ public Builder mergeFrom(
 
     private java.lang.Object globalCode_ = "";
     /**
+     *
+     *
      * 
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; + * * @return The globalCode. */ public java.lang.String getGlobalCode() { java.lang.Object ref = globalCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); globalCode_ = s; return s; @@ -515,21 +552,22 @@ public java.lang.String getGlobalCode() { } } /** + * + * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; + * * @return The bytes for globalCode. */ - public com.google.protobuf.ByteString - getGlobalCodeBytes() { + public com.google.protobuf.ByteString getGlobalCodeBytes() { java.lang.Object ref = globalCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); globalCode_ = b; return b; } else { @@ -537,57 +575,64 @@ public java.lang.String getGlobalCode() { } } /** + * + * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; + * * @param value The globalCode to set. * @return This builder for chaining. */ - public Builder setGlobalCode( - java.lang.String value) { + public Builder setGlobalCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + globalCode_ = value; onChanged(); return this; } /** + * + * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; + * * @return This builder for chaining. */ public Builder clearGlobalCode() { - + globalCode_ = getDefaultInstance().getGlobalCode(); onChanged(); return this; } /** + * + * *
      * Place's global (full) code, such as "9FWM33GV+HQ", representing an
      * 1/8000 by 1/8000 degree area (~14 by 14 meters).
      * 
* * string global_code = 1; + * * @param value The bytes for globalCode to set. * @return This builder for chaining. */ - public Builder setGlobalCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setGlobalCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + globalCode_ = value; onChanged(); return this; @@ -595,6 +640,8 @@ public Builder setGlobalCodeBytes( private java.lang.Object compoundCode_ = ""; /** + * + * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -602,13 +649,13 @@ public Builder setGlobalCodeBytes(
      * 
* * string compound_code = 2; + * * @return The compoundCode. */ public java.lang.String getCompoundCode() { java.lang.Object ref = compoundCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compoundCode_ = s; return s; @@ -617,6 +664,8 @@ public java.lang.String getCompoundCode() { } } /** + * + * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -624,15 +673,14 @@ public java.lang.String getCompoundCode() {
      * 
* * string compound_code = 2; + * * @return The bytes for compoundCode. */ - public com.google.protobuf.ByteString - getCompoundCodeBytes() { + public com.google.protobuf.ByteString getCompoundCodeBytes() { java.lang.Object ref = compoundCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compoundCode_ = b; return b; } else { @@ -640,6 +688,8 @@ public java.lang.String getCompoundCode() { } } /** + * + * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -647,20 +697,22 @@ public java.lang.String getCompoundCode() {
      * 
* * string compound_code = 2; + * * @param value The compoundCode to set. * @return This builder for chaining. */ - public Builder setCompoundCode( - java.lang.String value) { + public Builder setCompoundCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compoundCode_ = value; onChanged(); return this; } /** + * + * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -668,15 +720,18 @@ public Builder setCompoundCode(
      * 
* * string compound_code = 2; + * * @return This builder for chaining. */ public Builder clearCompoundCode() { - + compoundCode_ = getDefaultInstance().getCompoundCode(); onChanged(); return this; } /** + * + * *
      * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
      * the suffix of the global code and replacing the prefix with a formatted
@@ -684,23 +739,23 @@ public Builder clearCompoundCode() {
      * 
* * string compound_code = 2; + * * @param value The bytes for compoundCode to set. * @return This builder for chaining. */ - public Builder setCompoundCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCompoundCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compoundCode_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -710,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.PlusCode) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.PlusCode) private static final com.google.maps.addressvalidation.v1.PlusCode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.PlusCode(); } @@ -724,27 +779,27 @@ public static com.google.maps.addressvalidation.v1.PlusCode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlusCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlusCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -759,6 +814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.PlusCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java similarity index 64% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java index 31a22d34b8c4..72d52ddd6f37 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/PlusCodeOrBuilder.java @@ -1,35 +1,58 @@ +/* + * 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/geocode.proto package com.google.maps.addressvalidation.v1; -public interface PlusCodeOrBuilder extends +public interface PlusCodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.PlusCode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; + * * @return The globalCode. */ java.lang.String getGlobalCode(); /** + * + * *
    * Place's global (full) code, such as "9FWM33GV+HQ", representing an
    * 1/8000 by 1/8000 degree area (~14 by 14 meters).
    * 
* * string global_code = 1; + * * @return The bytes for globalCode. */ - com.google.protobuf.ByteString - getGlobalCodeBytes(); + com.google.protobuf.ByteString getGlobalCodeBytes(); /** + * + * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -37,10 +60,13 @@ public interface PlusCodeOrBuilder extends
    * 
* * string compound_code = 2; + * * @return The compoundCode. */ java.lang.String getCompoundCode(); /** + * + * *
    * Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
    * the suffix of the global code and replacing the prefix with a formatted
@@ -48,8 +74,8 @@ public interface PlusCodeOrBuilder extends
    * 
* * string compound_code = 2; + * * @return The bytes for compoundCode. */ - com.google.protobuf.ByteString - getCompoundCodeBytes(); + com.google.protobuf.ByteString getCompoundCodeBytes(); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java similarity index 64% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java index 7c112f0e5208..73c52e91d11f 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequest.java @@ -1,24 +1,43 @@ +/* + * 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; /** + * + * *
  * The request for sending validation feedback.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest} */ -public final class ProvideValidationFeedbackRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvideValidationFeedbackRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) ProvideValidationFeedbackRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvideValidationFeedbackRequest.newBuilder() to construct. - private ProvideValidationFeedbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvideValidationFeedbackRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvideValidationFeedbackRequest() { conclusion_ = 0; responseId_ = ""; @@ -26,40 +45,45 @@ private ProvideValidationFeedbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvideValidationFeedbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); } /** + * + * *
    * The possible final outcomes of the sequence of address validation requests
    * needed to validate an address.
    * 
* - * Protobuf enum {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion} + * Protobuf enum {@code + * google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion} */ - public enum ValidationConclusion - implements com.google.protobuf.ProtocolMessageEnum { + public enum ValidationConclusion implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * This value is unused.
      * If the `ProvideValidationFeedbackRequest.conclusion` field is set to
@@ -71,6 +95,8 @@ public enum ValidationConclusion
      */
     VALIDATION_CONCLUSION_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The version of the address returned by the Address Validation API was
      * used for the transaction.
@@ -80,6 +106,8 @@ public enum ValidationConclusion
      */
     VALIDATED_VERSION_USED(1),
     /**
+     *
+     *
      * 
      * The version of the address provided by the user was used for the
      * transaction
@@ -89,6 +117,8 @@ public enum ValidationConclusion
      */
     USER_VERSION_USED(2),
     /**
+     *
+     *
      * 
      * A version of the address that was entered after the last validation
      * attempt but that was not re-validated was used for the transaction.
@@ -98,6 +128,8 @@ public enum ValidationConclusion
      */
     UNVALIDATED_VERSION_USED(3),
     /**
+     *
+     *
      * 
      * The transaction was abandoned and the address was not used.
      * 
@@ -109,6 +141,8 @@ public enum ValidationConclusion ; /** + * + * *
      * This value is unused.
      * If the `ProvideValidationFeedbackRequest.conclusion` field is set to
@@ -120,6 +154,8 @@ public enum ValidationConclusion
      */
     public static final int VALIDATION_CONCLUSION_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The version of the address returned by the Address Validation API was
      * used for the transaction.
@@ -129,6 +165,8 @@ public enum ValidationConclusion
      */
     public static final int VALIDATED_VERSION_USED_VALUE = 1;
     /**
+     *
+     *
      * 
      * The version of the address provided by the user was used for the
      * transaction
@@ -138,6 +176,8 @@ public enum ValidationConclusion
      */
     public static final int USER_VERSION_USED_VALUE = 2;
     /**
+     *
+     *
      * 
      * A version of the address that was entered after the last validation
      * attempt but that was not re-validated was used for the transaction.
@@ -147,6 +187,8 @@ public enum ValidationConclusion
      */
     public static final int UNVALIDATED_VERSION_USED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The transaction was abandoned and the address was not used.
      * 
@@ -155,7 +197,6 @@ public enum ValidationConclusion */ public static final int UNUSED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,12 +221,18 @@ public static ValidationConclusion valueOf(int value) { */ public static ValidationConclusion forNumber(int value) { switch (value) { - case 0: return VALIDATION_CONCLUSION_UNSPECIFIED; - case 1: return VALIDATED_VERSION_USED; - case 2: return USER_VERSION_USED; - case 3: return UNVALIDATED_VERSION_USED; - case 4: return UNUSED; - default: return null; + case 0: + return VALIDATION_CONCLUSION_UNSPECIFIED; + case 1: + return VALIDATED_VERSION_USED; + case 2: + return USER_VERSION_USED; + case 3: + return UNVALIDATED_VERSION_USED; + case 4: + return UNUSED; + default: + return null; } } @@ -193,29 +240,31 @@ public static ValidationConclusion forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValidationConclusion> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValidationConclusion findValueByNumber(int number) { - return ValidationConclusion.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValidationConclusion findValueByNumber(int number) { + return ValidationConclusion.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final ValidationConclusion[] VALUES = values(); @@ -223,8 +272,7 @@ public ValidationConclusion findValueByNumber(int number) { public static ValidationConclusion valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,37 +292,58 @@ private ValidationConclusion(int value) { public static final int CONCLUSION_FIELD_NUMBER = 1; private int conclusion_; /** + * + * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for conclusion. */ - @java.lang.Override public int getConclusionValue() { + @java.lang.Override + public int getConclusionValue() { return conclusion_; } /** + * + * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conclusion. */ - @java.lang.Override public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion() { + @java.lang.Override + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + getConclusion() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion result = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.valueOf(conclusion_); - return result == null ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + result = + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion.valueOf(conclusion_); + return result == null + ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + .UNRECOGNIZED + : result; } public static final int RESPONSE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object responseId_; /** + * + * *
    * Required. The ID of the response that this feedback is for. This should be
    * the
@@ -283,6 +352,7 @@ private ValidationConclusion(int value) {
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The responseId. */ @java.lang.Override @@ -291,14 +361,15 @@ public java.lang.String getResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; } } /** + * + * *
    * Required. The ID of the response that this feedback is for. This should be
    * the
@@ -307,16 +378,15 @@ public java.lang.String getResponseId() {
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for responseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponseIdBytes() { + public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responseId_ = b; return b; } else { @@ -325,6 +395,7 @@ public java.lang.String getResponseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,9 +407,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (conclusion_ != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (conclusion_ + != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED + .getNumber()) { output.writeEnum(1, conclusion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { @@ -353,9 +426,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (conclusion_ != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, conclusion_); + if (conclusion_ + != com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion.VALIDATION_CONCLUSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, conclusion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, responseId_); @@ -368,16 +443,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other = (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) obj; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other = + (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) obj; if (conclusion_ != other.conclusion_) return false; - if (!getResponseId() - .equals(other.getResponseId())) return false; + if (!getResponseId().equals(other.getResponseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,129 +474,138 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest prototype) { + + public static Builder newBuilder( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for sending validation feedback.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.Builder.class); } - // Construct using com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.newBuilder() - private Builder() { + // Construct using + // com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -533,14 +617,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; } @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstanceForType() { - return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance(); + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + getDefaultInstanceForType() { + return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .getDefaultInstance(); } @java.lang.Override @@ -554,7 +640,8 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest bui @java.lang.Override public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest buildPartial() { - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest result = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(this); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest result = + new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(this); result.conclusion_ = conclusion_; result.responseId_ = responseId_; onBuilt(); @@ -565,46 +652,51 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) { - return mergeFrom((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest)other); + return mergeFrom( + (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other) { - if (other == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest other) { + if (other + == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .getDefaultInstance()) return this; if (other.conclusion_ != 0) { setConclusionValue(other.getConclusionValue()); } @@ -638,22 +730,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - conclusion_ = input.readEnum(); + case 8: + { + conclusion_ = input.readEnum(); - break; - } // case 8 - case 18: { - responseId_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + responseId_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,83 +761,119 @@ public Builder mergeFrom( private int conclusion_ = 0; /** + * + * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for conclusion. */ - @java.lang.Override public int getConclusionValue() { + @java.lang.Override + public int getConclusionValue() { return conclusion_; } /** + * + * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for conclusion to set. * @return This builder for chaining. */ public Builder setConclusionValue(int value) { - + conclusion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conclusion. */ @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion() { + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion + getConclusion() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion result = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.valueOf(conclusion_); - return result == null ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + result = + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion.valueOf(conclusion_); + return result == null + ? com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + .ValidationConclusion.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The conclusion to set. * @return This builder for chaining. */ - public Builder setConclusion(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion value) { + public Builder setConclusion( + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + value) { if (value == null) { throw new NullPointerException(); } - + conclusion_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The outcome of the sequence of validation attempts.
      * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
      * `INVALID_ARGUMENT` error will be returned.
      * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearConclusion() { - + conclusion_ = 0; onChanged(); return this; @@ -750,6 +881,8 @@ public Builder clearConclusion() { private java.lang.Object responseId_ = ""; /** + * + * *
      * Required. The ID of the response that this feedback is for. This should be
      * the
@@ -758,13 +891,13 @@ public Builder clearConclusion() {
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; @@ -773,6 +906,8 @@ public java.lang.String getResponseId() { } } /** + * + * *
      * Required. The ID of the response that this feedback is for. This should be
      * the
@@ -781,15 +916,14 @@ public java.lang.String getResponseId() {
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for responseId. */ - public com.google.protobuf.ByteString - getResponseIdBytes() { + public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responseId_ = b; return b; } else { @@ -797,6 +931,8 @@ public java.lang.String getResponseId() { } } /** + * + * *
      * Required. The ID of the response that this feedback is for. This should be
      * the
@@ -805,20 +941,22 @@ public java.lang.String getResponseId() {
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The responseId to set. * @return This builder for chaining. */ - public Builder setResponseId( - java.lang.String value) { + public Builder setResponseId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responseId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the response that this feedback is for. This should be
      * the
@@ -827,15 +965,18 @@ public Builder setResponseId(
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResponseId() { - + responseId_ = getDefaultInstance().getResponseId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the response that this feedback is for. This should be
      * the
@@ -844,23 +985,23 @@ public Builder clearResponseId() {
      * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for responseId to set. * @return This builder for chaining. */ - public Builder setResponseIdBytes( - com.google.protobuf.ByteString value) { + public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,41 +1011,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) - private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest DEFAULT_INSTANCE; + private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest(); } - public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstance() { + public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvideValidationFeedbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvideValidationFeedbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,9 +1059,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest getDefaultInstanceForType() { + public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java index cc21b948ea69..a18b726c88f5 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackRequestOrBuilder.java @@ -1,36 +1,65 @@ +/* + * 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 ProvideValidationFeedbackRequestOrBuilder extends +public interface ProvideValidationFeedbackRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for conclusion. */ int getConclusionValue(); /** + * + * *
    * Required. The outcome of the sequence of validation attempts.
    * If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an
    * `INVALID_ARGUMENT` error will be returned.
    * 
* - * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion conclusion = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conclusion. */ - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion getConclusion(); + com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion + getConclusion(); /** + * + * *
    * Required. The ID of the response that this feedback is for. This should be
    * the
@@ -39,10 +68,13 @@ public interface ProvideValidationFeedbackRequestOrBuilder extends
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The responseId. */ java.lang.String getResponseId(); /** + * + * *
    * Required. The ID of the response that this feedback is for. This should be
    * the
@@ -51,8 +83,8 @@ public interface ProvideValidationFeedbackRequestOrBuilder extends
    * 
* * string response_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for responseId. */ - com.google.protobuf.ByteString - getResponseIdBytes(); + com.google.protobuf.ByteString getResponseIdBytes(); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java similarity index 57% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java index b4aa21fbedd7..8eaf37bffd24 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponse.java @@ -1,9 +1,26 @@ +/* + * 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; /** + * + * *
  * The response for validation feedback.
  * The response is empty if the feedback is sent successfully.
@@ -11,44 +28,47 @@
  *
  * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse}
  */
-public final class ProvideValidationFeedbackResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ProvideValidationFeedbackResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
     ProvideValidationFeedbackResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ProvideValidationFeedbackResponse.newBuilder() to construct.
-  private ProvideValidationFeedbackResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ProvideValidationFeedbackResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ProvideValidationFeedbackResponse() {
-  }
+
+  private ProvideValidationFeedbackResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ProvideValidationFeedbackResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
+        .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
+    return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
+        .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
+            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class,
+            com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -60,8 +80,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -79,12 +98,13 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other = (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) obj;
+    com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other =
+        (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -103,96 +123,105 @@ public int hashCode() {
   }
 
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for validation feedback.
    * The response is empty if the feedback is sent successfully.
@@ -200,33 +229,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
       com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
+          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
+          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
+              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class,
+              com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.Builder.class);
     }
 
-    // Construct using com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -234,19 +263,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.addressvalidation.v1.AddressValidationServiceProto
+          .internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstanceForType() {
-      return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance();
+    public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+        getDefaultInstanceForType() {
+      return com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse build() {
-      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result = buildPartial();
+      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -255,7 +287,8 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse bu
 
     @java.lang.Override
     public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse buildPartial() {
-      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse(this);
+      com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse result =
+          new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse(this);
       onBuilt();
       return result;
     }
@@ -264,46 +297,51 @@ public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse bu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) {
-        return mergeFrom((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)other);
+        return mergeFrom(
+            (com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other) {
-      if (other == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse other) {
+      if (other
+          == com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+              .getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -330,12 +368,13 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -345,9 +384,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -357,41 +396,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
-  private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse DEFAULT_INSTANCE;
+  private static final com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse();
   }
 
-  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstance() {
+  public static com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ProvideValidationFeedbackResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ProvideValidationFeedbackResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -403,9 +444,8 @@ public com.google.protobuf.Parser getParserFo
   }
 
   @java.lang.Override
-  public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse getDefaultInstanceForType() {
+  public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java
new file mode 100644
index 000000000000..6dfeb035ecdd
--- /dev/null
+++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * 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 ProvideValidationFeedbackResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
similarity index 70%
rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
index c8c7a2135e03..abcf1c9e1d37 100644
--- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
+++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddress.java
@@ -1,24 +1,42 @@
+/*
+ * 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/usps_data.proto
 
 package com.google.maps.addressvalidation.v1;
 
 /**
+ *
+ *
  * 
  * USPS representation of a US address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsAddress} */ -public final class UspsAddress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UspsAddress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.UspsAddress) UspsAddressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UspsAddress.newBuilder() to construct. private UspsAddress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UspsAddress() { firstAddressLine_ = ""; firm_ = ""; @@ -33,37 +51,41 @@ private UspsAddress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UspsAddress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsAddress.class, com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); + com.google.maps.addressvalidation.v1.UspsAddress.class, + com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); } public static final int FIRST_ADDRESS_LINE_FIELD_NUMBER = 1; private volatile java.lang.Object firstAddressLine_; /** + * + * *
    * First address line.
    * 
* * string first_address_line = 1; + * * @return The firstAddressLine. */ @java.lang.Override @@ -72,29 +94,29 @@ public java.lang.String getFirstAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstAddressLine_ = s; return s; } } /** + * + * *
    * First address line.
    * 
* * string first_address_line = 1; + * * @return The bytes for firstAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirstAddressLineBytes() { + public com.google.protobuf.ByteString getFirstAddressLineBytes() { java.lang.Object ref = firstAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firstAddressLine_ = b; return b; } else { @@ -105,11 +127,14 @@ public java.lang.String getFirstAddressLine() { public static final int FIRM_FIELD_NUMBER = 2; private volatile java.lang.Object firm_; /** + * + * *
    * Firm name.
    * 
* * string firm = 2; + * * @return The firm. */ @java.lang.Override @@ -118,29 +143,29 @@ public java.lang.String getFirm() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firm_ = s; return s; } } /** + * + * *
    * Firm name.
    * 
* * string firm = 2; + * * @return The bytes for firm. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirmBytes() { + public com.google.protobuf.ByteString getFirmBytes() { java.lang.Object ref = firm_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firm_ = b; return b; } else { @@ -151,11 +176,14 @@ public java.lang.String getFirm() { public static final int SECOND_ADDRESS_LINE_FIELD_NUMBER = 3; private volatile java.lang.Object secondAddressLine_; /** + * + * *
    * Second address line.
    * 
* * string second_address_line = 3; + * * @return The secondAddressLine. */ @java.lang.Override @@ -164,29 +192,29 @@ public java.lang.String getSecondAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondAddressLine_ = s; return s; } } /** + * + * *
    * Second address line.
    * 
* * string second_address_line = 3; + * * @return The bytes for secondAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecondAddressLineBytes() { + public com.google.protobuf.ByteString getSecondAddressLineBytes() { java.lang.Object ref = secondAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secondAddressLine_ = b; return b; } else { @@ -197,11 +225,14 @@ public java.lang.String getSecondAddressLine() { public static final int URBANIZATION_FIELD_NUMBER = 4; private volatile java.lang.Object urbanization_; /** + * + * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; + * * @return The urbanization. */ @java.lang.Override @@ -210,29 +241,29 @@ public java.lang.String getUrbanization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); urbanization_ = s; return s; } } /** + * + * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; + * * @return The bytes for urbanization. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrbanizationBytes() { + public com.google.protobuf.ByteString getUrbanizationBytes() { java.lang.Object ref = urbanization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); urbanization_ = b; return b; } else { @@ -243,11 +274,14 @@ public java.lang.String getUrbanization() { public static final int CITY_STATE_ZIP_ADDRESS_LINE_FIELD_NUMBER = 5; private volatile java.lang.Object cityStateZipAddressLine_; /** + * + * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; + * * @return The cityStateZipAddressLine. */ @java.lang.Override @@ -256,29 +290,29 @@ public java.lang.String getCityStateZipAddressLine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cityStateZipAddressLine_ = s; return s; } } /** + * + * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; + * * @return The bytes for cityStateZipAddressLine. */ @java.lang.Override - public com.google.protobuf.ByteString - getCityStateZipAddressLineBytes() { + public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { java.lang.Object ref = cityStateZipAddressLine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cityStateZipAddressLine_ = b; return b; } else { @@ -289,11 +323,14 @@ public java.lang.String getCityStateZipAddressLine() { public static final int CITY_FIELD_NUMBER = 6; private volatile java.lang.Object city_; /** + * + * *
    * City name.
    * 
* * string city = 6; + * * @return The city. */ @java.lang.Override @@ -302,29 +339,29 @@ public java.lang.String getCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); city_ = s; return s; } } /** + * + * *
    * City name.
    * 
* * string city = 6; + * * @return The bytes for city. */ @java.lang.Override - public com.google.protobuf.ByteString - getCityBytes() { + public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); city_ = b; return b; } else { @@ -335,11 +372,14 @@ public java.lang.String getCity() { public static final int STATE_FIELD_NUMBER = 7; private volatile java.lang.Object state_; /** + * + * *
    * 2 letter state code.
    * 
* * string state = 7; + * * @return The state. */ @java.lang.Override @@ -348,29 +388,29 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
    * 2 letter state code.
    * 
* * string state = 7; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -381,11 +421,14 @@ public java.lang.String getState() { public static final int ZIP_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object zipCode_; /** + * + * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; + * * @return The zipCode. */ @java.lang.Override @@ -394,29 +437,29 @@ public java.lang.String getZipCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCode_ = s; return s; } } /** + * + * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; + * * @return The bytes for zipCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getZipCodeBytes() { + public com.google.protobuf.ByteString getZipCodeBytes() { java.lang.Object ref = zipCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zipCode_ = b; return b; } else { @@ -427,11 +470,14 @@ public java.lang.String getZipCode() { public static final int ZIP_CODE_EXTENSION_FIELD_NUMBER = 9; private volatile java.lang.Object zipCodeExtension_; /** + * + * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; + * * @return The zipCodeExtension. */ @java.lang.Override @@ -440,29 +486,29 @@ public java.lang.String getZipCodeExtension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCodeExtension_ = s; return s; } } /** + * + * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; + * * @return The bytes for zipCodeExtension. */ @java.lang.Override - public com.google.protobuf.ByteString - getZipCodeExtensionBytes() { + public com.google.protobuf.ByteString getZipCodeExtensionBytes() { java.lang.Object ref = zipCodeExtension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zipCodeExtension_ = b; return b; } else { @@ -471,6 +517,7 @@ public java.lang.String getZipCodeExtension() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +529,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstAddressLine_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firstAddressLine_); } @@ -555,31 +601,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsAddress)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.UspsAddress other = (com.google.maps.addressvalidation.v1.UspsAddress) obj; - - if (!getFirstAddressLine() - .equals(other.getFirstAddressLine())) return false; - if (!getFirm() - .equals(other.getFirm())) return false; - if (!getSecondAddressLine() - .equals(other.getSecondAddressLine())) return false; - if (!getUrbanization() - .equals(other.getUrbanization())) return false; - if (!getCityStateZipAddressLine() - .equals(other.getCityStateZipAddressLine())) return false; - if (!getCity() - .equals(other.getCity())) return false; - if (!getState() - .equals(other.getState())) return false; - if (!getZipCode() - .equals(other.getZipCode())) return false; - if (!getZipCodeExtension() - .equals(other.getZipCodeExtension())) return false; + com.google.maps.addressvalidation.v1.UspsAddress other = + (com.google.maps.addressvalidation.v1.UspsAddress) obj; + + if (!getFirstAddressLine().equals(other.getFirstAddressLine())) return false; + if (!getFirm().equals(other.getFirm())) return false; + if (!getSecondAddressLine().equals(other.getSecondAddressLine())) return false; + if (!getUrbanization().equals(other.getUrbanization())) return false; + if (!getCityStateZipAddressLine().equals(other.getCityStateZipAddressLine())) return false; + if (!getCity().equals(other.getCity())) return false; + if (!getState().equals(other.getState())) return false; + if (!getZipCode().equals(other.getZipCode())) return false; + if (!getZipCodeExtension().equals(other.getZipCodeExtension())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -614,130 +652,136 @@ public int hashCode() { return hash; } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsAddress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsAddress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * USPS representation of a US address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsAddress} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsAddress) com.google.maps.addressvalidation.v1.UspsAddressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsAddress.class, com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); + com.google.maps.addressvalidation.v1.UspsAddress.class, + com.google.maps.addressvalidation.v1.UspsAddress.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.UspsAddress.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +807,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; } @java.lang.Override @@ -784,7 +828,8 @@ public com.google.maps.addressvalidation.v1.UspsAddress build() { @java.lang.Override public com.google.maps.addressvalidation.v1.UspsAddress buildPartial() { - com.google.maps.addressvalidation.v1.UspsAddress result = new com.google.maps.addressvalidation.v1.UspsAddress(this); + com.google.maps.addressvalidation.v1.UspsAddress result = + new com.google.maps.addressvalidation.v1.UspsAddress(this); result.firstAddressLine_ = firstAddressLine_; result.firm_ = firm_; result.secondAddressLine_ = secondAddressLine_; @@ -802,38 +847,39 @@ public com.google.maps.addressvalidation.v1.UspsAddress buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.UspsAddress) { - return mergeFrom((com.google.maps.addressvalidation.v1.UspsAddress)other); + return mergeFrom((com.google.maps.addressvalidation.v1.UspsAddress) other); } else { super.mergeFrom(other); return this; @@ -841,7 +887,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.UspsAddress other) { - if (other == com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) + return this; if (!other.getFirstAddressLine().isEmpty()) { firstAddressLine_ = other.firstAddressLine_; onChanged(); @@ -904,57 +951,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firstAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - firm_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - secondAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - urbanization_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - cityStateZipAddressLine_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - city_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - state_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - zipCode_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - zipCodeExtension_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firstAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + firm_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + secondAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + urbanization_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + cityStateZipAddressLine_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + city_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + state_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + zipCode_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + zipCodeExtension_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -967,18 +1024,20 @@ public Builder mergeFrom( private java.lang.Object firstAddressLine_ = ""; /** + * + * *
      * First address line.
      * 
* * string first_address_line = 1; + * * @return The firstAddressLine. */ public java.lang.String getFirstAddressLine() { java.lang.Object ref = firstAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstAddressLine_ = s; return s; @@ -987,20 +1046,21 @@ public java.lang.String getFirstAddressLine() { } } /** + * + * *
      * First address line.
      * 
* * string first_address_line = 1; + * * @return The bytes for firstAddressLine. */ - public com.google.protobuf.ByteString - getFirstAddressLineBytes() { + public com.google.protobuf.ByteString getFirstAddressLineBytes() { java.lang.Object ref = firstAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firstAddressLine_ = b; return b; } else { @@ -1008,54 +1068,61 @@ public java.lang.String getFirstAddressLine() { } } /** + * + * *
      * First address line.
      * 
* * string first_address_line = 1; + * * @param value The firstAddressLine to set. * @return This builder for chaining. */ - public Builder setFirstAddressLine( - java.lang.String value) { + public Builder setFirstAddressLine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firstAddressLine_ = value; onChanged(); return this; } /** + * + * *
      * First address line.
      * 
* * string first_address_line = 1; + * * @return This builder for chaining. */ public Builder clearFirstAddressLine() { - + firstAddressLine_ = getDefaultInstance().getFirstAddressLine(); onChanged(); return this; } /** + * + * *
      * First address line.
      * 
* * string first_address_line = 1; + * * @param value The bytes for firstAddressLine to set. * @return This builder for chaining. */ - public Builder setFirstAddressLineBytes( - com.google.protobuf.ByteString value) { + public Builder setFirstAddressLineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firstAddressLine_ = value; onChanged(); return this; @@ -1063,18 +1130,20 @@ public Builder setFirstAddressLineBytes( private java.lang.Object firm_ = ""; /** + * + * *
      * Firm name.
      * 
* * string firm = 2; + * * @return The firm. */ public java.lang.String getFirm() { java.lang.Object ref = firm_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firm_ = s; return s; @@ -1083,20 +1152,21 @@ public java.lang.String getFirm() { } } /** + * + * *
      * Firm name.
      * 
* * string firm = 2; + * * @return The bytes for firm. */ - public com.google.protobuf.ByteString - getFirmBytes() { + public com.google.protobuf.ByteString getFirmBytes() { java.lang.Object ref = firm_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firm_ = b; return b; } else { @@ -1104,54 +1174,61 @@ public java.lang.String getFirm() { } } /** + * + * *
      * Firm name.
      * 
* * string firm = 2; + * * @param value The firm to set. * @return This builder for chaining. */ - public Builder setFirm( - java.lang.String value) { + public Builder setFirm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firm_ = value; onChanged(); return this; } /** + * + * *
      * Firm name.
      * 
* * string firm = 2; + * * @return This builder for chaining. */ public Builder clearFirm() { - + firm_ = getDefaultInstance().getFirm(); onChanged(); return this; } /** + * + * *
      * Firm name.
      * 
* * string firm = 2; + * * @param value The bytes for firm to set. * @return This builder for chaining. */ - public Builder setFirmBytes( - com.google.protobuf.ByteString value) { + public Builder setFirmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firm_ = value; onChanged(); return this; @@ -1159,18 +1236,20 @@ public Builder setFirmBytes( private java.lang.Object secondAddressLine_ = ""; /** + * + * *
      * Second address line.
      * 
* * string second_address_line = 3; + * * @return The secondAddressLine. */ public java.lang.String getSecondAddressLine() { java.lang.Object ref = secondAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondAddressLine_ = s; return s; @@ -1179,20 +1258,21 @@ public java.lang.String getSecondAddressLine() { } } /** + * + * *
      * Second address line.
      * 
* * string second_address_line = 3; + * * @return The bytes for secondAddressLine. */ - public com.google.protobuf.ByteString - getSecondAddressLineBytes() { + public com.google.protobuf.ByteString getSecondAddressLineBytes() { java.lang.Object ref = secondAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secondAddressLine_ = b; return b; } else { @@ -1200,54 +1280,61 @@ public java.lang.String getSecondAddressLine() { } } /** + * + * *
      * Second address line.
      * 
* * string second_address_line = 3; + * * @param value The secondAddressLine to set. * @return This builder for chaining. */ - public Builder setSecondAddressLine( - java.lang.String value) { + public Builder setSecondAddressLine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secondAddressLine_ = value; onChanged(); return this; } /** + * + * *
      * Second address line.
      * 
* * string second_address_line = 3; + * * @return This builder for chaining. */ public Builder clearSecondAddressLine() { - + secondAddressLine_ = getDefaultInstance().getSecondAddressLine(); onChanged(); return this; } /** + * + * *
      * Second address line.
      * 
* * string second_address_line = 3; + * * @param value The bytes for secondAddressLine to set. * @return This builder for chaining. */ - public Builder setSecondAddressLineBytes( - com.google.protobuf.ByteString value) { + public Builder setSecondAddressLineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secondAddressLine_ = value; onChanged(); return this; @@ -1255,18 +1342,20 @@ public Builder setSecondAddressLineBytes( private java.lang.Object urbanization_ = ""; /** + * + * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; + * * @return The urbanization. */ public java.lang.String getUrbanization() { java.lang.Object ref = urbanization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); urbanization_ = s; return s; @@ -1275,20 +1364,21 @@ public java.lang.String getUrbanization() { } } /** + * + * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; + * * @return The bytes for urbanization. */ - public com.google.protobuf.ByteString - getUrbanizationBytes() { + public com.google.protobuf.ByteString getUrbanizationBytes() { java.lang.Object ref = urbanization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); urbanization_ = b; return b; } else { @@ -1296,54 +1386,61 @@ public java.lang.String getUrbanization() { } } /** + * + * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; + * * @param value The urbanization to set. * @return This builder for chaining. */ - public Builder setUrbanization( - java.lang.String value) { + public Builder setUrbanization(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + urbanization_ = value; onChanged(); return this; } /** + * + * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; + * * @return This builder for chaining. */ public Builder clearUrbanization() { - + urbanization_ = getDefaultInstance().getUrbanization(); onChanged(); return this; } /** + * + * *
      * Puerto Rican urbanization name.
      * 
* * string urbanization = 4; + * * @param value The bytes for urbanization to set. * @return This builder for chaining. */ - public Builder setUrbanizationBytes( - com.google.protobuf.ByteString value) { + public Builder setUrbanizationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + urbanization_ = value; onChanged(); return this; @@ -1351,18 +1448,20 @@ public Builder setUrbanizationBytes( private java.lang.Object cityStateZipAddressLine_ = ""; /** + * + * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; + * * @return The cityStateZipAddressLine. */ public java.lang.String getCityStateZipAddressLine() { java.lang.Object ref = cityStateZipAddressLine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cityStateZipAddressLine_ = s; return s; @@ -1371,20 +1470,21 @@ public java.lang.String getCityStateZipAddressLine() { } } /** + * + * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; + * * @return The bytes for cityStateZipAddressLine. */ - public com.google.protobuf.ByteString - getCityStateZipAddressLineBytes() { + public com.google.protobuf.ByteString getCityStateZipAddressLineBytes() { java.lang.Object ref = cityStateZipAddressLine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cityStateZipAddressLine_ = b; return b; } else { @@ -1392,54 +1492,61 @@ public java.lang.String getCityStateZipAddressLine() { } } /** + * + * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; + * * @param value The cityStateZipAddressLine to set. * @return This builder for chaining. */ - public Builder setCityStateZipAddressLine( - java.lang.String value) { + public Builder setCityStateZipAddressLine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cityStateZipAddressLine_ = value; onChanged(); return this; } /** + * + * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; + * * @return This builder for chaining. */ public Builder clearCityStateZipAddressLine() { - + cityStateZipAddressLine_ = getDefaultInstance().getCityStateZipAddressLine(); onChanged(); return this; } /** + * + * *
      * City + state + postal code.
      * 
* * string city_state_zip_address_line = 5; + * * @param value The bytes for cityStateZipAddressLine to set. * @return This builder for chaining. */ - public Builder setCityStateZipAddressLineBytes( - com.google.protobuf.ByteString value) { + public Builder setCityStateZipAddressLineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cityStateZipAddressLine_ = value; onChanged(); return this; @@ -1447,18 +1554,20 @@ public Builder setCityStateZipAddressLineBytes( private java.lang.Object city_ = ""; /** + * + * *
      * City name.
      * 
* * string city = 6; + * * @return The city. */ public java.lang.String getCity() { java.lang.Object ref = city_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); city_ = s; return s; @@ -1467,20 +1576,21 @@ public java.lang.String getCity() { } } /** + * + * *
      * City name.
      * 
* * string city = 6; + * * @return The bytes for city. */ - public com.google.protobuf.ByteString - getCityBytes() { + public com.google.protobuf.ByteString getCityBytes() { java.lang.Object ref = city_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); city_ = b; return b; } else { @@ -1488,54 +1598,61 @@ public java.lang.String getCity() { } } /** + * + * *
      * City name.
      * 
* * string city = 6; + * * @param value The city to set. * @return This builder for chaining. */ - public Builder setCity( - java.lang.String value) { + public Builder setCity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + city_ = value; onChanged(); return this; } /** + * + * *
      * City name.
      * 
* * string city = 6; + * * @return This builder for chaining. */ public Builder clearCity() { - + city_ = getDefaultInstance().getCity(); onChanged(); return this; } /** + * + * *
      * City name.
      * 
* * string city = 6; + * * @param value The bytes for city to set. * @return This builder for chaining. */ - public Builder setCityBytes( - com.google.protobuf.ByteString value) { + public Builder setCityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + city_ = value; onChanged(); return this; @@ -1543,18 +1660,20 @@ public Builder setCityBytes( private java.lang.Object state_ = ""; /** + * + * *
      * 2 letter state code.
      * 
* * string state = 7; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -1563,20 +1682,21 @@ public java.lang.String getState() { } } /** + * + * *
      * 2 letter state code.
      * 
* * string state = 7; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1584,54 +1704,61 @@ public java.lang.String getState() { } } /** + * + * *
      * 2 letter state code.
      * 
* * string state = 7; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { + public Builder setState(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** + * + * *
      * 2 letter state code.
      * 
* * string state = 7; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** + * + * *
      * 2 letter state code.
      * 
* * string state = 7; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { + public Builder setStateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; onChanged(); return this; @@ -1639,18 +1766,20 @@ public Builder setStateBytes( private java.lang.Object zipCode_ = ""; /** + * + * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; + * * @return The zipCode. */ public java.lang.String getZipCode() { java.lang.Object ref = zipCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCode_ = s; return s; @@ -1659,20 +1788,21 @@ public java.lang.String getZipCode() { } } /** + * + * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; + * * @return The bytes for zipCode. */ - public com.google.protobuf.ByteString - getZipCodeBytes() { + public com.google.protobuf.ByteString getZipCodeBytes() { java.lang.Object ref = zipCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zipCode_ = b; return b; } else { @@ -1680,54 +1810,61 @@ public java.lang.String getZipCode() { } } /** + * + * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; + * * @param value The zipCode to set. * @return This builder for chaining. */ - public Builder setZipCode( - java.lang.String value) { + public Builder setZipCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zipCode_ = value; onChanged(); return this; } /** + * + * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; + * * @return This builder for chaining. */ public Builder clearZipCode() { - + zipCode_ = getDefaultInstance().getZipCode(); onChanged(); return this; } /** + * + * *
      * Postal code e.g. 10009.
      * 
* * string zip_code = 8; + * * @param value The bytes for zipCode to set. * @return This builder for chaining. */ - public Builder setZipCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setZipCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zipCode_ = value; onChanged(); return this; @@ -1735,18 +1872,20 @@ public Builder setZipCodeBytes( private java.lang.Object zipCodeExtension_ = ""; /** + * + * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; + * * @return The zipCodeExtension. */ public java.lang.String getZipCodeExtension() { java.lang.Object ref = zipCodeExtension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zipCodeExtension_ = s; return s; @@ -1755,20 +1894,21 @@ public java.lang.String getZipCodeExtension() { } } /** + * + * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; + * * @return The bytes for zipCodeExtension. */ - public com.google.protobuf.ByteString - getZipCodeExtensionBytes() { + public com.google.protobuf.ByteString getZipCodeExtensionBytes() { java.lang.Object ref = zipCodeExtension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zipCodeExtension_ = b; return b; } else { @@ -1776,61 +1916,68 @@ public java.lang.String getZipCodeExtension() { } } /** + * + * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; + * * @param value The zipCodeExtension to set. * @return This builder for chaining. */ - public Builder setZipCodeExtension( - java.lang.String value) { + public Builder setZipCodeExtension(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zipCodeExtension_ = value; onChanged(); return this; } /** + * + * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; + * * @return This builder for chaining. */ public Builder clearZipCodeExtension() { - + zipCodeExtension_ = getDefaultInstance().getZipCodeExtension(); onChanged(); return this; } /** + * + * *
      * 4-digit postal code extension e.g. 5023.
      * 
* * string zip_code_extension = 9; + * * @param value The bytes for zipCodeExtension to set. * @return This builder for chaining. */ - public Builder setZipCodeExtensionBytes( - com.google.protobuf.ByteString value) { + public Builder setZipCodeExtensionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zipCodeExtension_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1840,12 +1987,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.UspsAddress) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.UspsAddress) private static final com.google.maps.addressvalidation.v1.UspsAddress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.UspsAddress(); } @@ -1854,27 +2001,27 @@ public static com.google.maps.addressvalidation.v1.UspsAddress getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UspsAddress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UspsAddress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1889,6 +2036,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.UspsAddress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java similarity index 69% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java index 6bbb0b800a93..785d1fe45efd 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsAddressOrBuilder.java @@ -1,189 +1,250 @@ +/* + * 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/usps_data.proto package com.google.maps.addressvalidation.v1; -public interface UspsAddressOrBuilder extends +public interface UspsAddressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.UspsAddress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * First address line.
    * 
* * string first_address_line = 1; + * * @return The firstAddressLine. */ java.lang.String getFirstAddressLine(); /** + * + * *
    * First address line.
    * 
* * string first_address_line = 1; + * * @return The bytes for firstAddressLine. */ - com.google.protobuf.ByteString - getFirstAddressLineBytes(); + com.google.protobuf.ByteString getFirstAddressLineBytes(); /** + * + * *
    * Firm name.
    * 
* * string firm = 2; + * * @return The firm. */ java.lang.String getFirm(); /** + * + * *
    * Firm name.
    * 
* * string firm = 2; + * * @return The bytes for firm. */ - com.google.protobuf.ByteString - getFirmBytes(); + com.google.protobuf.ByteString getFirmBytes(); /** + * + * *
    * Second address line.
    * 
* * string second_address_line = 3; + * * @return The secondAddressLine. */ java.lang.String getSecondAddressLine(); /** + * + * *
    * Second address line.
    * 
* * string second_address_line = 3; + * * @return The bytes for secondAddressLine. */ - com.google.protobuf.ByteString - getSecondAddressLineBytes(); + com.google.protobuf.ByteString getSecondAddressLineBytes(); /** + * + * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; + * * @return The urbanization. */ java.lang.String getUrbanization(); /** + * + * *
    * Puerto Rican urbanization name.
    * 
* * string urbanization = 4; + * * @return The bytes for urbanization. */ - com.google.protobuf.ByteString - getUrbanizationBytes(); + com.google.protobuf.ByteString getUrbanizationBytes(); /** + * + * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; + * * @return The cityStateZipAddressLine. */ java.lang.String getCityStateZipAddressLine(); /** + * + * *
    * City + state + postal code.
    * 
* * string city_state_zip_address_line = 5; + * * @return The bytes for cityStateZipAddressLine. */ - com.google.protobuf.ByteString - getCityStateZipAddressLineBytes(); + com.google.protobuf.ByteString getCityStateZipAddressLineBytes(); /** + * + * *
    * City name.
    * 
* * string city = 6; + * * @return The city. */ java.lang.String getCity(); /** + * + * *
    * City name.
    * 
* * string city = 6; + * * @return The bytes for city. */ - com.google.protobuf.ByteString - getCityBytes(); + com.google.protobuf.ByteString getCityBytes(); /** + * + * *
    * 2 letter state code.
    * 
* * string state = 7; + * * @return The state. */ java.lang.String getState(); /** + * + * *
    * 2 letter state code.
    * 
* * string state = 7; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); /** + * + * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; + * * @return The zipCode. */ java.lang.String getZipCode(); /** + * + * *
    * Postal code e.g. 10009.
    * 
* * string zip_code = 8; + * * @return The bytes for zipCode. */ - com.google.protobuf.ByteString - getZipCodeBytes(); + com.google.protobuf.ByteString getZipCodeBytes(); /** + * + * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; + * * @return The zipCodeExtension. */ java.lang.String getZipCodeExtension(); /** + * + * *
    * 4-digit postal code extension e.g. 5023.
    * 
* * string zip_code_extension = 9; + * * @return The bytes for zipCodeExtension. */ - com.google.protobuf.ByteString - getZipCodeExtensionBytes(); + com.google.protobuf.ByteString getZipCodeExtensionBytes(); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java similarity index 77% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java index 7f9b149c5fca..7a704173c994 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java @@ -1,24 +1,42 @@ +/* + * 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/usps_data.proto package com.google.maps.addressvalidation.v1; /** + * + * *
  * The USPS data for the address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsData} */ -public final class UspsData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UspsData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.UspsData) UspsDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UspsData.newBuilder() to construct. private UspsData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UspsData() { deliveryPointCode_ = ""; deliveryPointCheckDigit_ = ""; @@ -47,37 +65,41 @@ private UspsData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UspsData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsData.class, com.google.maps.addressvalidation.v1.UspsData.Builder.class); + com.google.maps.addressvalidation.v1.UspsData.class, + com.google.maps.addressvalidation.v1.UspsData.Builder.class); } public static final int STANDARDIZED_ADDRESS_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; /** + * + * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return Whether the standardizedAddress field is set. */ @java.lang.Override @@ -85,18 +107,25 @@ public boolean hasStandardizedAddress() { return standardizedAddress_ != null; } /** + * + * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return The standardizedAddress. */ @java.lang.Override public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { - return standardizedAddress_ == null ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; + return standardizedAddress_ == null + ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() + : standardizedAddress_; } /** + * + * *
    * USPS standardized address.
    * 
@@ -104,18 +133,22 @@ public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ @java.lang.Override - public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder() { + public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder + getStandardizedAddressOrBuilder() { return getStandardizedAddress(); } public static final int DELIVERY_POINT_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object deliveryPointCode_; /** + * + * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; + * * @return The deliveryPointCode. */ @java.lang.Override @@ -124,29 +157,29 @@ public java.lang.String getDeliveryPointCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCode_ = s; return s; } } /** + * + * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; + * * @return The bytes for deliveryPointCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeliveryPointCodeBytes() { + public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { java.lang.Object ref = deliveryPointCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deliveryPointCode_ = b; return b; } else { @@ -157,6 +190,8 @@ public java.lang.String getDeliveryPointCode() { public static final int DELIVERY_POINT_CHECK_DIGIT_FIELD_NUMBER = 3; private volatile java.lang.Object deliveryPointCheckDigit_; /** + * + * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -165,6 +200,7 @@ public java.lang.String getDeliveryPointCode() {
    * 
* * string delivery_point_check_digit = 3; + * * @return The deliveryPointCheckDigit. */ @java.lang.Override @@ -173,14 +209,15 @@ public java.lang.String getDeliveryPointCheckDigit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCheckDigit_ = s; return s; } } /** + * + * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -189,16 +226,15 @@ public java.lang.String getDeliveryPointCheckDigit() {
    * 
* * string delivery_point_check_digit = 3; + * * @return The bytes for deliveryPointCheckDigit. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeliveryPointCheckDigitBytes() { + public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { java.lang.Object ref = deliveryPointCheckDigit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deliveryPointCheckDigit_ = b; return b; } else { @@ -209,6 +245,8 @@ public java.lang.String getDeliveryPointCheckDigit() { public static final int DPV_CONFIRMATION_FIELD_NUMBER = 4; private volatile java.lang.Object dpvConfirmation_; /** + * + * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -221,6 +259,7 @@ public java.lang.String getDeliveryPointCheckDigit() {
    * 
* * string dpv_confirmation = 4; + * * @return The dpvConfirmation. */ @java.lang.Override @@ -229,14 +268,15 @@ public java.lang.String getDpvConfirmation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvConfirmation_ = s; return s; } } /** + * + * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -249,16 +289,15 @@ public java.lang.String getDpvConfirmation() {
    * 
* * string dpv_confirmation = 4; + * * @return The bytes for dpvConfirmation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDpvConfirmationBytes() { + public com.google.protobuf.ByteString getDpvConfirmationBytes() { java.lang.Object ref = dpvConfirmation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvConfirmation_ = b; return b; } else { @@ -269,6 +308,8 @@ public java.lang.String getDpvConfirmation() { public static final int DPV_FOOTNOTE_FIELD_NUMBER = 5; private volatile java.lang.Object dpvFootnote_; /** + * + * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -291,6 +332,7 @@ public java.lang.String getDpvConfirmation() {
    * 
* * string dpv_footnote = 5; + * * @return The dpvFootnote. */ @java.lang.Override @@ -299,14 +341,15 @@ public java.lang.String getDpvFootnote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvFootnote_ = s; return s; } } /** + * + * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -329,16 +372,15 @@ public java.lang.String getDpvFootnote() {
    * 
* * string dpv_footnote = 5; + * * @return The bytes for dpvFootnote. */ @java.lang.Override - public com.google.protobuf.ByteString - getDpvFootnoteBytes() { + public com.google.protobuf.ByteString getDpvFootnoteBytes() { java.lang.Object ref = dpvFootnote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvFootnote_ = b; return b; } else { @@ -349,6 +391,8 @@ public java.lang.String getDpvFootnote() { public static final int DPV_CMRA_FIELD_NUMBER = 6; private volatile java.lang.Object dpvCmra_; /** + * + * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -357,6 +401,7 @@ public java.lang.String getDpvFootnote() {
    * 
* * string dpv_cmra = 6; + * * @return The dpvCmra. */ @java.lang.Override @@ -365,14 +410,15 @@ public java.lang.String getDpvCmra() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvCmra_ = s; return s; } } /** + * + * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -381,16 +427,15 @@ public java.lang.String getDpvCmra() {
    * 
* * string dpv_cmra = 6; + * * @return The bytes for dpvCmra. */ @java.lang.Override - public com.google.protobuf.ByteString - getDpvCmraBytes() { + public com.google.protobuf.ByteString getDpvCmraBytes() { java.lang.Object ref = dpvCmra_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvCmra_ = b; return b; } else { @@ -401,6 +446,8 @@ public java.lang.String getDpvCmra() { public static final int DPV_VACANT_FIELD_NUMBER = 7; private volatile java.lang.Object dpvVacant_; /** + * + * *
    * Is this place vacant?
    * Returns a single character.
@@ -409,6 +456,7 @@ public java.lang.String getDpvCmra() {
    * 
* * string dpv_vacant = 7; + * * @return The dpvVacant. */ @java.lang.Override @@ -417,14 +465,15 @@ public java.lang.String getDpvVacant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvVacant_ = s; return s; } } /** + * + * *
    * Is this place vacant?
    * Returns a single character.
@@ -433,16 +482,15 @@ public java.lang.String getDpvVacant() {
    * 
* * string dpv_vacant = 7; + * * @return The bytes for dpvVacant. */ @java.lang.Override - public com.google.protobuf.ByteString - getDpvVacantBytes() { + public com.google.protobuf.ByteString getDpvVacantBytes() { java.lang.Object ref = dpvVacant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvVacant_ = b; return b; } else { @@ -453,6 +501,8 @@ public java.lang.String getDpvVacant() { public static final int DPV_NO_STAT_FIELD_NUMBER = 8; private volatile java.lang.Object dpvNoStat_; /** + * + * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -462,6 +512,7 @@ public java.lang.String getDpvVacant() {
    * 
* * string dpv_no_stat = 8; + * * @return The dpvNoStat. */ @java.lang.Override @@ -470,14 +521,15 @@ public java.lang.String getDpvNoStat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvNoStat_ = s; return s; } } /** + * + * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -487,16 +539,15 @@ public java.lang.String getDpvNoStat() {
    * 
* * string dpv_no_stat = 8; + * * @return The bytes for dpvNoStat. */ @java.lang.Override - public com.google.protobuf.ByteString - getDpvNoStatBytes() { + public com.google.protobuf.ByteString getDpvNoStatBytes() { java.lang.Object ref = dpvNoStat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvNoStat_ = b; return b; } else { @@ -507,6 +558,8 @@ public java.lang.String getDpvNoStat() { public static final int CARRIER_ROUTE_FIELD_NUMBER = 9; private volatile java.lang.Object carrierRoute_; /** + * + * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -520,6 +573,7 @@ public java.lang.String getDpvNoStat() {
    * 
* * string carrier_route = 9; + * * @return The carrierRoute. */ @java.lang.Override @@ -528,14 +582,15 @@ public java.lang.String getCarrierRoute() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRoute_ = s; return s; } } /** + * + * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -549,16 +604,15 @@ public java.lang.String getCarrierRoute() {
    * 
* * string carrier_route = 9; + * * @return The bytes for carrierRoute. */ @java.lang.Override - public com.google.protobuf.ByteString - getCarrierRouteBytes() { + public com.google.protobuf.ByteString getCarrierRouteBytes() { java.lang.Object ref = carrierRoute_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); carrierRoute_ = b; return b; } else { @@ -569,11 +623,14 @@ public java.lang.String getCarrierRoute() { public static final int CARRIER_ROUTE_INDICATOR_FIELD_NUMBER = 10; private volatile java.lang.Object carrierRouteIndicator_; /** + * + * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; + * * @return The carrierRouteIndicator. */ @java.lang.Override @@ -582,29 +639,29 @@ public java.lang.String getCarrierRouteIndicator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRouteIndicator_ = s; return s; } } /** + * + * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; + * * @return The bytes for carrierRouteIndicator. */ @java.lang.Override - public com.google.protobuf.ByteString - getCarrierRouteIndicatorBytes() { + public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); carrierRouteIndicator_ = b; return b; } else { @@ -615,12 +672,15 @@ public java.lang.String getCarrierRouteIndicator() { public static final int EWS_NO_MATCH_FIELD_NUMBER = 11; private boolean ewsNoMatch_; /** + * + * *
    * The delivery address is matchable, but the EWS file indicates that an exact
    * match will be available soon.
    * 
* * bool ews_no_match = 11; + * * @return The ewsNoMatch. */ @java.lang.Override @@ -631,11 +691,14 @@ public boolean getEwsNoMatch() { public static final int POST_OFFICE_CITY_FIELD_NUMBER = 12; private volatile java.lang.Object postOfficeCity_; /** + * + * *
    * Main post office city.
    * 
* * string post_office_city = 12; + * * @return The postOfficeCity. */ @java.lang.Override @@ -644,29 +707,29 @@ public java.lang.String getPostOfficeCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeCity_ = s; return s; } } /** + * + * *
    * Main post office city.
    * 
* * string post_office_city = 12; + * * @return The bytes for postOfficeCity. */ @java.lang.Override - public com.google.protobuf.ByteString - getPostOfficeCityBytes() { + public com.google.protobuf.ByteString getPostOfficeCityBytes() { java.lang.Object ref = postOfficeCity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); postOfficeCity_ = b; return b; } else { @@ -677,11 +740,14 @@ public java.lang.String getPostOfficeCity() { public static final int POST_OFFICE_STATE_FIELD_NUMBER = 13; private volatile java.lang.Object postOfficeState_; /** + * + * *
    * Main post office state.
    * 
* * string post_office_state = 13; + * * @return The postOfficeState. */ @java.lang.Override @@ -690,29 +756,29 @@ public java.lang.String getPostOfficeState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeState_ = s; return s; } } /** + * + * *
    * Main post office state.
    * 
* * string post_office_state = 13; + * * @return The bytes for postOfficeState. */ @java.lang.Override - public com.google.protobuf.ByteString - getPostOfficeStateBytes() { + public com.google.protobuf.ByteString getPostOfficeStateBytes() { java.lang.Object ref = postOfficeState_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); postOfficeState_ = b; return b; } else { @@ -723,11 +789,14 @@ public java.lang.String getPostOfficeState() { public static final int ABBREVIATED_CITY_FIELD_NUMBER = 14; private volatile java.lang.Object abbreviatedCity_; /** + * + * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; + * * @return The abbreviatedCity. */ @java.lang.Override @@ -736,29 +805,29 @@ public java.lang.String getAbbreviatedCity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); abbreviatedCity_ = s; return s; } } /** + * + * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; + * * @return The bytes for abbreviatedCity. */ @java.lang.Override - public com.google.protobuf.ByteString - getAbbreviatedCityBytes() { + public com.google.protobuf.ByteString getAbbreviatedCityBytes() { java.lang.Object ref = abbreviatedCity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); abbreviatedCity_ = b; return b; } else { @@ -769,11 +838,14 @@ public java.lang.String getAbbreviatedCity() { public static final int FIPS_COUNTY_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object fipsCountyCode_; /** + * + * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; + * * @return The fipsCountyCode. */ @java.lang.Override @@ -782,29 +854,29 @@ public java.lang.String getFipsCountyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fipsCountyCode_ = s; return s; } } /** + * + * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; + * * @return The bytes for fipsCountyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getFipsCountyCodeBytes() { + public com.google.protobuf.ByteString getFipsCountyCodeBytes() { java.lang.Object ref = fipsCountyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fipsCountyCode_ = b; return b; } else { @@ -815,11 +887,14 @@ public java.lang.String getFipsCountyCode() { public static final int COUNTY_FIELD_NUMBER = 16; private volatile java.lang.Object county_; /** + * + * *
    * County name.
    * 
* * string county = 16; + * * @return The county. */ @java.lang.Override @@ -828,29 +903,29 @@ public java.lang.String getCounty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); county_ = s; return s; } } /** + * + * *
    * County name.
    * 
* * string county = 16; + * * @return The bytes for county. */ @java.lang.Override - public com.google.protobuf.ByteString - getCountyBytes() { + public com.google.protobuf.ByteString getCountyBytes() { java.lang.Object ref = county_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); county_ = b; return b; } else { @@ -861,11 +936,14 @@ public java.lang.String getCounty() { public static final int ELOT_NUMBER_FIELD_NUMBER = 17; private volatile java.lang.Object elotNumber_; /** + * + * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; + * * @return The elotNumber. */ @java.lang.Override @@ -874,29 +952,29 @@ public java.lang.String getElotNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotNumber_ = s; return s; } } /** + * + * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; + * * @return The bytes for elotNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getElotNumberBytes() { + public com.google.protobuf.ByteString getElotNumberBytes() { java.lang.Object ref = elotNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); elotNumber_ = b; return b; } else { @@ -907,11 +985,14 @@ public java.lang.String getElotNumber() { public static final int ELOT_FLAG_FIELD_NUMBER = 18; private volatile java.lang.Object elotFlag_; /** + * + * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; + * * @return The elotFlag. */ @java.lang.Override @@ -920,29 +1001,29 @@ public java.lang.String getElotFlag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotFlag_ = s; return s; } } /** + * + * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; + * * @return The bytes for elotFlag. */ @java.lang.Override - public com.google.protobuf.ByteString - getElotFlagBytes() { + public com.google.protobuf.ByteString getElotFlagBytes() { java.lang.Object ref = elotFlag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); elotFlag_ = b; return b; } else { @@ -953,11 +1034,14 @@ public java.lang.String getElotFlag() { public static final int LACS_LINK_RETURN_CODE_FIELD_NUMBER = 19; private volatile java.lang.Object lacsLinkReturnCode_; /** + * + * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; + * * @return The lacsLinkReturnCode. */ @java.lang.Override @@ -966,29 +1050,29 @@ public java.lang.String getLacsLinkReturnCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkReturnCode_ = s; return s; } } /** + * + * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; + * * @return The bytes for lacsLinkReturnCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLacsLinkReturnCodeBytes() { + public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lacsLinkReturnCode_ = b; return b; } else { @@ -999,11 +1083,14 @@ public java.lang.String getLacsLinkReturnCode() { public static final int LACS_LINK_INDICATOR_FIELD_NUMBER = 20; private volatile java.lang.Object lacsLinkIndicator_; /** + * + * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; + * * @return The lacsLinkIndicator. */ @java.lang.Override @@ -1012,29 +1099,29 @@ public java.lang.String getLacsLinkIndicator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkIndicator_ = s; return s; } } /** + * + * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; + * * @return The bytes for lacsLinkIndicator. */ @java.lang.Override - public com.google.protobuf.ByteString - getLacsLinkIndicatorBytes() { + public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { java.lang.Object ref = lacsLinkIndicator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lacsLinkIndicator_ = b; return b; } else { @@ -1045,11 +1132,14 @@ public java.lang.String getLacsLinkIndicator() { public static final int PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER = 21; private boolean poBoxOnlyPostalCode_; /** + * + * *
    * PO Box only postal code.
    * 
* * bool po_box_only_postal_code = 21; + * * @return The poBoxOnlyPostalCode. */ @java.lang.Override @@ -1060,6 +1150,8 @@ public boolean getPoBoxOnlyPostalCode() { public static final int SUITELINK_FOOTNOTE_FIELD_NUMBER = 22; private volatile java.lang.Object suitelinkFootnote_; /** + * + * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -1068,6 +1160,7 @@ public boolean getPoBoxOnlyPostalCode() {
    * 
* * string suitelink_footnote = 22; + * * @return The suitelinkFootnote. */ @java.lang.Override @@ -1076,14 +1169,15 @@ public java.lang.String getSuitelinkFootnote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suitelinkFootnote_ = s; return s; } } /** + * + * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -1092,16 +1186,15 @@ public java.lang.String getSuitelinkFootnote() {
    * 
* * string suitelink_footnote = 22; + * * @return The bytes for suitelinkFootnote. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuitelinkFootnoteBytes() { + public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { java.lang.Object ref = suitelinkFootnote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suitelinkFootnote_ = b; return b; } else { @@ -1112,11 +1205,14 @@ public java.lang.String getSuitelinkFootnote() { public static final int PMB_DESIGNATOR_FIELD_NUMBER = 23; private volatile java.lang.Object pmbDesignator_; /** + * + * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; + * * @return The pmbDesignator. */ @java.lang.Override @@ -1125,29 +1221,29 @@ public java.lang.String getPmbDesignator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbDesignator_ = s; return s; } } /** + * + * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; + * * @return The bytes for pmbDesignator. */ @java.lang.Override - public com.google.protobuf.ByteString - getPmbDesignatorBytes() { + public com.google.protobuf.ByteString getPmbDesignatorBytes() { java.lang.Object ref = pmbDesignator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pmbDesignator_ = b; return b; } else { @@ -1158,11 +1254,14 @@ public java.lang.String getPmbDesignator() { public static final int PMB_NUMBER_FIELD_NUMBER = 24; private volatile java.lang.Object pmbNumber_; /** + * + * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; + * * @return The pmbNumber. */ @java.lang.Override @@ -1171,29 +1270,29 @@ public java.lang.String getPmbNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbNumber_ = s; return s; } } /** + * + * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; + * * @return The bytes for pmbNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getPmbNumberBytes() { + public com.google.protobuf.ByteString getPmbNumberBytes() { java.lang.Object ref = pmbNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pmbNumber_ = b; return b; } else { @@ -1204,6 +1303,8 @@ public java.lang.String getPmbNumber() { public static final int ADDRESS_RECORD_TYPE_FIELD_NUMBER = 25; private volatile java.lang.Object addressRecordType_; /** + * + * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -1220,6 +1321,7 @@ public java.lang.String getPmbNumber() {
    * 
* * string address_record_type = 25; + * * @return The addressRecordType. */ @java.lang.Override @@ -1228,14 +1330,15 @@ public java.lang.String getAddressRecordType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); addressRecordType_ = s; return s; } } /** + * + * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -1252,16 +1355,15 @@ public java.lang.String getAddressRecordType() {
    * 
* * string address_record_type = 25; + * * @return The bytes for addressRecordType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressRecordTypeBytes() { + public com.google.protobuf.ByteString getAddressRecordTypeBytes() { java.lang.Object ref = addressRecordType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); addressRecordType_ = b; return b; } else { @@ -1272,12 +1374,15 @@ public java.lang.String getAddressRecordType() { public static final int DEFAULT_ADDRESS_FIELD_NUMBER = 26; private boolean defaultAddress_; /** + * + * *
    * Indicator that a default address was found, but more specific addresses
    * exists.
    * 
* * bool default_address = 26; + * * @return The defaultAddress. */ @java.lang.Override @@ -1288,6 +1393,8 @@ public boolean getDefaultAddress() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 27; private volatile java.lang.Object errorMessage_; /** + * + * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -1296,6 +1403,7 @@ public boolean getDefaultAddress() {
    * 
* * string error_message = 27; + * * @return The errorMessage. */ @java.lang.Override @@ -1304,14 +1412,15 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -1320,16 +1429,15 @@ public java.lang.String getErrorMessage() {
    * 
* * string error_message = 27; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1340,11 +1448,14 @@ public java.lang.String getErrorMessage() { public static final int CASS_PROCESSED_FIELD_NUMBER = 28; private boolean cassProcessed_; /** + * + * *
    * Indicator that the request has been CASS processed.
    * 
* * bool cass_processed = 28; + * * @return The cassProcessed. */ @java.lang.Override @@ -1353,6 +1464,7 @@ public boolean getCassProcessed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1364,8 +1476,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (standardizedAddress_ != null) { output.writeMessage(1, getStandardizedAddress()); } @@ -1460,8 +1571,7 @@ public int getSerializedSize() { size = 0; if (standardizedAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStandardizedAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStandardizedAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPointCode_); @@ -1491,8 +1601,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, carrierRouteIndicator_); } if (ewsNoMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, ewsNoMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, ewsNoMatch_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, postOfficeCity_); @@ -1522,8 +1631,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, lacsLinkIndicator_); } if (poBoxOnlyPostalCode_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(21, poBoxOnlyPostalCode_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, poBoxOnlyPostalCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suitelinkFootnote_); @@ -1538,15 +1646,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, addressRecordType_); } if (defaultAddress_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(26, defaultAddress_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, defaultAddress_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, errorMessage_); } if (cassProcessed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(28, cassProcessed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, cassProcessed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1556,72 +1662,45 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsData)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.UspsData other = (com.google.maps.addressvalidation.v1.UspsData) obj; + com.google.maps.addressvalidation.v1.UspsData other = + (com.google.maps.addressvalidation.v1.UspsData) obj; if (hasStandardizedAddress() != other.hasStandardizedAddress()) return false; if (hasStandardizedAddress()) { - if (!getStandardizedAddress() - .equals(other.getStandardizedAddress())) return false; - } - if (!getDeliveryPointCode() - .equals(other.getDeliveryPointCode())) return false; - if (!getDeliveryPointCheckDigit() - .equals(other.getDeliveryPointCheckDigit())) return false; - if (!getDpvConfirmation() - .equals(other.getDpvConfirmation())) return false; - if (!getDpvFootnote() - .equals(other.getDpvFootnote())) return false; - if (!getDpvCmra() - .equals(other.getDpvCmra())) return false; - if (!getDpvVacant() - .equals(other.getDpvVacant())) return false; - if (!getDpvNoStat() - .equals(other.getDpvNoStat())) return false; - if (!getCarrierRoute() - .equals(other.getCarrierRoute())) return false; - if (!getCarrierRouteIndicator() - .equals(other.getCarrierRouteIndicator())) return false; - if (getEwsNoMatch() - != other.getEwsNoMatch()) return false; - if (!getPostOfficeCity() - .equals(other.getPostOfficeCity())) return false; - if (!getPostOfficeState() - .equals(other.getPostOfficeState())) return false; - if (!getAbbreviatedCity() - .equals(other.getAbbreviatedCity())) return false; - if (!getFipsCountyCode() - .equals(other.getFipsCountyCode())) return false; - if (!getCounty() - .equals(other.getCounty())) return false; - if (!getElotNumber() - .equals(other.getElotNumber())) return false; - if (!getElotFlag() - .equals(other.getElotFlag())) return false; - if (!getLacsLinkReturnCode() - .equals(other.getLacsLinkReturnCode())) return false; - if (!getLacsLinkIndicator() - .equals(other.getLacsLinkIndicator())) return false; - if (getPoBoxOnlyPostalCode() - != other.getPoBoxOnlyPostalCode()) return false; - if (!getSuitelinkFootnote() - .equals(other.getSuitelinkFootnote())) return false; - if (!getPmbDesignator() - .equals(other.getPmbDesignator())) return false; - if (!getPmbNumber() - .equals(other.getPmbNumber())) return false; - if (!getAddressRecordType() - .equals(other.getAddressRecordType())) return false; - if (getDefaultAddress() - != other.getDefaultAddress()) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; - if (getCassProcessed() - != other.getCassProcessed()) return false; + if (!getStandardizedAddress().equals(other.getStandardizedAddress())) return false; + } + if (!getDeliveryPointCode().equals(other.getDeliveryPointCode())) return false; + if (!getDeliveryPointCheckDigit().equals(other.getDeliveryPointCheckDigit())) return false; + if (!getDpvConfirmation().equals(other.getDpvConfirmation())) return false; + if (!getDpvFootnote().equals(other.getDpvFootnote())) return false; + if (!getDpvCmra().equals(other.getDpvCmra())) return false; + if (!getDpvVacant().equals(other.getDpvVacant())) return false; + if (!getDpvNoStat().equals(other.getDpvNoStat())) return false; + if (!getCarrierRoute().equals(other.getCarrierRoute())) return false; + if (!getCarrierRouteIndicator().equals(other.getCarrierRouteIndicator())) return false; + if (getEwsNoMatch() != other.getEwsNoMatch()) return false; + if (!getPostOfficeCity().equals(other.getPostOfficeCity())) return false; + if (!getPostOfficeState().equals(other.getPostOfficeState())) return false; + if (!getAbbreviatedCity().equals(other.getAbbreviatedCity())) return false; + if (!getFipsCountyCode().equals(other.getFipsCountyCode())) return false; + if (!getCounty().equals(other.getCounty())) return false; + if (!getElotNumber().equals(other.getElotNumber())) return false; + if (!getElotFlag().equals(other.getElotFlag())) return false; + if (!getLacsLinkReturnCode().equals(other.getLacsLinkReturnCode())) return false; + if (!getLacsLinkIndicator().equals(other.getLacsLinkIndicator())) return false; + if (getPoBoxOnlyPostalCode() != other.getPoBoxOnlyPostalCode()) return false; + if (!getSuitelinkFootnote().equals(other.getSuitelinkFootnote())) return false; + if (!getPmbDesignator().equals(other.getPmbDesignator())) return false; + if (!getPmbNumber().equals(other.getPmbNumber())) return false; + if (!getAddressRecordType().equals(other.getAddressRecordType())) return false; + if (getDefaultAddress() != other.getDefaultAddress()) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (getCassProcessed() != other.getCassProcessed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1656,8 +1735,7 @@ public int hashCode() { hash = (37 * hash) + CARRIER_ROUTE_INDICATOR_FIELD_NUMBER; hash = (53 * hash) + getCarrierRouteIndicator().hashCode(); hash = (37 * hash) + EWS_NO_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEwsNoMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEwsNoMatch()); hash = (37 * hash) + POST_OFFICE_CITY_FIELD_NUMBER; hash = (53 * hash) + getPostOfficeCity().hashCode(); hash = (37 * hash) + POST_OFFICE_STATE_FIELD_NUMBER; @@ -1677,8 +1755,7 @@ public int hashCode() { hash = (37 * hash) + LACS_LINK_INDICATOR_FIELD_NUMBER; hash = (53 * hash) + getLacsLinkIndicator().hashCode(); hash = (37 * hash) + PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPoBoxOnlyPostalCode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBoxOnlyPostalCode()); hash = (37 * hash) + SUITELINK_FOOTNOTE_FIELD_NUMBER; hash = (53 * hash) + getSuitelinkFootnote().hashCode(); hash = (37 * hash) + PMB_DESIGNATOR_FIELD_NUMBER; @@ -1688,142 +1765,146 @@ public int hashCode() { hash = (37 * hash) + ADDRESS_RECORD_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAddressRecordType().hashCode(); hash = (37 * hash) + DEFAULT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDefaultAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultAddress()); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + CASS_PROCESSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCassProcessed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCassProcessed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The USPS data for the address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.UspsData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsData) com.google.maps.addressvalidation.v1.UspsDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsData.class, com.google.maps.addressvalidation.v1.UspsData.Builder.class); + com.google.maps.addressvalidation.v1.UspsData.class, + com.google.maps.addressvalidation.v1.UspsData.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.UspsData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1891,9 +1972,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.UspsDataProto.internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; } @java.lang.Override @@ -1912,7 +1993,8 @@ public com.google.maps.addressvalidation.v1.UspsData build() { @java.lang.Override public com.google.maps.addressvalidation.v1.UspsData buildPartial() { - com.google.maps.addressvalidation.v1.UspsData result = new com.google.maps.addressvalidation.v1.UspsData(this); + com.google.maps.addressvalidation.v1.UspsData result = + new com.google.maps.addressvalidation.v1.UspsData(this); if (standardizedAddressBuilder_ == null) { result.standardizedAddress_ = standardizedAddress_; } else { @@ -1953,38 +2035,39 @@ public com.google.maps.addressvalidation.v1.UspsData buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.UspsData) { - return mergeFrom((com.google.maps.addressvalidation.v1.UspsData)other); + return mergeFrom((com.google.maps.addressvalidation.v1.UspsData) other); } else { super.mergeFrom(other); return this; @@ -2126,194 +2209,235 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStandardizedAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - deliveryPointCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - deliveryPointCheckDigit_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - dpvConfirmation_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - dpvFootnote_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - dpvCmra_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - dpvVacant_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - dpvNoStat_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - carrierRoute_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - carrierRouteIndicator_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: { - ewsNoMatch_ = input.readBool(); - - break; - } // case 88 - case 98: { - postOfficeCity_ = input.readStringRequireUtf8(); - - break; - } // case 98 - case 106: { - postOfficeState_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 114: { - abbreviatedCity_ = input.readStringRequireUtf8(); - - break; - } // case 114 - case 122: { - fipsCountyCode_ = input.readStringRequireUtf8(); - - break; - } // case 122 - case 130: { - county_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 138: { - elotNumber_ = input.readStringRequireUtf8(); - - break; - } // case 138 - case 146: { - elotFlag_ = input.readStringRequireUtf8(); - - break; - } // case 146 - case 154: { - lacsLinkReturnCode_ = input.readStringRequireUtf8(); - - break; - } // case 154 - case 162: { - lacsLinkIndicator_ = input.readStringRequireUtf8(); - - break; - } // case 162 - case 168: { - poBoxOnlyPostalCode_ = input.readBool(); - - break; - } // case 168 - case 178: { - suitelinkFootnote_ = input.readStringRequireUtf8(); - - break; - } // case 178 - case 186: { - pmbDesignator_ = input.readStringRequireUtf8(); - - break; - } // case 186 - case 194: { - pmbNumber_ = input.readStringRequireUtf8(); - - break; - } // case 194 - case 202: { - addressRecordType_ = input.readStringRequireUtf8(); - - break; - } // case 202 - case 208: { - defaultAddress_ = input.readBool(); - - break; - } // case 208 - case 218: { - errorMessage_ = input.readStringRequireUtf8(); - - break; - } // case 218 - case 224: { - cassProcessed_ = input.readBool(); - - break; - } // case 224 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } + case 10: + { + input.readMessage( + getStandardizedAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + deliveryPointCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + deliveryPointCheckDigit_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + dpvConfirmation_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + dpvFootnote_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + dpvCmra_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + dpvVacant_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + dpvNoStat_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + carrierRoute_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + carrierRouteIndicator_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: + { + ewsNoMatch_ = input.readBool(); + + break; + } // case 88 + case 98: + { + postOfficeCity_ = input.readStringRequireUtf8(); + + break; + } // case 98 + case 106: + { + postOfficeState_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 114: + { + abbreviatedCity_ = input.readStringRequireUtf8(); + + break; + } // case 114 + case 122: + { + fipsCountyCode_ = input.readStringRequireUtf8(); + + break; + } // case 122 + case 130: + { + county_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 138: + { + elotNumber_ = input.readStringRequireUtf8(); + + break; + } // case 138 + case 146: + { + elotFlag_ = input.readStringRequireUtf8(); + + break; + } // case 146 + case 154: + { + lacsLinkReturnCode_ = input.readStringRequireUtf8(); + + break; + } // case 154 + case 162: + { + lacsLinkIndicator_ = input.readStringRequireUtf8(); + + break; + } // case 162 + case 168: + { + poBoxOnlyPostalCode_ = input.readBool(); + + break; + } // case 168 + case 178: + { + suitelinkFootnote_ = input.readStringRequireUtf8(); + + break; + } // case 178 + case 186: + { + pmbDesignator_ = input.readStringRequireUtf8(); + + break; + } // case 186 + case 194: + { + pmbNumber_ = input.readStringRequireUtf8(); + + break; + } // case 194 + case 202: + { + addressRecordType_ = input.readStringRequireUtf8(); + + break; + } // case 202 + case 208: + { + defaultAddress_ = input.readBool(); + + break; + } // case 208 + case 218: + { + errorMessage_ = input.readStringRequireUtf8(); + + break; + } // case 218 + case 224: + { + cassProcessed_ = input.readBool(); + + break; + } // case 224 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> standardizedAddressBuilder_; + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> + standardizedAddressBuilder_; /** + * + * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return Whether the standardizedAddress field is set. */ public boolean hasStandardizedAddress() { return standardizedAddressBuilder_ != null || standardizedAddress_ != null; } /** + * + * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return The standardizedAddress. */ public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { if (standardizedAddressBuilder_ == null) { - return standardizedAddress_ == null ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; + return standardizedAddress_ == null + ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() + : standardizedAddress_; } else { return standardizedAddressBuilder_.getMessage(); } } /** + * + * *
      * USPS standardized address.
      * 
@@ -2334,6 +2458,8 @@ public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsA return this; } /** + * + * *
      * USPS standardized address.
      * 
@@ -2352,17 +2478,22 @@ public Builder setStandardizedAddress( return this; } /** + * + * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public Builder mergeStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { + public Builder mergeStandardizedAddress( + com.google.maps.addressvalidation.v1.UspsAddress value) { if (standardizedAddressBuilder_ == null) { if (standardizedAddress_ != null) { standardizedAddress_ = - com.google.maps.addressvalidation.v1.UspsAddress.newBuilder(standardizedAddress_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.UspsAddress.newBuilder(standardizedAddress_) + .mergeFrom(value) + .buildPartial(); } else { standardizedAddress_ = value; } @@ -2374,6 +2505,8 @@ public Builder mergeStandardizedAddress(com.google.maps.addressvalidation.v1.Usp return this; } /** + * + * *
      * USPS standardized address.
      * 
@@ -2392,33 +2525,42 @@ public Builder clearStandardizedAddress() { return this; } /** + * + * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public com.google.maps.addressvalidation.v1.UspsAddress.Builder getStandardizedAddressBuilder() { - + public com.google.maps.addressvalidation.v1.UspsAddress.Builder + getStandardizedAddressBuilder() { + onChanged(); return getStandardizedAddressFieldBuilder().getBuilder(); } /** + * + * *
      * USPS standardized address.
      * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ - public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder() { + public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder + getStandardizedAddressOrBuilder() { if (standardizedAddressBuilder_ != null) { return standardizedAddressBuilder_.getMessageOrBuilder(); } else { - return standardizedAddress_ == null ? - com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() : standardizedAddress_; + return standardizedAddress_ == null + ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() + : standardizedAddress_; } } /** + * + * *
      * USPS standardized address.
      * 
@@ -2426,14 +2568,17 @@ public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardized * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> getStandardizedAddressFieldBuilder() { if (standardizedAddressBuilder_ == null) { - standardizedAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, com.google.maps.addressvalidation.v1.UspsAddress.Builder, com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( - getStandardizedAddress(), - getParentForChildren(), - isClean()); + standardizedAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( + getStandardizedAddress(), getParentForChildren(), isClean()); standardizedAddress_ = null; } return standardizedAddressBuilder_; @@ -2441,18 +2586,20 @@ public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardized private java.lang.Object deliveryPointCode_ = ""; /** + * + * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; + * * @return The deliveryPointCode. */ public java.lang.String getDeliveryPointCode() { java.lang.Object ref = deliveryPointCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCode_ = s; return s; @@ -2461,20 +2608,21 @@ public java.lang.String getDeliveryPointCode() { } } /** + * + * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; + * * @return The bytes for deliveryPointCode. */ - public com.google.protobuf.ByteString - getDeliveryPointCodeBytes() { + public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { java.lang.Object ref = deliveryPointCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deliveryPointCode_ = b; return b; } else { @@ -2482,54 +2630,61 @@ public java.lang.String getDeliveryPointCode() { } } /** + * + * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; + * * @param value The deliveryPointCode to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCode( - java.lang.String value) { + public Builder setDeliveryPointCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deliveryPointCode_ = value; onChanged(); return this; } /** + * + * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; + * * @return This builder for chaining. */ public Builder clearDeliveryPointCode() { - + deliveryPointCode_ = getDefaultInstance().getDeliveryPointCode(); onChanged(); return this; } /** + * + * *
      * 2 digit delivery point code
      * 
* * string delivery_point_code = 2; + * * @param value The bytes for deliveryPointCode to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deliveryPointCode_ = value; onChanged(); return this; @@ -2537,6 +2692,8 @@ public Builder setDeliveryPointCodeBytes( private java.lang.Object deliveryPointCheckDigit_ = ""; /** + * + * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2545,13 +2702,13 @@ public Builder setDeliveryPointCodeBytes(
      * 
* * string delivery_point_check_digit = 3; + * * @return The deliveryPointCheckDigit. */ public java.lang.String getDeliveryPointCheckDigit() { java.lang.Object ref = deliveryPointCheckDigit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deliveryPointCheckDigit_ = s; return s; @@ -2560,6 +2717,8 @@ public java.lang.String getDeliveryPointCheckDigit() { } } /** + * + * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2568,15 +2727,14 @@ public java.lang.String getDeliveryPointCheckDigit() {
      * 
* * string delivery_point_check_digit = 3; + * * @return The bytes for deliveryPointCheckDigit. */ - public com.google.protobuf.ByteString - getDeliveryPointCheckDigitBytes() { + public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { java.lang.Object ref = deliveryPointCheckDigit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deliveryPointCheckDigit_ = b; return b; } else { @@ -2584,6 +2742,8 @@ public java.lang.String getDeliveryPointCheckDigit() { } } /** + * + * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2592,20 +2752,22 @@ public java.lang.String getDeliveryPointCheckDigit() {
      * 
* * string delivery_point_check_digit = 3; + * * @param value The deliveryPointCheckDigit to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigit( - java.lang.String value) { + public Builder setDeliveryPointCheckDigit(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deliveryPointCheckDigit_ = value; onChanged(); return this; } /** + * + * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2614,15 +2776,18 @@ public Builder setDeliveryPointCheckDigit(
      * 
* * string delivery_point_check_digit = 3; + * * @return This builder for chaining. */ public Builder clearDeliveryPointCheckDigit() { - + deliveryPointCheckDigit_ = getDefaultInstance().getDeliveryPointCheckDigit(); onChanged(); return this; } /** + * + * *
      * The delivery point check digit. This number is added to the end of the
      * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -2631,16 +2796,16 @@ public Builder clearDeliveryPointCheckDigit() {
      * 
* * string delivery_point_check_digit = 3; + * * @param value The bytes for deliveryPointCheckDigit to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigitBytes( - com.google.protobuf.ByteString value) { + public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deliveryPointCheckDigit_ = value; onChanged(); return this; @@ -2648,6 +2813,8 @@ public Builder setDeliveryPointCheckDigitBytes( private java.lang.Object dpvConfirmation_ = ""; /** + * + * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2660,13 +2827,13 @@ public Builder setDeliveryPointCheckDigitBytes(
      * 
* * string dpv_confirmation = 4; + * * @return The dpvConfirmation. */ public java.lang.String getDpvConfirmation() { java.lang.Object ref = dpvConfirmation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvConfirmation_ = s; return s; @@ -2675,6 +2842,8 @@ public java.lang.String getDpvConfirmation() { } } /** + * + * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2687,15 +2856,14 @@ public java.lang.String getDpvConfirmation() {
      * 
* * string dpv_confirmation = 4; + * * @return The bytes for dpvConfirmation. */ - public com.google.protobuf.ByteString - getDpvConfirmationBytes() { + public com.google.protobuf.ByteString getDpvConfirmationBytes() { java.lang.Object ref = dpvConfirmation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvConfirmation_ = b; return b; } else { @@ -2703,6 +2871,8 @@ public java.lang.String getDpvConfirmation() { } } /** + * + * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2715,20 +2885,22 @@ public java.lang.String getDpvConfirmation() {
      * 
* * string dpv_confirmation = 4; + * * @param value The dpvConfirmation to set. * @return This builder for chaining. */ - public Builder setDpvConfirmation( - java.lang.String value) { + public Builder setDpvConfirmation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvConfirmation_ = value; onChanged(); return this; } /** + * + * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2741,15 +2913,18 @@ public Builder setDpvConfirmation(
      * 
* * string dpv_confirmation = 4; + * * @return This builder for chaining. */ public Builder clearDpvConfirmation() { - + dpvConfirmation_ = getDefaultInstance().getDpvConfirmation(); onChanged(); return this; } /** + * + * *
      * The possible values for DPV confirmation. Returns a single character.
      * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -2762,16 +2937,16 @@ public Builder clearDpvConfirmation() {
      * 
* * string dpv_confirmation = 4; + * * @param value The bytes for dpvConfirmation to set. * @return This builder for chaining. */ - public Builder setDpvConfirmationBytes( - com.google.protobuf.ByteString value) { + public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvConfirmation_ = value; onChanged(); return this; @@ -2779,6 +2954,8 @@ public Builder setDpvConfirmationBytes( private java.lang.Object dpvFootnote_ = ""; /** + * + * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2801,13 +2978,13 @@ public Builder setDpvConfirmationBytes(
      * 
* * string dpv_footnote = 5; + * * @return The dpvFootnote. */ public java.lang.String getDpvFootnote() { java.lang.Object ref = dpvFootnote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvFootnote_ = s; return s; @@ -2816,6 +2993,8 @@ public java.lang.String getDpvFootnote() { } } /** + * + * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2838,15 +3017,14 @@ public java.lang.String getDpvFootnote() {
      * 
* * string dpv_footnote = 5; + * * @return The bytes for dpvFootnote. */ - public com.google.protobuf.ByteString - getDpvFootnoteBytes() { + public com.google.protobuf.ByteString getDpvFootnoteBytes() { java.lang.Object ref = dpvFootnote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvFootnote_ = b; return b; } else { @@ -2854,6 +3032,8 @@ public java.lang.String getDpvFootnote() { } } /** + * + * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2876,20 +3056,22 @@ public java.lang.String getDpvFootnote() {
      * 
* * string dpv_footnote = 5; + * * @param value The dpvFootnote to set. * @return This builder for chaining. */ - public Builder setDpvFootnote( - java.lang.String value) { + public Builder setDpvFootnote(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvFootnote_ = value; onChanged(); return this; } /** + * + * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2912,15 +3094,18 @@ public Builder setDpvFootnote(
      * 
* * string dpv_footnote = 5; + * * @return This builder for chaining. */ public Builder clearDpvFootnote() { - + dpvFootnote_ = getDefaultInstance().getDpvFootnote(); onChanged(); return this; } /** + * + * *
      * The footnotes from delivery point validation.
      * Multiple footnotes may be strung together in the same string.
@@ -2943,16 +3128,16 @@ public Builder clearDpvFootnote() {
      * 
* * string dpv_footnote = 5; + * * @param value The bytes for dpvFootnote to set. * @return This builder for chaining. */ - public Builder setDpvFootnoteBytes( - com.google.protobuf.ByteString value) { + public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvFootnote_ = value; onChanged(); return this; @@ -2960,6 +3145,8 @@ public Builder setDpvFootnoteBytes( private java.lang.Object dpvCmra_ = ""; /** + * + * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -2968,13 +3155,13 @@ public Builder setDpvFootnoteBytes(
      * 
* * string dpv_cmra = 6; + * * @return The dpvCmra. */ public java.lang.String getDpvCmra() { java.lang.Object ref = dpvCmra_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvCmra_ = s; return s; @@ -2983,6 +3170,8 @@ public java.lang.String getDpvCmra() { } } /** + * + * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -2991,15 +3180,14 @@ public java.lang.String getDpvCmra() {
      * 
* * string dpv_cmra = 6; + * * @return The bytes for dpvCmra. */ - public com.google.protobuf.ByteString - getDpvCmraBytes() { + public com.google.protobuf.ByteString getDpvCmraBytes() { java.lang.Object ref = dpvCmra_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvCmra_ = b; return b; } else { @@ -3007,6 +3195,8 @@ public java.lang.String getDpvCmra() { } } /** + * + * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3015,20 +3205,22 @@ public java.lang.String getDpvCmra() {
      * 
* * string dpv_cmra = 6; + * * @param value The dpvCmra to set. * @return This builder for chaining. */ - public Builder setDpvCmra( - java.lang.String value) { + public Builder setDpvCmra(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvCmra_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3037,15 +3229,18 @@ public Builder setDpvCmra(
      * 
* * string dpv_cmra = 6; + * * @return This builder for chaining. */ public Builder clearDpvCmra() { - + dpvCmra_ = getDefaultInstance().getDpvCmra(); onChanged(); return this; } /** + * + * *
      * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
      * private business receiving mail for clients. Returns a single character.
@@ -3054,16 +3249,16 @@ public Builder clearDpvCmra() {
      * 
* * string dpv_cmra = 6; + * * @param value The bytes for dpvCmra to set. * @return This builder for chaining. */ - public Builder setDpvCmraBytes( - com.google.protobuf.ByteString value) { + public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvCmra_ = value; onChanged(); return this; @@ -3071,6 +3266,8 @@ public Builder setDpvCmraBytes( private java.lang.Object dpvVacant_ = ""; /** + * + * *
      * Is this place vacant?
      * Returns a single character.
@@ -3079,13 +3276,13 @@ public Builder setDpvCmraBytes(
      * 
* * string dpv_vacant = 7; + * * @return The dpvVacant. */ public java.lang.String getDpvVacant() { java.lang.Object ref = dpvVacant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvVacant_ = s; return s; @@ -3094,6 +3291,8 @@ public java.lang.String getDpvVacant() { } } /** + * + * *
      * Is this place vacant?
      * Returns a single character.
@@ -3102,15 +3301,14 @@ public java.lang.String getDpvVacant() {
      * 
* * string dpv_vacant = 7; + * * @return The bytes for dpvVacant. */ - public com.google.protobuf.ByteString - getDpvVacantBytes() { + public com.google.protobuf.ByteString getDpvVacantBytes() { java.lang.Object ref = dpvVacant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvVacant_ = b; return b; } else { @@ -3118,6 +3316,8 @@ public java.lang.String getDpvVacant() { } } /** + * + * *
      * Is this place vacant?
      * Returns a single character.
@@ -3126,20 +3326,22 @@ public java.lang.String getDpvVacant() {
      * 
* * string dpv_vacant = 7; + * * @param value The dpvVacant to set. * @return This builder for chaining. */ - public Builder setDpvVacant( - java.lang.String value) { + public Builder setDpvVacant(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvVacant_ = value; onChanged(); return this; } /** + * + * *
      * Is this place vacant?
      * Returns a single character.
@@ -3148,15 +3350,18 @@ public Builder setDpvVacant(
      * 
* * string dpv_vacant = 7; + * * @return This builder for chaining. */ public Builder clearDpvVacant() { - + dpvVacant_ = getDefaultInstance().getDpvVacant(); onChanged(); return this; } /** + * + * *
      * Is this place vacant?
      * Returns a single character.
@@ -3165,16 +3370,16 @@ public Builder clearDpvVacant() {
      * 
* * string dpv_vacant = 7; + * * @param value The bytes for dpvVacant to set. * @return This builder for chaining. */ - public Builder setDpvVacantBytes( - com.google.protobuf.ByteString value) { + public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvVacant_ = value; onChanged(); return this; @@ -3182,6 +3387,8 @@ public Builder setDpvVacantBytes( private java.lang.Object dpvNoStat_ = ""; /** + * + * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3191,13 +3398,13 @@ public Builder setDpvVacantBytes(
      * 
* * string dpv_no_stat = 8; + * * @return The dpvNoStat. */ public java.lang.String getDpvNoStat() { java.lang.Object ref = dpvNoStat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dpvNoStat_ = s; return s; @@ -3206,6 +3413,8 @@ public java.lang.String getDpvNoStat() { } } /** + * + * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3215,15 +3424,14 @@ public java.lang.String getDpvNoStat() {
      * 
* * string dpv_no_stat = 8; + * * @return The bytes for dpvNoStat. */ - public com.google.protobuf.ByteString - getDpvNoStatBytes() { + public com.google.protobuf.ByteString getDpvNoStatBytes() { java.lang.Object ref = dpvNoStat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dpvNoStat_ = b; return b; } else { @@ -3231,6 +3439,8 @@ public java.lang.String getDpvNoStat() { } } /** + * + * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3240,20 +3450,22 @@ public java.lang.String getDpvNoStat() {
      * 
* * string dpv_no_stat = 8; + * * @param value The dpvNoStat to set. * @return This builder for chaining. */ - public Builder setDpvNoStat( - java.lang.String value) { + public Builder setDpvNoStat(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dpvNoStat_ = value; onChanged(); return this; } /** + * + * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3263,15 +3475,18 @@ public Builder setDpvNoStat(
      * 
* * string dpv_no_stat = 8; + * * @return This builder for chaining. */ public Builder clearDpvNoStat() { - + dpvNoStat_ = getDefaultInstance().getDpvNoStat(); onChanged(); return this; } /** + * + * *
      * Is this a no stat address or an active address?
      * No stat addresses are ones which are not continuously occupied or addresses
@@ -3281,16 +3496,16 @@ public Builder clearDpvNoStat() {
      * 
* * string dpv_no_stat = 8; + * * @param value The bytes for dpvNoStat to set. * @return This builder for chaining. */ - public Builder setDpvNoStatBytes( - com.google.protobuf.ByteString value) { + public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvNoStat_ = value; onChanged(); return this; @@ -3298,6 +3513,8 @@ public Builder setDpvNoStatBytes( private java.lang.Object carrierRoute_ = ""; /** + * + * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3311,13 +3528,13 @@ public Builder setDpvNoStatBytes(
      * 
* * string carrier_route = 9; + * * @return The carrierRoute. */ public java.lang.String getCarrierRoute() { java.lang.Object ref = carrierRoute_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRoute_ = s; return s; @@ -3326,6 +3543,8 @@ public java.lang.String getCarrierRoute() { } } /** + * + * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3339,15 +3558,14 @@ public java.lang.String getCarrierRoute() {
      * 
* * string carrier_route = 9; + * * @return The bytes for carrierRoute. */ - public com.google.protobuf.ByteString - getCarrierRouteBytes() { + public com.google.protobuf.ByteString getCarrierRouteBytes() { java.lang.Object ref = carrierRoute_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); carrierRoute_ = b; return b; } else { @@ -3355,6 +3573,8 @@ public java.lang.String getCarrierRoute() { } } /** + * + * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3368,20 +3588,22 @@ public java.lang.String getCarrierRoute() {
      * 
* * string carrier_route = 9; + * * @param value The carrierRoute to set. * @return This builder for chaining. */ - public Builder setCarrierRoute( - java.lang.String value) { + public Builder setCarrierRoute(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + carrierRoute_ = value; onChanged(); return this; } /** + * + * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3395,15 +3617,18 @@ public Builder setCarrierRoute(
      * 
* * string carrier_route = 9; + * * @return This builder for chaining. */ public Builder clearCarrierRoute() { - + carrierRoute_ = getDefaultInstance().getCarrierRoute(); onChanged(); return this; } /** + * + * *
      * The carrier route code.
      * A four character code consisting of a one letter prefix and a three digit
@@ -3417,16 +3642,16 @@ public Builder clearCarrierRoute() {
      * 
* * string carrier_route = 9; + * * @param value The bytes for carrierRoute to set. * @return This builder for chaining. */ - public Builder setCarrierRouteBytes( - com.google.protobuf.ByteString value) { + public Builder setCarrierRouteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + carrierRoute_ = value; onChanged(); return this; @@ -3434,18 +3659,20 @@ public Builder setCarrierRouteBytes( private java.lang.Object carrierRouteIndicator_ = ""; /** + * + * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; + * * @return The carrierRouteIndicator. */ public java.lang.String getCarrierRouteIndicator() { java.lang.Object ref = carrierRouteIndicator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); carrierRouteIndicator_ = s; return s; @@ -3454,20 +3681,21 @@ public java.lang.String getCarrierRouteIndicator() { } } /** + * + * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; + * * @return The bytes for carrierRouteIndicator. */ - public com.google.protobuf.ByteString - getCarrierRouteIndicatorBytes() { + public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); carrierRouteIndicator_ = b; return b; } else { @@ -3475,67 +3703,77 @@ public java.lang.String getCarrierRouteIndicator() { } } /** + * + * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; + * * @param value The carrierRouteIndicator to set. * @return This builder for chaining. */ - public Builder setCarrierRouteIndicator( - java.lang.String value) { + public Builder setCarrierRouteIndicator(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + carrierRouteIndicator_ = value; onChanged(); return this; } /** + * + * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; + * * @return This builder for chaining. */ public Builder clearCarrierRouteIndicator() { - + carrierRouteIndicator_ = getDefaultInstance().getCarrierRouteIndicator(); onChanged(); return this; } /** + * + * *
      * Carrier route rate sort indicator.
      * 
* * string carrier_route_indicator = 10; + * * @param value The bytes for carrierRouteIndicator to set. * @return This builder for chaining. */ - public Builder setCarrierRouteIndicatorBytes( - com.google.protobuf.ByteString value) { + public Builder setCarrierRouteIndicatorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + carrierRouteIndicator_ = value; onChanged(); return this; } - private boolean ewsNoMatch_ ; + private boolean ewsNoMatch_; /** + * + * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; + * * @return The ewsNoMatch. */ @java.lang.Override @@ -3543,32 +3781,38 @@ public boolean getEwsNoMatch() { return ewsNoMatch_; } /** + * + * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; + * * @param value The ewsNoMatch to set. * @return This builder for chaining. */ public Builder setEwsNoMatch(boolean value) { - + ewsNoMatch_ = value; onChanged(); return this; } /** + * + * *
      * The delivery address is matchable, but the EWS file indicates that an exact
      * match will be available soon.
      * 
* * bool ews_no_match = 11; + * * @return This builder for chaining. */ public Builder clearEwsNoMatch() { - + ewsNoMatch_ = false; onChanged(); return this; @@ -3576,18 +3820,20 @@ public Builder clearEwsNoMatch() { private java.lang.Object postOfficeCity_ = ""; /** + * + * *
      * Main post office city.
      * 
* * string post_office_city = 12; + * * @return The postOfficeCity. */ public java.lang.String getPostOfficeCity() { java.lang.Object ref = postOfficeCity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeCity_ = s; return s; @@ -3596,20 +3842,21 @@ public java.lang.String getPostOfficeCity() { } } /** - *
+     *
+     *
+     * 
      * Main post office city.
      * 
* * string post_office_city = 12; + * * @return The bytes for postOfficeCity. */ - public com.google.protobuf.ByteString - getPostOfficeCityBytes() { + public com.google.protobuf.ByteString getPostOfficeCityBytes() { java.lang.Object ref = postOfficeCity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); postOfficeCity_ = b; return b; } else { @@ -3617,54 +3864,61 @@ public java.lang.String getPostOfficeCity() { } } /** + * + * *
      * Main post office city.
      * 
* * string post_office_city = 12; + * * @param value The postOfficeCity to set. * @return This builder for chaining. */ - public Builder setPostOfficeCity( - java.lang.String value) { + public Builder setPostOfficeCity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + postOfficeCity_ = value; onChanged(); return this; } /** + * + * *
      * Main post office city.
      * 
* * string post_office_city = 12; + * * @return This builder for chaining. */ public Builder clearPostOfficeCity() { - + postOfficeCity_ = getDefaultInstance().getPostOfficeCity(); onChanged(); return this; } /** + * + * *
      * Main post office city.
      * 
* * string post_office_city = 12; + * * @param value The bytes for postOfficeCity to set. * @return This builder for chaining. */ - public Builder setPostOfficeCityBytes( - com.google.protobuf.ByteString value) { + public Builder setPostOfficeCityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + postOfficeCity_ = value; onChanged(); return this; @@ -3672,18 +3926,20 @@ public Builder setPostOfficeCityBytes( private java.lang.Object postOfficeState_ = ""; /** + * + * *
      * Main post office state.
      * 
* * string post_office_state = 13; + * * @return The postOfficeState. */ public java.lang.String getPostOfficeState() { java.lang.Object ref = postOfficeState_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); postOfficeState_ = s; return s; @@ -3692,20 +3948,21 @@ public java.lang.String getPostOfficeState() { } } /** + * + * *
      * Main post office state.
      * 
* * string post_office_state = 13; + * * @return The bytes for postOfficeState. */ - public com.google.protobuf.ByteString - getPostOfficeStateBytes() { + public com.google.protobuf.ByteString getPostOfficeStateBytes() { java.lang.Object ref = postOfficeState_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); postOfficeState_ = b; return b; } else { @@ -3713,54 +3970,61 @@ public java.lang.String getPostOfficeState() { } } /** + * + * *
      * Main post office state.
      * 
* * string post_office_state = 13; + * * @param value The postOfficeState to set. * @return This builder for chaining. */ - public Builder setPostOfficeState( - java.lang.String value) { + public Builder setPostOfficeState(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + postOfficeState_ = value; onChanged(); return this; } /** + * + * *
      * Main post office state.
      * 
* * string post_office_state = 13; + * * @return This builder for chaining. */ public Builder clearPostOfficeState() { - + postOfficeState_ = getDefaultInstance().getPostOfficeState(); onChanged(); return this; } /** + * + * *
      * Main post office state.
      * 
* * string post_office_state = 13; + * * @param value The bytes for postOfficeState to set. * @return This builder for chaining. */ - public Builder setPostOfficeStateBytes( - com.google.protobuf.ByteString value) { + public Builder setPostOfficeStateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + postOfficeState_ = value; onChanged(); return this; @@ -3768,18 +4032,20 @@ public Builder setPostOfficeStateBytes( private java.lang.Object abbreviatedCity_ = ""; /** + * + * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; + * * @return The abbreviatedCity. */ public java.lang.String getAbbreviatedCity() { java.lang.Object ref = abbreviatedCity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); abbreviatedCity_ = s; return s; @@ -3788,20 +4054,21 @@ public java.lang.String getAbbreviatedCity() { } } /** + * + * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; + * * @return The bytes for abbreviatedCity. */ - public com.google.protobuf.ByteString - getAbbreviatedCityBytes() { + public com.google.protobuf.ByteString getAbbreviatedCityBytes() { java.lang.Object ref = abbreviatedCity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); abbreviatedCity_ = b; return b; } else { @@ -3809,54 +4076,61 @@ public java.lang.String getAbbreviatedCity() { } } /** + * + * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; + * * @param value The abbreviatedCity to set. * @return This builder for chaining. */ - public Builder setAbbreviatedCity( - java.lang.String value) { + public Builder setAbbreviatedCity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + abbreviatedCity_ = value; onChanged(); return this; } /** + * + * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; + * * @return This builder for chaining. */ public Builder clearAbbreviatedCity() { - + abbreviatedCity_ = getDefaultInstance().getAbbreviatedCity(); onChanged(); return this; } /** + * + * *
      * Abbreviated city.
      * 
* * string abbreviated_city = 14; + * * @param value The bytes for abbreviatedCity to set. * @return This builder for chaining. */ - public Builder setAbbreviatedCityBytes( - com.google.protobuf.ByteString value) { + public Builder setAbbreviatedCityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + abbreviatedCity_ = value; onChanged(); return this; @@ -3864,18 +4138,20 @@ public Builder setAbbreviatedCityBytes( private java.lang.Object fipsCountyCode_ = ""; /** + * + * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; + * * @return The fipsCountyCode. */ public java.lang.String getFipsCountyCode() { java.lang.Object ref = fipsCountyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fipsCountyCode_ = s; return s; @@ -3884,20 +4160,21 @@ public java.lang.String getFipsCountyCode() { } } /** + * + * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; + * * @return The bytes for fipsCountyCode. */ - public com.google.protobuf.ByteString - getFipsCountyCodeBytes() { + public com.google.protobuf.ByteString getFipsCountyCodeBytes() { java.lang.Object ref = fipsCountyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fipsCountyCode_ = b; return b; } else { @@ -3905,54 +4182,61 @@ public java.lang.String getFipsCountyCode() { } } /** + * + * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; + * * @param value The fipsCountyCode to set. * @return This builder for chaining. */ - public Builder setFipsCountyCode( - java.lang.String value) { + public Builder setFipsCountyCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fipsCountyCode_ = value; onChanged(); return this; } /** + * + * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; + * * @return This builder for chaining. */ public Builder clearFipsCountyCode() { - + fipsCountyCode_ = getDefaultInstance().getFipsCountyCode(); onChanged(); return this; } /** + * + * *
      * FIPS county code.
      * 
* * string fips_county_code = 15; + * * @param value The bytes for fipsCountyCode to set. * @return This builder for chaining. */ - public Builder setFipsCountyCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setFipsCountyCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fipsCountyCode_ = value; onChanged(); return this; @@ -3960,18 +4244,20 @@ public Builder setFipsCountyCodeBytes( private java.lang.Object county_ = ""; /** + * + * *
      * County name.
      * 
* * string county = 16; + * * @return The county. */ public java.lang.String getCounty() { java.lang.Object ref = county_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); county_ = s; return s; @@ -3980,20 +4266,21 @@ public java.lang.String getCounty() { } } /** + * + * *
      * County name.
      * 
* * string county = 16; + * * @return The bytes for county. */ - public com.google.protobuf.ByteString - getCountyBytes() { + public com.google.protobuf.ByteString getCountyBytes() { java.lang.Object ref = county_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); county_ = b; return b; } else { @@ -4001,54 +4288,61 @@ public java.lang.String getCounty() { } } /** + * + * *
      * County name.
      * 
* * string county = 16; + * * @param value The county to set. * @return This builder for chaining. */ - public Builder setCounty( - java.lang.String value) { + public Builder setCounty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + county_ = value; onChanged(); return this; } /** + * + * *
      * County name.
      * 
* * string county = 16; + * * @return This builder for chaining. */ public Builder clearCounty() { - + county_ = getDefaultInstance().getCounty(); onChanged(); return this; } /** + * + * *
      * County name.
      * 
* * string county = 16; + * * @param value The bytes for county to set. * @return This builder for chaining. */ - public Builder setCountyBytes( - com.google.protobuf.ByteString value) { + public Builder setCountyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + county_ = value; onChanged(); return this; @@ -4056,18 +4350,20 @@ public Builder setCountyBytes( private java.lang.Object elotNumber_ = ""; /** + * + * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; + * * @return The elotNumber. */ public java.lang.String getElotNumber() { java.lang.Object ref = elotNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotNumber_ = s; return s; @@ -4076,20 +4372,21 @@ public java.lang.String getElotNumber() { } } /** + * + * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; + * * @return The bytes for elotNumber. */ - public com.google.protobuf.ByteString - getElotNumberBytes() { + public com.google.protobuf.ByteString getElotNumberBytes() { java.lang.Object ref = elotNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); elotNumber_ = b; return b; } else { @@ -4097,54 +4394,61 @@ public java.lang.String getElotNumber() { } } /** + * + * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; + * * @param value The elotNumber to set. * @return This builder for chaining. */ - public Builder setElotNumber( - java.lang.String value) { + public Builder setElotNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + elotNumber_ = value; onChanged(); return this; } /** + * + * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; + * * @return This builder for chaining. */ public Builder clearElotNumber() { - + elotNumber_ = getDefaultInstance().getElotNumber(); onChanged(); return this; } /** + * + * *
      * Enhanced Line of Travel (eLOT) number.
      * 
* * string elot_number = 17; + * * @param value The bytes for elotNumber to set. * @return This builder for chaining. */ - public Builder setElotNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setElotNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + elotNumber_ = value; onChanged(); return this; @@ -4152,18 +4456,20 @@ public Builder setElotNumberBytes( private java.lang.Object elotFlag_ = ""; /** + * + * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; + * * @return The elotFlag. */ public java.lang.String getElotFlag() { java.lang.Object ref = elotFlag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); elotFlag_ = s; return s; @@ -4172,20 +4478,21 @@ public java.lang.String getElotFlag() { } } /** + * + * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; + * * @return The bytes for elotFlag. */ - public com.google.protobuf.ByteString - getElotFlagBytes() { + public com.google.protobuf.ByteString getElotFlagBytes() { java.lang.Object ref = elotFlag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); elotFlag_ = b; return b; } else { @@ -4193,54 +4500,61 @@ public java.lang.String getElotFlag() { } } /** + * + * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; + * * @param value The elotFlag to set. * @return This builder for chaining. */ - public Builder setElotFlag( - java.lang.String value) { + public Builder setElotFlag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + elotFlag_ = value; onChanged(); return this; } /** + * + * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; + * * @return This builder for chaining. */ public Builder clearElotFlag() { - + elotFlag_ = getDefaultInstance().getElotFlag(); onChanged(); return this; } /** + * + * *
      * eLOT Ascending/Descending Flag (A/D).
      * 
* * string elot_flag = 18; + * * @param value The bytes for elotFlag to set. * @return This builder for chaining. */ - public Builder setElotFlagBytes( - com.google.protobuf.ByteString value) { + public Builder setElotFlagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + elotFlag_ = value; onChanged(); return this; @@ -4248,18 +4562,20 @@ public Builder setElotFlagBytes( private java.lang.Object lacsLinkReturnCode_ = ""; /** + * + * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; + * * @return The lacsLinkReturnCode. */ public java.lang.String getLacsLinkReturnCode() { java.lang.Object ref = lacsLinkReturnCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkReturnCode_ = s; return s; @@ -4268,20 +4584,21 @@ public java.lang.String getLacsLinkReturnCode() { } } /** + * + * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; + * * @return The bytes for lacsLinkReturnCode. */ - public com.google.protobuf.ByteString - getLacsLinkReturnCodeBytes() { + public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lacsLinkReturnCode_ = b; return b; } else { @@ -4289,54 +4606,61 @@ public java.lang.String getLacsLinkReturnCode() { } } /** + * + * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; + * * @param value The lacsLinkReturnCode to set. * @return This builder for chaining. */ - public Builder setLacsLinkReturnCode( - java.lang.String value) { + public Builder setLacsLinkReturnCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lacsLinkReturnCode_ = value; onChanged(); return this; } /** + * + * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; + * * @return This builder for chaining. */ public Builder clearLacsLinkReturnCode() { - + lacsLinkReturnCode_ = getDefaultInstance().getLacsLinkReturnCode(); onChanged(); return this; } /** + * + * *
      * LACSLink return code.
      * 
* * string lacs_link_return_code = 19; + * * @param value The bytes for lacsLinkReturnCode to set. * @return This builder for chaining. */ - public Builder setLacsLinkReturnCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLacsLinkReturnCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lacsLinkReturnCode_ = value; onChanged(); return this; @@ -4344,18 +4668,20 @@ public Builder setLacsLinkReturnCodeBytes( private java.lang.Object lacsLinkIndicator_ = ""; /** + * + * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; + * * @return The lacsLinkIndicator. */ public java.lang.String getLacsLinkIndicator() { java.lang.Object ref = lacsLinkIndicator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lacsLinkIndicator_ = s; return s; @@ -4364,20 +4690,21 @@ public java.lang.String getLacsLinkIndicator() { } } /** + * + * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; + * * @return The bytes for lacsLinkIndicator. */ - public com.google.protobuf.ByteString - getLacsLinkIndicatorBytes() { + public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { java.lang.Object ref = lacsLinkIndicator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lacsLinkIndicator_ = b; return b; } else { @@ -4385,66 +4712,76 @@ public java.lang.String getLacsLinkIndicator() { } } /** + * + * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; + * * @param value The lacsLinkIndicator to set. * @return This builder for chaining. */ - public Builder setLacsLinkIndicator( - java.lang.String value) { + public Builder setLacsLinkIndicator(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lacsLinkIndicator_ = value; onChanged(); return this; } /** + * + * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; + * * @return This builder for chaining. */ public Builder clearLacsLinkIndicator() { - + lacsLinkIndicator_ = getDefaultInstance().getLacsLinkIndicator(); onChanged(); return this; } /** + * + * *
      * LACSLink indicator.
      * 
* * string lacs_link_indicator = 20; + * * @param value The bytes for lacsLinkIndicator to set. * @return This builder for chaining. */ - public Builder setLacsLinkIndicatorBytes( - com.google.protobuf.ByteString value) { + public Builder setLacsLinkIndicatorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lacsLinkIndicator_ = value; onChanged(); return this; } - private boolean poBoxOnlyPostalCode_ ; + private boolean poBoxOnlyPostalCode_; /** + * + * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; + * * @return The poBoxOnlyPostalCode. */ @java.lang.Override @@ -4452,30 +4789,36 @@ public boolean getPoBoxOnlyPostalCode() { return poBoxOnlyPostalCode_; } /** + * + * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; + * * @param value The poBoxOnlyPostalCode to set. * @return This builder for chaining. */ public Builder setPoBoxOnlyPostalCode(boolean value) { - + poBoxOnlyPostalCode_ = value; onChanged(); return this; } /** + * + * *
      * PO Box only postal code.
      * 
* * bool po_box_only_postal_code = 21; + * * @return This builder for chaining. */ public Builder clearPoBoxOnlyPostalCode() { - + poBoxOnlyPostalCode_ = false; onChanged(); return this; @@ -4483,6 +4826,8 @@ public Builder clearPoBoxOnlyPostalCode() { private java.lang.Object suitelinkFootnote_ = ""; /** + * + * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4491,13 +4836,13 @@ public Builder clearPoBoxOnlyPostalCode() {
      * 
* * string suitelink_footnote = 22; + * * @return The suitelinkFootnote. */ public java.lang.String getSuitelinkFootnote() { java.lang.Object ref = suitelinkFootnote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suitelinkFootnote_ = s; return s; @@ -4506,6 +4851,8 @@ public java.lang.String getSuitelinkFootnote() { } } /** + * + * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4514,15 +4861,14 @@ public java.lang.String getSuitelinkFootnote() {
      * 
* * string suitelink_footnote = 22; + * * @return The bytes for suitelinkFootnote. */ - public com.google.protobuf.ByteString - getSuitelinkFootnoteBytes() { + public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { java.lang.Object ref = suitelinkFootnote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suitelinkFootnote_ = b; return b; } else { @@ -4530,6 +4876,8 @@ public java.lang.String getSuitelinkFootnote() { } } /** + * + * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4538,20 +4886,22 @@ public java.lang.String getSuitelinkFootnote() {
      * 
* * string suitelink_footnote = 22; + * * @param value The suitelinkFootnote to set. * @return This builder for chaining. */ - public Builder setSuitelinkFootnote( - java.lang.String value) { + public Builder setSuitelinkFootnote(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suitelinkFootnote_ = value; onChanged(); return this; } /** + * + * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4560,15 +4910,18 @@ public Builder setSuitelinkFootnote(
      * 
* * string suitelink_footnote = 22; + * * @return This builder for chaining. */ public Builder clearSuitelinkFootnote() { - + suitelinkFootnote_ = getDefaultInstance().getSuitelinkFootnote(); onChanged(); return this; } /** + * + * *
      * Footnotes from matching a street or highrise record to suite information.
      * If business name match is found, the secondary number is returned.
@@ -4577,16 +4930,16 @@ public Builder clearSuitelinkFootnote() {
      * 
* * string suitelink_footnote = 22; + * * @param value The bytes for suitelinkFootnote to set. * @return This builder for chaining. */ - public Builder setSuitelinkFootnoteBytes( - com.google.protobuf.ByteString value) { + public Builder setSuitelinkFootnoteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suitelinkFootnote_ = value; onChanged(); return this; @@ -4594,18 +4947,20 @@ public Builder setSuitelinkFootnoteBytes( private java.lang.Object pmbDesignator_ = ""; /** + * + * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; + * * @return The pmbDesignator. */ public java.lang.String getPmbDesignator() { java.lang.Object ref = pmbDesignator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbDesignator_ = s; return s; @@ -4614,20 +4969,21 @@ public java.lang.String getPmbDesignator() { } } /** + * + * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; + * * @return The bytes for pmbDesignator. */ - public com.google.protobuf.ByteString - getPmbDesignatorBytes() { + public com.google.protobuf.ByteString getPmbDesignatorBytes() { java.lang.Object ref = pmbDesignator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pmbDesignator_ = b; return b; } else { @@ -4635,54 +4991,61 @@ public java.lang.String getPmbDesignator() { } } /** + * + * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; + * * @param value The pmbDesignator to set. * @return This builder for chaining. */ - public Builder setPmbDesignator( - java.lang.String value) { + public Builder setPmbDesignator(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pmbDesignator_ = value; onChanged(); return this; } /** + * + * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; + * * @return This builder for chaining. */ public Builder clearPmbDesignator() { - + pmbDesignator_ = getDefaultInstance().getPmbDesignator(); onChanged(); return this; } /** + * + * *
      * PMB (Private Mail Box) unit designator.
      * 
* * string pmb_designator = 23; + * * @param value The bytes for pmbDesignator to set. * @return This builder for chaining. */ - public Builder setPmbDesignatorBytes( - com.google.protobuf.ByteString value) { + public Builder setPmbDesignatorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pmbDesignator_ = value; onChanged(); return this; @@ -4690,18 +5053,20 @@ public Builder setPmbDesignatorBytes( private java.lang.Object pmbNumber_ = ""; /** + * + * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; + * * @return The pmbNumber. */ public java.lang.String getPmbNumber() { java.lang.Object ref = pmbNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pmbNumber_ = s; return s; @@ -4710,20 +5075,21 @@ public java.lang.String getPmbNumber() { } } /** + * + * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; + * * @return The bytes for pmbNumber. */ - public com.google.protobuf.ByteString - getPmbNumberBytes() { + public com.google.protobuf.ByteString getPmbNumberBytes() { java.lang.Object ref = pmbNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pmbNumber_ = b; return b; } else { @@ -4731,54 +5097,61 @@ public java.lang.String getPmbNumber() { } } /** + * + * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; + * * @param value The pmbNumber to set. * @return This builder for chaining. */ - public Builder setPmbNumber( - java.lang.String value) { + public Builder setPmbNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pmbNumber_ = value; onChanged(); return this; } /** + * + * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; + * * @return This builder for chaining. */ public Builder clearPmbNumber() { - + pmbNumber_ = getDefaultInstance().getPmbNumber(); onChanged(); return this; } /** + * + * *
      * PMB (Private Mail Box) number;
      * 
* * string pmb_number = 24; + * * @param value The bytes for pmbNumber to set. * @return This builder for chaining. */ - public Builder setPmbNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setPmbNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pmbNumber_ = value; onChanged(); return this; @@ -4786,6 +5159,8 @@ public Builder setPmbNumberBytes( private java.lang.Object addressRecordType_ = ""; /** + * + * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -4802,13 +5177,13 @@ public Builder setPmbNumberBytes(
      * 
* * string address_record_type = 25; + * * @return The addressRecordType. */ public java.lang.String getAddressRecordType() { java.lang.Object ref = addressRecordType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); addressRecordType_ = s; return s; @@ -4817,6 +5192,8 @@ public java.lang.String getAddressRecordType() { } } /** + * + * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -4833,15 +5210,14 @@ public java.lang.String getAddressRecordType() {
      * 
* * string address_record_type = 25; + * * @return The bytes for addressRecordType. */ - public com.google.protobuf.ByteString - getAddressRecordTypeBytes() { + public com.google.protobuf.ByteString getAddressRecordTypeBytes() { java.lang.Object ref = addressRecordType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); addressRecordType_ = b; return b; } else { @@ -4849,6 +5225,8 @@ public java.lang.String getAddressRecordType() { } } /** + * + * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -4865,20 +5243,22 @@ public java.lang.String getAddressRecordType() {
      * 
* * string address_record_type = 25; + * * @param value The addressRecordType to set. * @return This builder for chaining. */ - public Builder setAddressRecordType( - java.lang.String value) { + public Builder setAddressRecordType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + addressRecordType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -4895,15 +5275,18 @@ public Builder setAddressRecordType(
      * 
* * string address_record_type = 25; + * * @return This builder for chaining. */ public Builder clearAddressRecordType() { - + addressRecordType_ = getDefaultInstance().getAddressRecordType(); onChanged(); return this; } /** + * + * *
      * Type of the address record that matches the input address.
      * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -4920,29 +5303,32 @@ public Builder clearAddressRecordType() {
      * 
* * string address_record_type = 25; + * * @param value The bytes for addressRecordType to set. * @return This builder for chaining. */ - public Builder setAddressRecordTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAddressRecordTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + addressRecordType_ = value; onChanged(); return this; } - private boolean defaultAddress_ ; + private boolean defaultAddress_; /** + * + * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; + * * @return The defaultAddress. */ @java.lang.Override @@ -4950,32 +5336,38 @@ public boolean getDefaultAddress() { return defaultAddress_; } /** + * + * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; + * * @param value The defaultAddress to set. * @return This builder for chaining. */ public Builder setDefaultAddress(boolean value) { - + defaultAddress_ = value; onChanged(); return this; } /** + * + * *
      * Indicator that a default address was found, but more specific addresses
      * exists.
      * 
* * bool default_address = 26; + * * @return This builder for chaining. */ public Builder clearDefaultAddress() { - + defaultAddress_ = false; onChanged(); return this; @@ -4983,6 +5375,8 @@ public Builder clearDefaultAddress() { private java.lang.Object errorMessage_ = ""; /** + * + * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -4991,13 +5385,13 @@ public Builder clearDefaultAddress() {
      * 
* * string error_message = 27; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -5006,6 +5400,8 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5014,15 +5410,14 @@ public java.lang.String getErrorMessage() {
      * 
* * string error_message = 27; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -5030,6 +5425,8 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5038,20 +5435,22 @@ public java.lang.String getErrorMessage() {
      * 
* * string error_message = 27; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5060,15 +5459,18 @@ public Builder setErrorMessage(
      * 
* * string error_message = 27; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** + * + * *
      * Error message for USPS data retrieval. This is populated when USPS
      * processing is suspended because of the detection of artificially created
@@ -5077,28 +5479,31 @@ public Builder clearErrorMessage() {
      * 
* * string error_message = 27; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; onChanged(); return this; } - private boolean cassProcessed_ ; + private boolean cassProcessed_; /** + * + * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; + * * @return The cassProcessed. */ @java.lang.Override @@ -5106,37 +5511,43 @@ public boolean getCassProcessed() { return cassProcessed_; } /** + * + * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; + * * @param value The cassProcessed to set. * @return This builder for chaining. */ public Builder setCassProcessed(boolean value) { - + cassProcessed_ = value; onChanged(); return this; } /** + * + * *
      * Indicator that the request has been CASS processed.
      * 
* * bool cass_processed = 28; + * * @return This builder for chaining. */ public Builder clearCassProcessed() { - + cassProcessed_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5146,12 +5557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.UspsData) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.UspsData) private static final com.google.maps.addressvalidation.v1.UspsData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.UspsData(); } @@ -5160,27 +5571,27 @@ public static com.google.maps.addressvalidation.v1.UspsData getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UspsData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UspsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5195,6 +5606,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.UspsData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java similarity index 86% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java index 9b469444a9b7..f53eb9d1b5bf 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/usps_data.proto package com.google.maps.addressvalidation.v1; -public interface UspsDataOrBuilder extends +public interface UspsDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.UspsData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return Whether the standardizedAddress field is set. */ boolean hasStandardizedAddress(); /** + * + * *
    * USPS standardized address.
    * 
* * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * * @return The standardizedAddress. */ com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress(); /** + * + * *
    * USPS standardized address.
    * 
@@ -35,26 +59,33 @@ public interface UspsDataOrBuilder extends com.google.maps.addressvalidation.v1.UspsAddressOrBuilder getStandardizedAddressOrBuilder(); /** + * + * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; + * * @return The deliveryPointCode. */ java.lang.String getDeliveryPointCode(); /** + * + * *
    * 2 digit delivery point code
    * 
* * string delivery_point_code = 2; + * * @return The bytes for deliveryPointCode. */ - com.google.protobuf.ByteString - getDeliveryPointCodeBytes(); + com.google.protobuf.ByteString getDeliveryPointCodeBytes(); /** + * + * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -63,10 +94,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string delivery_point_check_digit = 3; + * * @return The deliveryPointCheckDigit. */ java.lang.String getDeliveryPointCheckDigit(); /** + * + * *
    * The delivery point check digit. This number is added to the end of the
    * delivery_point_barcode for mechanically scanned mail. Adding all the
@@ -75,12 +109,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string delivery_point_check_digit = 3; + * * @return The bytes for deliveryPointCheckDigit. */ - com.google.protobuf.ByteString - getDeliveryPointCheckDigitBytes(); + com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes(); /** + * + * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -93,10 +129,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_confirmation = 4; + * * @return The dpvConfirmation. */ java.lang.String getDpvConfirmation(); /** + * + * *
    * The possible values for DPV confirmation. Returns a single character.
    * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
@@ -109,12 +148,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_confirmation = 4; + * * @return The bytes for dpvConfirmation. */ - com.google.protobuf.ByteString - getDpvConfirmationBytes(); + com.google.protobuf.ByteString getDpvConfirmationBytes(); /** + * + * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -137,10 +178,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_footnote = 5; + * * @return The dpvFootnote. */ java.lang.String getDpvFootnote(); /** + * + * *
    * The footnotes from delivery point validation.
    * Multiple footnotes may be strung together in the same string.
@@ -163,12 +207,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_footnote = 5; + * * @return The bytes for dpvFootnote. */ - com.google.protobuf.ByteString - getDpvFootnoteBytes(); + com.google.protobuf.ByteString getDpvFootnoteBytes(); /** + * + * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -177,10 +223,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_cmra = 6; + * * @return The dpvCmra. */ java.lang.String getDpvCmra(); /** + * + * *
    * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
    * private business receiving mail for clients. Returns a single character.
@@ -189,12 +238,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_cmra = 6; + * * @return The bytes for dpvCmra. */ - com.google.protobuf.ByteString - getDpvCmraBytes(); + com.google.protobuf.ByteString getDpvCmraBytes(); /** + * + * *
    * Is this place vacant?
    * Returns a single character.
@@ -203,10 +254,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_vacant = 7; + * * @return The dpvVacant. */ java.lang.String getDpvVacant(); /** + * + * *
    * Is this place vacant?
    * Returns a single character.
@@ -215,12 +269,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_vacant = 7; + * * @return The bytes for dpvVacant. */ - com.google.protobuf.ByteString - getDpvVacantBytes(); + com.google.protobuf.ByteString getDpvVacantBytes(); /** + * + * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -230,10 +286,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_no_stat = 8; + * * @return The dpvNoStat. */ java.lang.String getDpvNoStat(); /** + * + * *
    * Is this a no stat address or an active address?
    * No stat addresses are ones which are not continuously occupied or addresses
@@ -243,12 +302,14 @@ public interface UspsDataOrBuilder extends
    * 
* * string dpv_no_stat = 8; + * * @return The bytes for dpvNoStat. */ - com.google.protobuf.ByteString - getDpvNoStatBytes(); + com.google.protobuf.ByteString getDpvNoStatBytes(); /** + * + * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -262,10 +323,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string carrier_route = 9; + * * @return The carrierRoute. */ java.lang.String getCarrierRoute(); /** + * + * *
    * The carrier route code.
    * A four character code consisting of a one letter prefix and a three digit
@@ -279,233 +343,291 @@ public interface UspsDataOrBuilder extends
    * 
* * string carrier_route = 9; + * * @return The bytes for carrierRoute. */ - com.google.protobuf.ByteString - getCarrierRouteBytes(); + com.google.protobuf.ByteString getCarrierRouteBytes(); /** + * + * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; + * * @return The carrierRouteIndicator. */ java.lang.String getCarrierRouteIndicator(); /** + * + * *
    * Carrier route rate sort indicator.
    * 
* * string carrier_route_indicator = 10; + * * @return The bytes for carrierRouteIndicator. */ - com.google.protobuf.ByteString - getCarrierRouteIndicatorBytes(); + com.google.protobuf.ByteString getCarrierRouteIndicatorBytes(); /** + * + * *
    * The delivery address is matchable, but the EWS file indicates that an exact
    * match will be available soon.
    * 
* * bool ews_no_match = 11; + * * @return The ewsNoMatch. */ boolean getEwsNoMatch(); /** + * + * *
    * Main post office city.
    * 
* * string post_office_city = 12; + * * @return The postOfficeCity. */ java.lang.String getPostOfficeCity(); /** + * + * *
    * Main post office city.
    * 
* * string post_office_city = 12; + * * @return The bytes for postOfficeCity. */ - com.google.protobuf.ByteString - getPostOfficeCityBytes(); + com.google.protobuf.ByteString getPostOfficeCityBytes(); /** + * + * *
    * Main post office state.
    * 
* * string post_office_state = 13; + * * @return The postOfficeState. */ java.lang.String getPostOfficeState(); /** + * + * *
    * Main post office state.
    * 
* * string post_office_state = 13; + * * @return The bytes for postOfficeState. */ - com.google.protobuf.ByteString - getPostOfficeStateBytes(); + com.google.protobuf.ByteString getPostOfficeStateBytes(); /** + * + * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; + * * @return The abbreviatedCity. */ java.lang.String getAbbreviatedCity(); /** + * + * *
    * Abbreviated city.
    * 
* * string abbreviated_city = 14; + * * @return The bytes for abbreviatedCity. */ - com.google.protobuf.ByteString - getAbbreviatedCityBytes(); + com.google.protobuf.ByteString getAbbreviatedCityBytes(); /** + * + * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; + * * @return The fipsCountyCode. */ java.lang.String getFipsCountyCode(); /** + * + * *
    * FIPS county code.
    * 
* * string fips_county_code = 15; + * * @return The bytes for fipsCountyCode. */ - com.google.protobuf.ByteString - getFipsCountyCodeBytes(); + com.google.protobuf.ByteString getFipsCountyCodeBytes(); /** + * + * *
    * County name.
    * 
* * string county = 16; + * * @return The county. */ java.lang.String getCounty(); /** + * + * *
    * County name.
    * 
* * string county = 16; + * * @return The bytes for county. */ - com.google.protobuf.ByteString - getCountyBytes(); + com.google.protobuf.ByteString getCountyBytes(); /** + * + * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; + * * @return The elotNumber. */ java.lang.String getElotNumber(); /** + * + * *
    * Enhanced Line of Travel (eLOT) number.
    * 
* * string elot_number = 17; + * * @return The bytes for elotNumber. */ - com.google.protobuf.ByteString - getElotNumberBytes(); + com.google.protobuf.ByteString getElotNumberBytes(); /** + * + * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; + * * @return The elotFlag. */ java.lang.String getElotFlag(); /** + * + * *
    * eLOT Ascending/Descending Flag (A/D).
    * 
* * string elot_flag = 18; + * * @return The bytes for elotFlag. */ - com.google.protobuf.ByteString - getElotFlagBytes(); + com.google.protobuf.ByteString getElotFlagBytes(); /** + * + * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; + * * @return The lacsLinkReturnCode. */ java.lang.String getLacsLinkReturnCode(); /** + * + * *
    * LACSLink return code.
    * 
* * string lacs_link_return_code = 19; + * * @return The bytes for lacsLinkReturnCode. */ - com.google.protobuf.ByteString - getLacsLinkReturnCodeBytes(); + com.google.protobuf.ByteString getLacsLinkReturnCodeBytes(); /** + * + * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; + * * @return The lacsLinkIndicator. */ java.lang.String getLacsLinkIndicator(); /** + * + * *
    * LACSLink indicator.
    * 
* * string lacs_link_indicator = 20; + * * @return The bytes for lacsLinkIndicator. */ - com.google.protobuf.ByteString - getLacsLinkIndicatorBytes(); + com.google.protobuf.ByteString getLacsLinkIndicatorBytes(); /** + * + * *
    * PO Box only postal code.
    * 
* * bool po_box_only_postal_code = 21; + * * @return The poBoxOnlyPostalCode. */ boolean getPoBoxOnlyPostalCode(); /** + * + * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -514,10 +636,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string suitelink_footnote = 22; + * * @return The suitelinkFootnote. */ java.lang.String getSuitelinkFootnote(); /** + * + * *
    * Footnotes from matching a street or highrise record to suite information.
    * If business name match is found, the secondary number is returned.
@@ -526,52 +651,64 @@ public interface UspsDataOrBuilder extends
    * 
* * string suitelink_footnote = 22; + * * @return The bytes for suitelinkFootnote. */ - com.google.protobuf.ByteString - getSuitelinkFootnoteBytes(); + com.google.protobuf.ByteString getSuitelinkFootnoteBytes(); /** + * + * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; + * * @return The pmbDesignator. */ java.lang.String getPmbDesignator(); /** + * + * *
    * PMB (Private Mail Box) unit designator.
    * 
* * string pmb_designator = 23; + * * @return The bytes for pmbDesignator. */ - com.google.protobuf.ByteString - getPmbDesignatorBytes(); + com.google.protobuf.ByteString getPmbDesignatorBytes(); /** + * + * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; + * * @return The pmbNumber. */ java.lang.String getPmbNumber(); /** + * + * *
    * PMB (Private Mail Box) number;
    * 
* * string pmb_number = 24; + * * @return The bytes for pmbNumber. */ - com.google.protobuf.ByteString - getPmbNumberBytes(); + com.google.protobuf.ByteString getPmbNumberBytes(); /** + * + * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -588,10 +725,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string address_record_type = 25; + * * @return The addressRecordType. */ java.lang.String getAddressRecordType(); /** + * + * *
    * Type of the address record that matches the input address.
    * * `F`: FIRM. This is a match to a Firm Record, which is the finest level of
@@ -608,23 +748,28 @@ public interface UspsDataOrBuilder extends
    * 
* * string address_record_type = 25; + * * @return The bytes for addressRecordType. */ - com.google.protobuf.ByteString - getAddressRecordTypeBytes(); + com.google.protobuf.ByteString getAddressRecordTypeBytes(); /** + * + * *
    * Indicator that a default address was found, but more specific addresses
    * exists.
    * 
* * bool default_address = 26; + * * @return The defaultAddress. */ boolean getDefaultAddress(); /** + * + * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -633,10 +778,13 @@ public interface UspsDataOrBuilder extends
    * 
* * string error_message = 27; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
    * Error message for USPS data retrieval. This is populated when USPS
    * processing is suspended because of the detection of artificially created
@@ -645,17 +793,20 @@ public interface UspsDataOrBuilder extends
    * 
* * string error_message = 27; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); /** + * + * *
    * Indicator that the request has been CASS processed.
    * 
* * bool cass_processed = 28; + * * @return The cassProcessed. */ boolean getCassProcessed(); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java new file mode 100644 index 000000000000..4170ffa9e05c --- /dev/null +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java @@ -0,0 +1,139 @@ +/* + * 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/usps_data.proto + +package com.google.maps.addressvalidation.v1; + +public final class UspsDataProto { + private UspsDataProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n0google/maps/addressvalidation/v1/usps_" + + "data.proto\022 google.maps.addressvalidatio" + + "n.v1\"\332\001\n\013UspsAddress\022\032\n\022first_address_li" + + "ne\030\001 \001(\t\022\014\n\004firm\030\002 \001(\t\022\033\n\023second_address" + + "_line\030\003 \001(\t\022\024\n\014urbanization\030\004 \001(\t\022#\n\033cit" + + "y_state_zip_address_line\030\005 \001(\t\022\014\n\004city\030\006" + + " \001(\t\022\r\n\005state\030\007 \001(\t\022\020\n\010zip_code\030\010 \001(\t\022\032\n" + + "\022zip_code_extension\030\t \001(\t\"\374\005\n\010UspsData\022K" + + "\n\024standardized_address\030\001 \001(\0132-.google.ma" + + "ps.addressvalidation.v1.UspsAddress\022\033\n\023d" + + "elivery_point_code\030\002 \001(\t\022\"\n\032delivery_poi" + + "nt_check_digit\030\003 \001(\t\022\030\n\020dpv_confirmation" + + "\030\004 \001(\t\022\024\n\014dpv_footnote\030\005 \001(\t\022\020\n\010dpv_cmra" + + "\030\006 \001(\t\022\022\n\ndpv_vacant\030\007 \001(\t\022\023\n\013dpv_no_sta" + + "t\030\010 \001(\t\022\025\n\rcarrier_route\030\t \001(\t\022\037\n\027carrie" + + "r_route_indicator\030\n \001(\t\022\024\n\014ews_no_match\030" + + "\013 \001(\010\022\030\n\020post_office_city\030\014 \001(\t\022\031\n\021post_" + + "office_state\030\r \001(\t\022\030\n\020abbreviated_city\030\016" + + " \001(\t\022\030\n\020fips_county_code\030\017 \001(\t\022\016\n\006county" + + "\030\020 \001(\t\022\023\n\013elot_number\030\021 \001(\t\022\021\n\telot_flag" + + "\030\022 \001(\t\022\035\n\025lacs_link_return_code\030\023 \001(\t\022\033\n" + + "\023lacs_link_indicator\030\024 \001(\t\022\037\n\027po_box_onl" + + "y_postal_code\030\025 \001(\010\022\032\n\022suitelink_footnot" + + "e\030\026 \001(\t\022\026\n\016pmb_designator\030\027 \001(\t\022\022\n\npmb_n" + + "umber\030\030 \001(\t\022\033\n\023address_record_type\030\031 \001(\t" + + "\022\027\n\017default_address\030\032 \001(\010\022\025\n\rerror_messa" + + "ge\030\033 \001(\t\022\026\n\016cass_processed\030\034 \001(\010B\203\002\n$com" + + ".google.maps.addressvalidation.v1B\rUspsD" + + "ataProtoP\001ZQgoogle.golang.org/genproto/g" + + "oogleapis/maps/addressvalidation/v1;addr" + + "essvalidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps" + + ".AddressValidation.V1\312\002 Google\\Maps\\Addr" + + "essValidation\\V1\352\002#Google::Maps::Address" + + "Validation::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor, + new java.lang.String[] { + "FirstAddressLine", + "Firm", + "SecondAddressLine", + "Urbanization", + "CityStateZipAddressLine", + "City", + "State", + "ZipCode", + "ZipCodeExtension", + }); + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_addressvalidation_v1_UspsData_descriptor, + new java.lang.String[] { + "StandardizedAddress", + "DeliveryPointCode", + "DeliveryPointCheckDigit", + "DpvConfirmation", + "DpvFootnote", + "DpvCmra", + "DpvVacant", + "DpvNoStat", + "CarrierRoute", + "CarrierRouteIndicator", + "EwsNoMatch", + "PostOfficeCity", + "PostOfficeState", + "AbbreviatedCity", + "FipsCountyCode", + "County", + "ElotNumber", + "ElotFlag", + "LacsLinkReturnCode", + "LacsLinkIndicator", + "PoBoxOnlyPostalCode", + "SuitelinkFootnote", + "PmbDesignator", + "PmbNumber", + "AddressRecordType", + "DefaultAddress", + "ErrorMessage", + "CassProcessed", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java similarity index 80% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java index 9eb2f569011c..361441d8b518 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java @@ -1,56 +1,77 @@ +/* + * 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; /** + * + * *
  * The request for validating an address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressRequest} */ -public final class ValidateAddressRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ValidateAddressRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidateAddressRequest) ValidateAddressRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValidateAddressRequest.newBuilder() to construct. private ValidateAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ValidateAddressRequest() { previousResponseId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValidateAddressRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, + com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress address_; /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -69,6 +90,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the address field is set. */ @java.lang.Override @@ -76,6 +98,8 @@ public boolean hasAddress() { return address_ != null; } /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -94,6 +118,7 @@ public boolean hasAddress() {
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The address. */ @java.lang.Override @@ -101,6 +126,8 @@ public com.google.type.PostalAddress getAddress() { return address_ == null ? com.google.type.PostalAddress.getDefaultInstance() : address_; } /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -128,6 +155,8 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
   public static final int PREVIOUS_RESPONSE_ID_FIELD_NUMBER = 2;
   private volatile java.lang.Object previousResponseId_;
   /**
+   *
+   *
    * 
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -139,6 +168,7 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
    * 
* * string previous_response_id = 2; + * * @return The previousResponseId. */ @java.lang.Override @@ -147,14 +177,15 @@ public java.lang.String getPreviousResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResponseId_ = s; return s; } } /** + * + * *
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -166,16 +197,15 @@ public java.lang.String getPreviousResponseId() {
    * 
* * string previous_response_id = 2; + * * @return The bytes for previousResponseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPreviousResponseIdBytes() { + public com.google.protobuf.ByteString getPreviousResponseIdBytes() { java.lang.Object ref = previousResponseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); previousResponseId_ = b; return b; } else { @@ -186,6 +216,8 @@ public java.lang.String getPreviousResponseId() { public static final int ENABLE_USPS_CASS_FIELD_NUMBER = 3; private boolean enableUspsCass_; /** + * + * *
    * Enables USPS CASS compatible mode. This affects _only_ the
    * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -201,6 +233,7 @@ public java.lang.String getPreviousResponseId() {
    * 
* * bool enable_usps_cass = 3; + * * @return The enableUspsCass. */ @java.lang.Override @@ -209,6 +242,7 @@ public boolean getEnableUspsCass() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (address_ != null) { output.writeMessage(1, getAddress()); } @@ -241,15 +274,13 @@ public int getSerializedSize() { size = 0; if (address_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousResponseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, previousResponseId_); } if (enableUspsCass_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, enableUspsCass_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableUspsCass_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -259,22 +290,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidateAddressRequest)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ValidateAddressRequest other = (com.google.maps.addressvalidation.v1.ValidateAddressRequest) obj; + com.google.maps.addressvalidation.v1.ValidateAddressRequest other = + (com.google.maps.addressvalidation.v1.ValidateAddressRequest) obj; if (hasAddress() != other.hasAddress()) return false; if (hasAddress()) { - if (!getAddress() - .equals(other.getAddress())) return false; + if (!getAddress().equals(other.getAddress())) return false; } - if (!getPreviousResponseId() - .equals(other.getPreviousResponseId())) return false; - if (getEnableUspsCass() - != other.getEnableUspsCass()) return false; + if (!getPreviousResponseId().equals(other.getPreviousResponseId())) return false; + if (getEnableUspsCass() != other.getEnableUspsCass()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,137 +322,143 @@ public int hashCode() { hash = (37 * hash) + PREVIOUS_RESPONSE_ID_FIELD_NUMBER; hash = (53 * hash) + getPreviousResponseId().hashCode(); hash = (37 * hash) + ENABLE_USPS_CASS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableUspsCass()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableUspsCass()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidateAddressRequest prototype) { + + public static Builder newBuilder( + com.google.maps.addressvalidation.v1.ValidateAddressRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for validating an address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidateAddressRequest) com.google.maps.addressvalidation.v1.ValidateAddressRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, + com.google.maps.addressvalidation.v1.ValidateAddressRequest.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidateAddressRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; } @java.lang.Override @@ -462,7 +497,8 @@ public com.google.maps.addressvalidation.v1.ValidateAddressRequest build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidateAddressRequest buildPartial() { - com.google.maps.addressvalidation.v1.ValidateAddressRequest result = new com.google.maps.addressvalidation.v1.ValidateAddressRequest(this); + com.google.maps.addressvalidation.v1.ValidateAddressRequest result = + new com.google.maps.addressvalidation.v1.ValidateAddressRequest(this); if (addressBuilder_ == null) { result.address_ = address_; } else { @@ -478,38 +514,39 @@ public com.google.maps.addressvalidation.v1.ValidateAddressRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidateAddressRequest) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressRequest)other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressRequest) other); } else { super.mergeFrom(other); return this; @@ -517,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidateAddressRequest other) { - if (other == com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance()) + return this; if (other.hasAddress()) { mergeAddress(other.getAddress()); } @@ -554,29 +592,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAddressFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getAddressFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - previousResponseId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + previousResponseId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - enableUspsCass_ = input.readBool(); + break; + } // case 18 + case 24: + { + enableUspsCass_ = input.readBool(); - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,8 +629,13 @@ public Builder mergeFrom( private com.google.type.PostalAddress address_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> addressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + addressBuilder_; /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -608,13 +653,17 @@ public Builder mergeFrom(
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the address field is set. */ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -632,7 +681,9 @@ public boolean hasAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The address. */ public com.google.type.PostalAddress getAddress() { @@ -643,6 +694,8 @@ public com.google.type.PostalAddress getAddress() { } } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -660,7 +713,8 @@ public com.google.type.PostalAddress getAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAddress(com.google.type.PostalAddress value) { if (addressBuilder_ == null) { @@ -676,6 +730,8 @@ public Builder setAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -693,10 +749,10 @@ public Builder setAddress(com.google.type.PostalAddress value) {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setAddress(com.google.type.PostalAddress.Builder builderForValue) { if (addressBuilder_ == null) { address_ = builderForValue.build(); onChanged(); @@ -707,6 +763,8 @@ public Builder setAddress( return this; } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -724,13 +782,14 @@ public Builder setAddress(
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAddress(com.google.type.PostalAddress value) { if (addressBuilder_ == null) { if (address_ != null) { address_ = - com.google.type.PostalAddress.newBuilder(address_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(address_).mergeFrom(value).buildPartial(); } else { address_ = value; } @@ -742,6 +801,8 @@ public Builder mergeAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -759,7 +820,8 @@ public Builder mergeAddress(com.google.type.PostalAddress value) {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAddress() { if (addressBuilder_ == null) { @@ -773,6 +835,8 @@ public Builder clearAddress() { return this; } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -790,14 +854,17 @@ public Builder clearAddress() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddress.Builder getAddressBuilder() { - + onChanged(); return getAddressFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -815,17 +882,19 @@ public com.google.type.PostalAddress.Builder getAddressBuilder() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() { if (addressBuilder_ != null) { return addressBuilder_.getMessageOrBuilder(); } else { - return address_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : address_; + return address_ == null ? com.google.type.PostalAddress.getDefaultInstance() : address_; } } /** + * + * *
      * Required. The address being validated. Unformatted addresses should be
      * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -843,17 +912,21 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
      * fields will be discarded and not returned. Please do not set them.
      * 
* - * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getAddressFieldBuilder() { if (addressBuilder_ == null) { - addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getAddress(), - getParentForChildren(), - isClean()); + addressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getAddress(), getParentForChildren(), isClean()); address_ = null; } return addressBuilder_; @@ -861,6 +934,8 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() { private java.lang.Object previousResponseId_ = ""; /** + * + * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -872,13 +947,13 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() {
      * 
* * string previous_response_id = 2; + * * @return The previousResponseId. */ public java.lang.String getPreviousResponseId() { java.lang.Object ref = previousResponseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResponseId_ = s; return s; @@ -887,6 +962,8 @@ public java.lang.String getPreviousResponseId() { } } /** + * + * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -898,15 +975,14 @@ public java.lang.String getPreviousResponseId() {
      * 
* * string previous_response_id = 2; + * * @return The bytes for previousResponseId. */ - public com.google.protobuf.ByteString - getPreviousResponseIdBytes() { + public com.google.protobuf.ByteString getPreviousResponseIdBytes() { java.lang.Object ref = previousResponseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); previousResponseId_ = b; return b; } else { @@ -914,6 +990,8 @@ public java.lang.String getPreviousResponseId() { } } /** + * + * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -925,20 +1003,22 @@ public java.lang.String getPreviousResponseId() {
      * 
* * string previous_response_id = 2; + * * @param value The previousResponseId to set. * @return This builder for chaining. */ - public Builder setPreviousResponseId( - java.lang.String value) { + public Builder setPreviousResponseId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + previousResponseId_ = value; onChanged(); return this; } /** + * + * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -950,15 +1030,18 @@ public Builder setPreviousResponseId(
      * 
* * string previous_response_id = 2; + * * @return This builder for chaining. */ public Builder clearPreviousResponseId() { - + previousResponseId_ = getDefaultInstance().getPreviousResponseId(); onChanged(); return this; } /** + * + * *
      * This field must be empty for the first address validation request. If
      * more requests are necessary to fully validate a single address (for
@@ -970,23 +1053,25 @@ public Builder clearPreviousResponseId() {
      * 
* * string previous_response_id = 2; + * * @param value The bytes for previousResponseId to set. * @return This builder for chaining. */ - public Builder setPreviousResponseIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPreviousResponseIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + previousResponseId_ = value; onChanged(); return this; } - private boolean enableUspsCass_ ; + private boolean enableUspsCass_; /** + * + * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1002,6 +1087,7 @@ public Builder setPreviousResponseIdBytes(
      * 
* * bool enable_usps_cass = 3; + * * @return The enableUspsCass. */ @java.lang.Override @@ -1009,6 +1095,8 @@ public boolean getEnableUspsCass() { return enableUspsCass_; } /** + * + * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1024,16 +1112,19 @@ public boolean getEnableUspsCass() {
      * 
* * bool enable_usps_cass = 3; + * * @param value The enableUspsCass to set. * @return This builder for chaining. */ public Builder setEnableUspsCass(boolean value) { - + enableUspsCass_ = value; onChanged(); return this; } /** + * + * *
      * Enables USPS CASS compatible mode. This affects _only_ the
      * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -1049,17 +1140,18 @@ public Builder setEnableUspsCass(boolean value) {
      * 
* * bool enable_usps_cass = 3; + * * @return This builder for chaining. */ public Builder clearEnableUspsCass() { - + enableUspsCass_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidateAddressRequest) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidateAddressRequest) private static final com.google.maps.addressvalidation.v1.ValidateAddressRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidateAddressRequest(); } @@ -1083,27 +1175,27 @@ public static com.google.maps.addressvalidation.v1.ValidateAddressRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAddressRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAddressRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,6 +1210,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ValidateAddressRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java index 17e5c3eb3274..59492f15c1ac 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 ValidateAddressRequestOrBuilder extends +public interface ValidateAddressRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidateAddressRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -26,10 +44,13 @@ public interface ValidateAddressRequestOrBuilder extends
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the address field is set. */ boolean hasAddress(); /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -48,10 +69,13 @@ public interface ValidateAddressRequestOrBuilder extends
    * 
* * .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The address. */ com.google.type.PostalAddress getAddress(); /** + * + * *
    * Required. The address being validated. Unformatted addresses should be
    * submitted via [`address_lines`][google.type.PostalAddress.address_lines].
@@ -74,6 +98,8 @@ public interface ValidateAddressRequestOrBuilder extends
   com.google.type.PostalAddressOrBuilder getAddressOrBuilder();
 
   /**
+   *
+   *
    * 
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -85,10 +111,13 @@ public interface ValidateAddressRequestOrBuilder extends
    * 
* * string previous_response_id = 2; + * * @return The previousResponseId. */ java.lang.String getPreviousResponseId(); /** + * + * *
    * This field must be empty for the first address validation request. If
    * more requests are necessary to fully validate a single address (for
@@ -100,12 +129,14 @@ public interface ValidateAddressRequestOrBuilder extends
    * 
* * string previous_response_id = 2; + * * @return The bytes for previousResponseId. */ - com.google.protobuf.ByteString - getPreviousResponseIdBytes(); + com.google.protobuf.ByteString getPreviousResponseIdBytes(); /** + * + * *
    * Enables USPS CASS compatible mode. This affects _only_ the
    * [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of
@@ -121,6 +152,7 @@ public interface ValidateAddressRequestOrBuilder extends
    * 
* * bool enable_usps_cass = 3; + * * @return The enableUspsCass. */ boolean getEnableUspsCass(); diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java similarity index 69% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java index f83873206499..cf031769f260 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponse.java @@ -1,61 +1,83 @@ +/* + * 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; /** + * + * *
  * The response to an address validation request.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressResponse} */ -public final class ValidateAddressResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ValidateAddressResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidateAddressResponse) ValidateAddressResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValidateAddressResponse.newBuilder() to construct. private ValidateAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ValidateAddressResponse() { responseId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValidateAddressResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, + com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.ValidationResult result_; /** + * + * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return Whether the result field is set. */ @java.lang.Override @@ -63,18 +85,25 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return The result. */ @java.lang.Override public com.google.maps.addressvalidation.v1.ValidationResult getResult() { - return result_ == null ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() + : result_; } /** + * + * *
    * The result of the address validation.
    * 
@@ -89,12 +118,15 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO public static final int RESPONSE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object responseId_; /** + * + * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; + * * @return The responseId. */ @java.lang.Override @@ -103,30 +135,30 @@ public java.lang.String getResponseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; } } /** + * + * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; + * * @return The bytes for responseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponseIdBytes() { + public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responseId_ = b; return b; } else { @@ -135,6 +167,7 @@ public java.lang.String getResponseId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -164,8 +196,7 @@ public int getSerializedSize() { size = 0; if (result_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, responseId_); @@ -178,20 +209,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidateAddressResponse)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.ValidateAddressResponse other = (com.google.maps.addressvalidation.v1.ValidateAddressResponse) obj; + com.google.maps.addressvalidation.v1.ValidateAddressResponse other = + (com.google.maps.addressvalidation.v1.ValidateAddressResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } - if (!getResponseId() - .equals(other.getResponseId())) return false; + if (!getResponseId().equals(other.getResponseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,129 +245,136 @@ public int hashCode() { } public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.ValidateAddressResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidateAddressResponse prototype) { + + public static Builder newBuilder( + com.google.maps.addressvalidation.v1.ValidateAddressResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response to an address validation request.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidateAddressResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidateAddressResponse) com.google.maps.addressvalidation.v1.ValidateAddressResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); + com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, + com.google.maps.addressvalidation.v1.ValidateAddressResponse.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidateAddressResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +390,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; } @java.lang.Override - public com.google.maps.addressvalidation.v1.ValidateAddressResponse getDefaultInstanceForType() { + public com.google.maps.addressvalidation.v1.ValidateAddressResponse + getDefaultInstanceForType() { return com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance(); } @@ -374,7 +412,8 @@ public com.google.maps.addressvalidation.v1.ValidateAddressResponse build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidateAddressResponse buildPartial() { - com.google.maps.addressvalidation.v1.ValidateAddressResponse result = new com.google.maps.addressvalidation.v1.ValidateAddressResponse(this); + com.google.maps.addressvalidation.v1.ValidateAddressResponse result = + new com.google.maps.addressvalidation.v1.ValidateAddressResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -389,38 +428,39 @@ public com.google.maps.addressvalidation.v1.ValidateAddressResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidateAddressResponse) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressResponse)other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidateAddressResponse) other); } else { super.mergeFrom(other); return this; @@ -428,7 +468,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidateAddressResponse other) { - if (other == com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance()) return this; + if (other + == com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance()) + return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -462,24 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getResultFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - responseId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + responseId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,34 +535,47 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.ValidationResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> resultBuilder_; + com.google.maps.addressvalidation.v1.ValidationResult, + com.google.maps.addressvalidation.v1.ValidationResult.Builder, + com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> + resultBuilder_; /** + * + * *
      * The result of the address validation.
      * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** + * + * *
      * The result of the address validation.
      * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return The result. */ public com.google.maps.addressvalidation.v1.ValidationResult getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * The result of the address validation.
      * 
@@ -540,6 +596,8 @@ public Builder setResult(com.google.maps.addressvalidation.v1.ValidationResult v return this; } /** + * + * *
      * The result of the address validation.
      * 
@@ -558,6 +616,8 @@ public Builder setResult( return this; } /** + * + * *
      * The result of the address validation.
      * 
@@ -568,7 +628,9 @@ public Builder mergeResult(com.google.maps.addressvalidation.v1.ValidationResult if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.maps.addressvalidation.v1.ValidationResult.newBuilder(result_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.ValidationResult.newBuilder(result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -580,6 +642,8 @@ public Builder mergeResult(com.google.maps.addressvalidation.v1.ValidationResult return this; } /** + * + * *
      * The result of the address validation.
      * 
@@ -598,6 +662,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * The result of the address validation.
      * 
@@ -605,11 +671,13 @@ public Builder clearResult() { * .google.maps.addressvalidation.v1.ValidationResult result = 1; */ public com.google.maps.addressvalidation.v1.ValidationResult.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * The result of the address validation.
      * 
@@ -620,11 +688,14 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance() + : result_; } } /** + * + * *
      * The result of the address validation.
      * 
@@ -632,14 +703,17 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO * .google.maps.addressvalidation.v1.ValidationResult result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> + com.google.maps.addressvalidation.v1.ValidationResult, + com.google.maps.addressvalidation.v1.ValidationResult.Builder, + com.google.maps.addressvalidation.v1.ValidationResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.ValidationResult, com.google.maps.addressvalidation.v1.ValidationResult.Builder, com.google.maps.addressvalidation.v1.ValidationResultOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.ValidationResult, + com.google.maps.addressvalidation.v1.ValidationResult.Builder, + com.google.maps.addressvalidation.v1.ValidationResultOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; @@ -647,19 +721,21 @@ public com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultO private java.lang.Object responseId_ = ""; /** + * + * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; + * * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responseId_ = s; return s; @@ -668,21 +744,22 @@ public java.lang.String getResponseId() { } } /** + * + * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; + * * @return The bytes for responseId. */ - public com.google.protobuf.ByteString - getResponseIdBytes() { + public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responseId_ = b; return b; } else { @@ -690,64 +767,71 @@ public java.lang.String getResponseId() { } } /** + * + * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; + * * @param value The responseId to set. * @return This builder for chaining. */ - public Builder setResponseId( - java.lang.String value) { + public Builder setResponseId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responseId_ = value; onChanged(); return this; } /** + * + * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; + * * @return This builder for chaining. */ public Builder clearResponseId() { - + responseId_ = getDefaultInstance().getResponseId(); onChanged(); return this; } /** + * + * *
      * The UUID that identifies this response. If the address needs to be
      * re-validated, this UUID *must* accompany the new request.
      * 
* * string response_id = 2; + * * @param value The bytes for responseId to set. * @return This builder for chaining. */ - public Builder setResponseIdBytes( - com.google.protobuf.ByteString value) { + public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -757,12 +841,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidateAddressResponse) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidateAddressResponse) - private static final com.google.maps.addressvalidation.v1.ValidateAddressResponse DEFAULT_INSTANCE; + private static final com.google.maps.addressvalidation.v1.ValidateAddressResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidateAddressResponse(); } @@ -771,27 +856,27 @@ public static com.google.maps.addressvalidation.v1.ValidateAddressResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAddressResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAddressResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -806,6 +891,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.ValidateAddressResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java index 7473761a373b..d782edb686f8 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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 ValidateAddressResponseOrBuilder extends +public interface ValidateAddressResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidateAddressResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * The result of the address validation.
    * 
* * .google.maps.addressvalidation.v1.ValidationResult result = 1; + * * @return The result. */ com.google.maps.addressvalidation.v1.ValidationResult getResult(); /** + * + * *
    * The result of the address validation.
    * 
@@ -35,24 +59,29 @@ public interface ValidateAddressResponseOrBuilder extends com.google.maps.addressvalidation.v1.ValidationResultOrBuilder getResultOrBuilder(); /** + * + * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; + * * @return The responseId. */ java.lang.String getResponseId(); /** + * + * *
    * The UUID that identifies this response. If the address needs to be
    * re-validated, this UUID *must* accompany the new request.
    * 
* * string response_id = 2; + * * @return The bytes for responseId. */ - com.google.protobuf.ByteString - getResponseIdBytes(); + com.google.protobuf.ByteString getResponseIdBytes(); } diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java similarity index 72% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java index 7097308667f7..a7923164b742 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResult.java @@ -1,60 +1,81 @@ +/* + * 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; /** + * + * *
  * The result of validating an address.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidationResult} */ -public final class ValidationResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.ValidationResult) ValidationResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValidationResult.newBuilder() to construct. private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationResult() { - } + + private ValidationResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValidationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidationResult.class, com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); + com.google.maps.addressvalidation.v1.ValidationResult.class, + com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); } public static final int VERDICT_FIELD_NUMBER = 1; private com.google.maps.addressvalidation.v1.Verdict verdict_; /** + * + * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return Whether the verdict field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasVerdict() { return verdict_ != null; } /** + * + * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return The verdict. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict getVerdict() { - return verdict_ == null ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; + return verdict_ == null + ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() + : verdict_; } /** + * + * *
    * Overall verdict flags
    * 
@@ -88,11 +116,14 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder public static final int ADDRESS_FIELD_NUMBER = 2; private com.google.maps.addressvalidation.v1.Address address_; /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return Whether the address field is set. */ @java.lang.Override @@ -100,18 +131,25 @@ public boolean hasAddress() { return address_ != null; } /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return The address. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Address getAddress() { - return address_ == null ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; + return address_ == null + ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() + : address_; } /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
@@ -126,11 +164,14 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder public static final int GEOCODE_FIELD_NUMBER = 3; private com.google.maps.addressvalidation.v1.Geocode geocode_; /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return Whether the geocode field is set. */ @java.lang.Override @@ -138,18 +179,25 @@ public boolean hasGeocode() { return geocode_ != null; } /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return The geocode. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Geocode getGeocode() { - return geocode_ == null ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; + return geocode_ == null + ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() + : geocode_; } /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
@@ -164,11 +212,14 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder public static final int METADATA_FIELD_NUMBER = 4; private com.google.maps.addressvalidation.v1.AddressMetadata metadata_; /** + * + * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -176,18 +227,25 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return The metadata. */ @java.lang.Override public com.google.maps.addressvalidation.v1.AddressMetadata getMetadata() { - return metadata_ == null ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Other information relevant to deliverability.
    * 
@@ -202,12 +260,15 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata public static final int USPS_DATA_FIELD_NUMBER = 5; private com.google.maps.addressvalidation.v1.UspsData uspsData_; /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return Whether the uspsData field is set. */ @java.lang.Override @@ -215,19 +276,26 @@ public boolean hasUspsData() { return uspsData_ != null; } /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return The uspsData. */ @java.lang.Override public com.google.maps.addressvalidation.v1.UspsData getUspsData() { - return uspsData_ == null ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_; + return uspsData_ == null + ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() + : uspsData_; } /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
@@ -241,6 +309,7 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -252,8 +321,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (verdict_ != null) {
       output.writeMessage(1, getVerdict());
     }
@@ -279,24 +347,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (verdict_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getVerdict());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVerdict());
     }
     if (address_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getAddress());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAddress());
     }
     if (geocode_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getGeocode());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGeocode());
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMetadata());
     }
     if (uspsData_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUspsData());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUspsData());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -306,37 +369,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.maps.addressvalidation.v1.ValidationResult)) {
       return super.equals(obj);
     }
-    com.google.maps.addressvalidation.v1.ValidationResult other = (com.google.maps.addressvalidation.v1.ValidationResult) obj;
+    com.google.maps.addressvalidation.v1.ValidationResult other =
+        (com.google.maps.addressvalidation.v1.ValidationResult) obj;
 
     if (hasVerdict() != other.hasVerdict()) return false;
     if (hasVerdict()) {
-      if (!getVerdict()
-          .equals(other.getVerdict())) return false;
+      if (!getVerdict().equals(other.getVerdict())) return false;
     }
     if (hasAddress() != other.hasAddress()) return false;
     if (hasAddress()) {
-      if (!getAddress()
-          .equals(other.getAddress())) return false;
+      if (!getAddress().equals(other.getAddress())) return false;
     }
     if (hasGeocode() != other.hasGeocode()) return false;
     if (hasGeocode()) {
-      if (!getGeocode()
-          .equals(other.getGeocode())) return false;
+      if (!getGeocode().equals(other.getGeocode())) return false;
     }
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (hasUspsData() != other.hasUspsData()) return false;
     if (hasUspsData()) {
-      if (!getUspsData()
-          .equals(other.getUspsData())) return false;
+      if (!getUspsData().equals(other.getUspsData())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -375,129 +434,136 @@ public int hashCode() {
   }
 
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.addressvalidation.v1.ValidationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.maps.addressvalidation.v1.ValidationResult prototype) {
+
+  public static Builder newBuilder(
+      com.google.maps.addressvalidation.v1.ValidationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of validating an address.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.ValidationResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.ValidationResult) com.google.maps.addressvalidation.v1.ValidationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.ValidationResult.class, com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); + com.google.maps.addressvalidation.v1.ValidationResult.class, + com.google.maps.addressvalidation.v1.ValidationResult.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.ValidationResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +601,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; } @java.lang.Override @@ -556,7 +622,8 @@ public com.google.maps.addressvalidation.v1.ValidationResult build() { @java.lang.Override public com.google.maps.addressvalidation.v1.ValidationResult buildPartial() { - com.google.maps.addressvalidation.v1.ValidationResult result = new com.google.maps.addressvalidation.v1.ValidationResult(this); + com.google.maps.addressvalidation.v1.ValidationResult result = + new com.google.maps.addressvalidation.v1.ValidationResult(this); if (verdictBuilder_ == null) { result.verdict_ = verdict_; } else { @@ -590,38 +657,39 @@ public com.google.maps.addressvalidation.v1.ValidationResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.ValidationResult) { - return mergeFrom((com.google.maps.addressvalidation.v1.ValidationResult)other); + return mergeFrom((com.google.maps.addressvalidation.v1.ValidationResult) other); } else { super.mergeFrom(other); return this; @@ -629,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidationResult other) { - if (other == com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance()) return this; + if (other == com.google.maps.addressvalidation.v1.ValidationResult.getDefaultInstance()) + return this; if (other.hasVerdict()) { mergeVerdict(other.getVerdict()); } @@ -671,47 +740,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getVerdictFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getGeocodeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getUspsDataFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getVerdictFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getGeocodeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getUspsDataFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -724,34 +789,47 @@ public Builder mergeFrom( private com.google.maps.addressvalidation.v1.Verdict verdict_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder> verdictBuilder_; + com.google.maps.addressvalidation.v1.Verdict, + com.google.maps.addressvalidation.v1.Verdict.Builder, + com.google.maps.addressvalidation.v1.VerdictOrBuilder> + verdictBuilder_; /** + * + * *
      * Overall verdict flags
      * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return Whether the verdict field is set. */ public boolean hasVerdict() { return verdictBuilder_ != null || verdict_ != null; } /** + * + * *
      * Overall verdict flags
      * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return The verdict. */ public com.google.maps.addressvalidation.v1.Verdict getVerdict() { if (verdictBuilder_ == null) { - return verdict_ == null ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; + return verdict_ == null + ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() + : verdict_; } else { return verdictBuilder_.getMessage(); } } /** + * + * *
      * Overall verdict flags
      * 
@@ -772,6 +850,8 @@ public Builder setVerdict(com.google.maps.addressvalidation.v1.Verdict value) { return this; } /** + * + * *
      * Overall verdict flags
      * 
@@ -790,6 +870,8 @@ public Builder setVerdict( return this; } /** + * + * *
      * Overall verdict flags
      * 
@@ -800,7 +882,9 @@ public Builder mergeVerdict(com.google.maps.addressvalidation.v1.Verdict value) if (verdictBuilder_ == null) { if (verdict_ != null) { verdict_ = - com.google.maps.addressvalidation.v1.Verdict.newBuilder(verdict_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.Verdict.newBuilder(verdict_) + .mergeFrom(value) + .buildPartial(); } else { verdict_ = value; } @@ -812,6 +896,8 @@ public Builder mergeVerdict(com.google.maps.addressvalidation.v1.Verdict value) return this; } /** + * + * *
      * Overall verdict flags
      * 
@@ -830,6 +916,8 @@ public Builder clearVerdict() { return this; } /** + * + * *
      * Overall verdict flags
      * 
@@ -837,11 +925,13 @@ public Builder clearVerdict() { * .google.maps.addressvalidation.v1.Verdict verdict = 1; */ public com.google.maps.addressvalidation.v1.Verdict.Builder getVerdictBuilder() { - + onChanged(); return getVerdictFieldBuilder().getBuilder(); } /** + * + * *
      * Overall verdict flags
      * 
@@ -852,11 +942,14 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder if (verdictBuilder_ != null) { return verdictBuilder_.getMessageOrBuilder(); } else { - return verdict_ == null ? - com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() : verdict_; + return verdict_ == null + ? com.google.maps.addressvalidation.v1.Verdict.getDefaultInstance() + : verdict_; } } /** + * + * *
      * Overall verdict flags
      * 
@@ -864,14 +957,17 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder * .google.maps.addressvalidation.v1.Verdict verdict = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder> + com.google.maps.addressvalidation.v1.Verdict, + com.google.maps.addressvalidation.v1.Verdict.Builder, + com.google.maps.addressvalidation.v1.VerdictOrBuilder> getVerdictFieldBuilder() { if (verdictBuilder_ == null) { - verdictBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Verdict, com.google.maps.addressvalidation.v1.Verdict.Builder, com.google.maps.addressvalidation.v1.VerdictOrBuilder>( - getVerdict(), - getParentForChildren(), - isClean()); + verdictBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Verdict, + com.google.maps.addressvalidation.v1.Verdict.Builder, + com.google.maps.addressvalidation.v1.VerdictOrBuilder>( + getVerdict(), getParentForChildren(), isClean()); verdict_ = null; } return verdictBuilder_; @@ -879,34 +975,47 @@ public com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder private com.google.maps.addressvalidation.v1.Address address_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder> addressBuilder_; + com.google.maps.addressvalidation.v1.Address, + com.google.maps.addressvalidation.v1.Address.Builder, + com.google.maps.addressvalidation.v1.AddressOrBuilder> + addressBuilder_; /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return Whether the address field is set. */ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return The address. */ public com.google.maps.addressvalidation.v1.Address getAddress() { if (addressBuilder_ == null) { - return address_ == null ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; + return address_ == null + ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() + : address_; } else { return addressBuilder_.getMessage(); } } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -927,6 +1036,8 @@ public Builder setAddress(com.google.maps.addressvalidation.v1.Address value) { return this; } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -945,6 +1056,8 @@ public Builder setAddress( return this; } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -955,7 +1068,9 @@ public Builder mergeAddress(com.google.maps.addressvalidation.v1.Address value) if (addressBuilder_ == null) { if (address_ != null) { address_ = - com.google.maps.addressvalidation.v1.Address.newBuilder(address_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.Address.newBuilder(address_) + .mergeFrom(value) + .buildPartial(); } else { address_ = value; } @@ -967,6 +1082,8 @@ public Builder mergeAddress(com.google.maps.addressvalidation.v1.Address value) return this; } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -985,6 +1102,8 @@ public Builder clearAddress() { return this; } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -992,11 +1111,13 @@ public Builder clearAddress() { * .google.maps.addressvalidation.v1.Address address = 2; */ public com.google.maps.addressvalidation.v1.Address.Builder getAddressBuilder() { - + onChanged(); return getAddressFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1007,11 +1128,14 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder if (addressBuilder_ != null) { return addressBuilder_.getMessageOrBuilder(); } else { - return address_ == null ? - com.google.maps.addressvalidation.v1.Address.getDefaultInstance() : address_; + return address_ == null + ? com.google.maps.addressvalidation.v1.Address.getDefaultInstance() + : address_; } } /** + * + * *
      * Information about the address itself as opposed to the geocode.
      * 
@@ -1019,14 +1143,17 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder * .google.maps.addressvalidation.v1.Address address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder> + com.google.maps.addressvalidation.v1.Address, + com.google.maps.addressvalidation.v1.Address.Builder, + com.google.maps.addressvalidation.v1.AddressOrBuilder> getAddressFieldBuilder() { if (addressBuilder_ == null) { - addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Address, com.google.maps.addressvalidation.v1.Address.Builder, com.google.maps.addressvalidation.v1.AddressOrBuilder>( - getAddress(), - getParentForChildren(), - isClean()); + addressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Address, + com.google.maps.addressvalidation.v1.Address.Builder, + com.google.maps.addressvalidation.v1.AddressOrBuilder>( + getAddress(), getParentForChildren(), isClean()); address_ = null; } return addressBuilder_; @@ -1034,34 +1161,47 @@ public com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder private com.google.maps.addressvalidation.v1.Geocode geocode_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder> geocodeBuilder_; + com.google.maps.addressvalidation.v1.Geocode, + com.google.maps.addressvalidation.v1.Geocode.Builder, + com.google.maps.addressvalidation.v1.GeocodeOrBuilder> + geocodeBuilder_; /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return Whether the geocode field is set. */ public boolean hasGeocode() { return geocodeBuilder_ != null || geocode_ != null; } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return The geocode. */ public com.google.maps.addressvalidation.v1.Geocode getGeocode() { if (geocodeBuilder_ == null) { - return geocode_ == null ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; + return geocode_ == null + ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() + : geocode_; } else { return geocodeBuilder_.getMessage(); } } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1082,6 +1222,8 @@ public Builder setGeocode(com.google.maps.addressvalidation.v1.Geocode value) { return this; } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1100,6 +1242,8 @@ public Builder setGeocode( return this; } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1110,7 +1254,9 @@ public Builder mergeGeocode(com.google.maps.addressvalidation.v1.Geocode value) if (geocodeBuilder_ == null) { if (geocode_ != null) { geocode_ = - com.google.maps.addressvalidation.v1.Geocode.newBuilder(geocode_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.Geocode.newBuilder(geocode_) + .mergeFrom(value) + .buildPartial(); } else { geocode_ = value; } @@ -1122,6 +1268,8 @@ public Builder mergeGeocode(com.google.maps.addressvalidation.v1.Geocode value) return this; } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1140,6 +1288,8 @@ public Builder clearGeocode() { return this; } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1147,11 +1297,13 @@ public Builder clearGeocode() { * .google.maps.addressvalidation.v1.Geocode geocode = 3; */ public com.google.maps.addressvalidation.v1.Geocode.Builder getGeocodeBuilder() { - + onChanged(); return getGeocodeFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1162,11 +1314,14 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder if (geocodeBuilder_ != null) { return geocodeBuilder_.getMessageOrBuilder(); } else { - return geocode_ == null ? - com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() : geocode_; + return geocode_ == null + ? com.google.maps.addressvalidation.v1.Geocode.getDefaultInstance() + : geocode_; } } /** + * + * *
      * Information about the location and place that the address geocoded to.
      * 
@@ -1174,14 +1329,17 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder * .google.maps.addressvalidation.v1.Geocode geocode = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder> + com.google.maps.addressvalidation.v1.Geocode, + com.google.maps.addressvalidation.v1.Geocode.Builder, + com.google.maps.addressvalidation.v1.GeocodeOrBuilder> getGeocodeFieldBuilder() { if (geocodeBuilder_ == null) { - geocodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.Geocode, com.google.maps.addressvalidation.v1.Geocode.Builder, com.google.maps.addressvalidation.v1.GeocodeOrBuilder>( - getGeocode(), - getParentForChildren(), - isClean()); + geocodeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.Geocode, + com.google.maps.addressvalidation.v1.Geocode.Builder, + com.google.maps.addressvalidation.v1.GeocodeOrBuilder>( + getGeocode(), getParentForChildren(), isClean()); geocode_ = null; } return geocodeBuilder_; @@ -1189,34 +1347,47 @@ public com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder private com.google.maps.addressvalidation.v1.AddressMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> metadataBuilder_; + com.google.maps.addressvalidation.v1.AddressMetadata, + com.google.maps.addressvalidation.v1.AddressMetadata.Builder, + com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Other information relevant to deliverability.
      * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Other information relevant to deliverability.
      * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return The metadata. */ public com.google.maps.addressvalidation.v1.AddressMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1237,6 +1408,8 @@ public Builder setMetadata(com.google.maps.addressvalidation.v1.AddressMetadata return this; } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1255,6 +1428,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1265,7 +1440,9 @@ public Builder mergeMetadata(com.google.maps.addressvalidation.v1.AddressMetadat if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.maps.addressvalidation.v1.AddressMetadata.newBuilder(metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -1277,6 +1454,8 @@ public Builder mergeMetadata(com.google.maps.addressvalidation.v1.AddressMetadat return this; } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1295,6 +1474,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1302,11 +1483,13 @@ public Builder clearMetadata() { * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; */ public com.google.maps.addressvalidation.v1.AddressMetadata.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1317,11 +1500,14 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.maps.addressvalidation.v1.AddressMetadata.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Other information relevant to deliverability.
      * 
@@ -1329,14 +1515,17 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> + com.google.maps.addressvalidation.v1.AddressMetadata, + com.google.maps.addressvalidation.v1.AddressMetadata.Builder, + com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.AddressMetadata, com.google.maps.addressvalidation.v1.AddressMetadata.Builder, com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.AddressMetadata, + com.google.maps.addressvalidation.v1.AddressMetadata.Builder, + com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -1344,36 +1533,49 @@ public com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadata private com.google.maps.addressvalidation.v1.UspsData uspsData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder> uspsDataBuilder_; + com.google.maps.addressvalidation.v1.UspsData, + com.google.maps.addressvalidation.v1.UspsData.Builder, + com.google.maps.addressvalidation.v1.UspsDataOrBuilder> + uspsDataBuilder_; /** + * + * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
      * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return Whether the uspsData field is set. */ public boolean hasUspsData() { return uspsDataBuilder_ != null || uspsData_ != null; } /** + * + * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
      * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return The uspsData. */ public com.google.maps.addressvalidation.v1.UspsData getUspsData() { if (uspsDataBuilder_ == null) { - return uspsData_ == null ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_; + return uspsData_ == null + ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() + : uspsData_; } else { return uspsDataBuilder_.getMessage(); } } /** + * + * *
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1395,6 +1597,8 @@ public Builder setUspsData(com.google.maps.addressvalidation.v1.UspsData value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1414,6 +1618,8 @@ public Builder setUspsData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1425,7 +1631,9 @@ public Builder mergeUspsData(com.google.maps.addressvalidation.v1.UspsData value
       if (uspsDataBuilder_ == null) {
         if (uspsData_ != null) {
           uspsData_ =
-            com.google.maps.addressvalidation.v1.UspsData.newBuilder(uspsData_).mergeFrom(value).buildPartial();
+              com.google.maps.addressvalidation.v1.UspsData.newBuilder(uspsData_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           uspsData_ = value;
         }
@@ -1437,6 +1645,8 @@ public Builder mergeUspsData(com.google.maps.addressvalidation.v1.UspsData value
       return this;
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1456,6 +1666,8 @@ public Builder clearUspsData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1464,11 +1676,13 @@ public Builder clearUspsData() {
      * .google.maps.addressvalidation.v1.UspsData usps_data = 5;
      */
     public com.google.maps.addressvalidation.v1.UspsData.Builder getUspsDataBuilder() {
-      
+
       onChanged();
       return getUspsDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1480,11 +1694,14 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
       if (uspsDataBuilder_ != null) {
         return uspsDataBuilder_.getMessageOrBuilder();
       } else {
-        return uspsData_ == null ?
-            com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance() : uspsData_;
+        return uspsData_ == null
+            ? com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance()
+            : uspsData_;
       }
     }
     /**
+     *
+     *
      * 
      * Extra deliverability flags provided by USPS. Only provided in region `US`
      * and `PR`.
@@ -1493,21 +1710,24 @@ public com.google.maps.addressvalidation.v1.UspsDataOrBuilder getUspsDataOrBuild
      * .google.maps.addressvalidation.v1.UspsData usps_data = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder> 
+            com.google.maps.addressvalidation.v1.UspsData,
+            com.google.maps.addressvalidation.v1.UspsData.Builder,
+            com.google.maps.addressvalidation.v1.UspsDataOrBuilder>
         getUspsDataFieldBuilder() {
       if (uspsDataBuilder_ == null) {
-        uspsDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.addressvalidation.v1.UspsData, com.google.maps.addressvalidation.v1.UspsData.Builder, com.google.maps.addressvalidation.v1.UspsDataOrBuilder>(
-                getUspsData(),
-                getParentForChildren(),
-                isClean());
+        uspsDataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.addressvalidation.v1.UspsData,
+                com.google.maps.addressvalidation.v1.UspsData.Builder,
+                com.google.maps.addressvalidation.v1.UspsDataOrBuilder>(
+                getUspsData(), getParentForChildren(), isClean());
         uspsData_ = null;
       }
       return uspsDataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1517,12 +1737,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.ValidationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.ValidationResult)
   private static final com.google.maps.addressvalidation.v1.ValidationResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.ValidationResult();
   }
@@ -1531,27 +1751,27 @@ public static com.google.maps.addressvalidation.v1.ValidationResult getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ValidationResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ValidationResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1566,6 +1786,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.addressvalidation.v1.ValidationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
index 5831d445325e..9d93c7667026 100644
--- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
+++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidationResultOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * 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
+public interface ValidationResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ValidationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return Whether the verdict field is set. */ boolean hasVerdict(); /** + * + * *
    * Overall verdict flags
    * 
* * .google.maps.addressvalidation.v1.Verdict verdict = 1; + * * @return The verdict. */ com.google.maps.addressvalidation.v1.Verdict getVerdict(); /** + * + * *
    * Overall verdict flags
    * 
@@ -35,24 +59,32 @@ public interface ValidationResultOrBuilder extends com.google.maps.addressvalidation.v1.VerdictOrBuilder getVerdictOrBuilder(); /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return Whether the address field is set. */ boolean hasAddress(); /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
* * .google.maps.addressvalidation.v1.Address address = 2; + * * @return The address. */ com.google.maps.addressvalidation.v1.Address getAddress(); /** + * + * *
    * Information about the address itself as opposed to the geocode.
    * 
@@ -62,24 +94,32 @@ public interface ValidationResultOrBuilder extends com.google.maps.addressvalidation.v1.AddressOrBuilder getAddressOrBuilder(); /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return Whether the geocode field is set. */ boolean hasGeocode(); /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
* * .google.maps.addressvalidation.v1.Geocode geocode = 3; + * * @return The geocode. */ com.google.maps.addressvalidation.v1.Geocode getGeocode(); /** + * + * *
    * Information about the location and place that the address geocoded to.
    * 
@@ -89,24 +129,32 @@ public interface ValidationResultOrBuilder extends com.google.maps.addressvalidation.v1.GeocodeOrBuilder getGeocodeOrBuilder(); /** + * + * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Other information relevant to deliverability.
    * 
* * .google.maps.addressvalidation.v1.AddressMetadata metadata = 4; + * * @return The metadata. */ com.google.maps.addressvalidation.v1.AddressMetadata getMetadata(); /** + * + * *
    * Other information relevant to deliverability.
    * 
@@ -116,26 +164,34 @@ public interface ValidationResultOrBuilder extends com.google.maps.addressvalidation.v1.AddressMetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return Whether the uspsData field is set. */ boolean hasUspsData(); /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
    * 
* * .google.maps.addressvalidation.v1.UspsData usps_data = 5; + * * @return The uspsData. */ com.google.maps.addressvalidation.v1.UspsData getUspsData(); /** + * + * *
    * Extra deliverability flags provided by USPS. Only provided in region `US`
    * and `PR`.
diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
similarity index 77%
rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
index 0b3fd1c0c4f7..af36e2a27d37 100644
--- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
+++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java
@@ -1,24 +1,42 @@
+/*
+ * 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;
 
 /**
+ *
+ *
  * 
  * High level overview of the address validation result and geocode.
  * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Verdict} */ -public final class Verdict extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Verdict extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.addressvalidation.v1.Verdict) VerdictOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Verdict.newBuilder() to construct. private Verdict(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Verdict() { inputGranularity_ = 0; validationGranularity_ = 0; @@ -27,30 +45,33 @@ private Verdict() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Verdict(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Verdict.class, com.google.maps.addressvalidation.v1.Verdict.Builder.class); + com.google.maps.addressvalidation.v1.Verdict.class, + com.google.maps.addressvalidation.v1.Verdict.Builder.class); } /** + * + * *
    * The various granularities that an address or a geocode can have.
    * When used to indicate granularity for an *address*, these values indicate
@@ -64,9 +85,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.maps.addressvalidation.v1.Verdict.Granularity}
    */
-  public enum Granularity
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -75,6 +97,8 @@ public enum Granularity */ GRANULARITY_UNSPECIFIED(0), /** + * + * *
      * Below-building level result, such as an apartment.
      * 
@@ -83,6 +107,8 @@ public enum Granularity */ SUB_PREMISE(1), /** + * + * *
      * Building-level result.
      * 
@@ -91,6 +117,8 @@ public enum Granularity */ PREMISE(2), /** + * + * *
      * A geocode that should be very close to the building-level location of
      * the address.
@@ -100,6 +128,8 @@ public enum Granularity
      */
     PREMISE_PROXIMITY(3),
     /**
+     *
+     *
      * 
      * The address or geocode indicates a block. Only used in regions which
      * have block-level addressing, such as Japan.
@@ -109,6 +139,8 @@ public enum Granularity
      */
     BLOCK(4),
     /**
+     *
+     *
      * 
      * The geocode or address is granular to route, such as a street, road, or
      * highway.
@@ -118,6 +150,8 @@ public enum Granularity
      */
     ROUTE(5),
     /**
+     *
+     *
      * 
      * All other granularities, which are bucketed together since they are not
      * deliverable.
@@ -130,6 +164,8 @@ public enum Granularity
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -138,6 +174,8 @@ public enum Granularity */ public static final int GRANULARITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Below-building level result, such as an apartment.
      * 
@@ -146,6 +184,8 @@ public enum Granularity */ public static final int SUB_PREMISE_VALUE = 1; /** + * + * *
      * Building-level result.
      * 
@@ -154,6 +194,8 @@ public enum Granularity */ public static final int PREMISE_VALUE = 2; /** + * + * *
      * A geocode that should be very close to the building-level location of
      * the address.
@@ -163,6 +205,8 @@ public enum Granularity
      */
     public static final int PREMISE_PROXIMITY_VALUE = 3;
     /**
+     *
+     *
      * 
      * The address or geocode indicates a block. Only used in regions which
      * have block-level addressing, such as Japan.
@@ -172,6 +216,8 @@ public enum Granularity
      */
     public static final int BLOCK_VALUE = 4;
     /**
+     *
+     *
      * 
      * The geocode or address is granular to route, such as a street, road, or
      * highway.
@@ -181,6 +227,8 @@ public enum Granularity
      */
     public static final int ROUTE_VALUE = 5;
     /**
+     *
+     *
      * 
      * All other granularities, which are bucketed together since they are not
      * deliverable.
@@ -190,7 +238,6 @@ public enum Granularity
      */
     public static final int OTHER_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -215,53 +262,57 @@ public static Granularity valueOf(int value) {
      */
     public static Granularity forNumber(int value) {
       switch (value) {
-        case 0: return GRANULARITY_UNSPECIFIED;
-        case 1: return SUB_PREMISE;
-        case 2: return PREMISE;
-        case 3: return PREMISE_PROXIMITY;
-        case 4: return BLOCK;
-        case 5: return ROUTE;
-        case 6: return OTHER;
-        default: return null;
+        case 0:
+          return GRANULARITY_UNSPECIFIED;
+        case 1:
+          return SUB_PREMISE;
+        case 2:
+          return PREMISE;
+        case 3:
+          return PREMISE_PROXIMITY;
+        case 4:
+          return BLOCK;
+        case 5:
+          return ROUTE;
+        case 6:
+          return OTHER;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Granularity> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Granularity findValueByNumber(int number) {
-              return Granularity.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Granularity findValueByNumber(int number) {
+            return Granularity.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.maps.addressvalidation.v1.Verdict.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Granularity[] VALUES = values();
 
-    public static Granularity valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Granularity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -281,6 +332,8 @@ private Granularity(int value) {
   public static final int INPUT_GRANULARITY_FIELD_NUMBER = 1;
   private int inputGranularity_;
   /**
+   *
+   *
    * 
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -292,12 +345,16 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The enum numeric value on the wire for inputGranularity. */ - @java.lang.Override public int getInputGranularityValue() { + @java.lang.Override + public int getInputGranularityValue() { return inputGranularity_; } /** + * + * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -309,17 +366,24 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The inputGranularity. */ - @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { + @java.lang.Override + public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } public static final int VALIDATION_GRANULARITY_FIELD_NUMBER = 2; private int validationGranularity_; /** + * + * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -329,12 +393,16 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * * @return The enum numeric value on the wire for validationGranularity. */ - @java.lang.Override public int getValidationGranularityValue() { + @java.lang.Override + public int getValidationGranularityValue() { return validationGranularity_; } /** + * + * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -344,17 +412,24 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * * @return The validationGranularity. */ - @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { + @java.lang.Override + public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } public static final int GEOCODE_GRANULARITY_FIELD_NUMBER = 3; private int geocodeGranularity_; /** + * + * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -368,12 +443,16 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The enum numeric value on the wire for geocodeGranularity. */ - @java.lang.Override public int getGeocodeGranularityValue() { + @java.lang.Override + public int getGeocodeGranularityValue() { return geocodeGranularity_; } /** + * + * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -387,17 +466,24 @@ private Granularity(int value) {
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The geocodeGranularity. */ - @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { + @java.lang.Override + public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } public static final int ADDRESS_COMPLETE_FIELD_NUMBER = 4; private boolean addressComplete_; /** + * + * *
    * The address is considered complete if there are no unresolved tokens, no
    * unexpected or missing address components. See
@@ -409,6 +495,7 @@ private Granularity(int value) {
    * 
* * bool address_complete = 4; + * * @return The addressComplete. */ @java.lang.Override @@ -419,6 +506,8 @@ public boolean getAddressComplete() { public static final int HAS_UNCONFIRMED_COMPONENTS_FIELD_NUMBER = 5; private boolean hasUnconfirmedComponents_; /** + * + * *
    * At least one address component cannot be categorized or validated, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -426,6 +515,7 @@ public boolean getAddressComplete() {
    * 
* * bool has_unconfirmed_components = 5; + * * @return The hasUnconfirmedComponents. */ @java.lang.Override @@ -436,6 +526,8 @@ public boolean getHasUnconfirmedComponents() { public static final int HAS_INFERRED_COMPONENTS_FIELD_NUMBER = 6; private boolean hasInferredComponents_; /** + * + * *
    * At least one address component was inferred (added) that wasn't in the
    * input, see
@@ -444,6 +536,7 @@ public boolean getHasUnconfirmedComponents() {
    * 
* * bool has_inferred_components = 6; + * * @return The hasInferredComponents. */ @java.lang.Override @@ -454,6 +547,8 @@ public boolean getHasInferredComponents() { public static final int HAS_REPLACED_COMPONENTS_FIELD_NUMBER = 7; private boolean hasReplacedComponents_; /** + * + * *
    * At least one address component was replaced, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -461,6 +556,7 @@ public boolean getHasInferredComponents() {
    * 
* * bool has_replaced_components = 7; + * * @return The hasReplacedComponents. */ @java.lang.Override @@ -469,6 +565,7 @@ public boolean getHasReplacedComponents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,15 +577,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (inputGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (inputGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, inputGranularity_); } - if (validationGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + if (validationGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, validationGranularity_); } - if (geocodeGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + if (geocodeGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { output.writeEnum(3, geocodeGranularity_); } if (addressComplete_ != false) { @@ -512,33 +614,32 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (inputGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, inputGranularity_); + if (inputGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, inputGranularity_); } - if (validationGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, validationGranularity_); + if (validationGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, validationGranularity_); } - if (geocodeGranularity_ != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, geocodeGranularity_); + if (geocodeGranularity_ + != com.google.maps.addressvalidation.v1.Verdict.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, geocodeGranularity_); } if (addressComplete_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, addressComplete_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, addressComplete_); } if (hasUnconfirmedComponents_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, hasUnconfirmedComponents_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasUnconfirmedComponents_); } if (hasInferredComponents_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, hasInferredComponents_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hasInferredComponents_); } if (hasReplacedComponents_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, hasReplacedComponents_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, hasReplacedComponents_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -548,24 +649,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.maps.addressvalidation.v1.Verdict)) { return super.equals(obj); } - com.google.maps.addressvalidation.v1.Verdict other = (com.google.maps.addressvalidation.v1.Verdict) obj; + com.google.maps.addressvalidation.v1.Verdict other = + (com.google.maps.addressvalidation.v1.Verdict) obj; if (inputGranularity_ != other.inputGranularity_) return false; if (validationGranularity_ != other.validationGranularity_) return false; if (geocodeGranularity_ != other.geocodeGranularity_) return false; - if (getAddressComplete() - != other.getAddressComplete()) return false; - if (getHasUnconfirmedComponents() - != other.getHasUnconfirmedComponents()) return false; - if (getHasInferredComponents() - != other.getHasInferredComponents()) return false; - if (getHasReplacedComponents() - != other.getHasReplacedComponents()) return false; + if (getAddressComplete() != other.getAddressComplete()) return false; + if (getHasUnconfirmedComponents() != other.getHasUnconfirmedComponents()) return false; + if (getHasInferredComponents() != other.getHasInferredComponents()) return false; + if (getHasReplacedComponents() != other.getHasReplacedComponents()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -584,146 +682,148 @@ public int hashCode() { hash = (37 * hash) + GEOCODE_GRANULARITY_FIELD_NUMBER; hash = (53 * hash) + geocodeGranularity_; hash = (37 * hash) + ADDRESS_COMPLETE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAddressComplete()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAddressComplete()); hash = (37 * hash) + HAS_UNCONFIRMED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasUnconfirmedComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasUnconfirmedComponents()); hash = (37 * hash) + HAS_INFERRED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasInferredComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasInferredComponents()); hash = (37 * hash) + HAS_REPLACED_COMPONENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasReplacedComponents()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasReplacedComponents()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.addressvalidation.v1.Verdict parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Verdict parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.addressvalidation.v1.Verdict parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.maps.addressvalidation.v1.Verdict prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * High level overview of the address validation result and geocode.
    * 
* * Protobuf type {@code google.maps.addressvalidation.v1.Verdict} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.Verdict) com.google.maps.addressvalidation.v1.VerdictOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.Verdict.class, com.google.maps.addressvalidation.v1.Verdict.Builder.class); + com.google.maps.addressvalidation.v1.Verdict.class, + com.google.maps.addressvalidation.v1.Verdict.Builder.class); } // Construct using com.google.maps.addressvalidation.v1.Verdict.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -745,9 +845,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.AddressValidationServiceProto + .internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; } @java.lang.Override @@ -766,7 +866,8 @@ public com.google.maps.addressvalidation.v1.Verdict build() { @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict buildPartial() { - com.google.maps.addressvalidation.v1.Verdict result = new com.google.maps.addressvalidation.v1.Verdict(this); + com.google.maps.addressvalidation.v1.Verdict result = + new com.google.maps.addressvalidation.v1.Verdict(this); result.inputGranularity_ = inputGranularity_; result.validationGranularity_ = validationGranularity_; result.geocodeGranularity_ = geocodeGranularity_; @@ -782,38 +883,39 @@ public com.google.maps.addressvalidation.v1.Verdict buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.maps.addressvalidation.v1.Verdict) { - return mergeFrom((com.google.maps.addressvalidation.v1.Verdict)other); + return mergeFrom((com.google.maps.addressvalidation.v1.Verdict) other); } else { super.mergeFrom(other); return this; @@ -869,47 +971,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - inputGranularity_ = input.readEnum(); - - break; - } // case 8 - case 16: { - validationGranularity_ = input.readEnum(); - - break; - } // case 16 - case 24: { - geocodeGranularity_ = input.readEnum(); - - break; - } // case 24 - case 32: { - addressComplete_ = input.readBool(); - - break; - } // case 32 - case 40: { - hasUnconfirmedComponents_ = input.readBool(); - - break; - } // case 40 - case 48: { - hasInferredComponents_ = input.readBool(); - - break; - } // case 48 - case 56: { - hasReplacedComponents_ = input.readBool(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + inputGranularity_ = input.readEnum(); + + break; + } // case 8 + case 16: + { + validationGranularity_ = input.readEnum(); + + break; + } // case 16 + case 24: + { + geocodeGranularity_ = input.readEnum(); + + break; + } // case 24 + case 32: + { + addressComplete_ = input.readBool(); + + break; + } // case 32 + case 40: + { + hasUnconfirmedComponents_ = input.readBool(); + + break; + } // case 40 + case 48: + { + hasInferredComponents_ = input.readBool(); + + break; + } // case 48 + case 56: + { + hasReplacedComponents_ = input.readBool(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -922,6 +1032,8 @@ public Builder mergeFrom( private int inputGranularity_ = 0; /** + * + * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -933,12 +1045,16 @@ public Builder mergeFrom(
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The enum numeric value on the wire for inputGranularity. */ - @java.lang.Override public int getInputGranularityValue() { + @java.lang.Override + public int getInputGranularityValue() { return inputGranularity_; } /** + * + * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -950,16 +1066,19 @@ public Builder mergeFrom(
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @param value The enum numeric value on the wire for inputGranularity to set. * @return This builder for chaining. */ public Builder setInputGranularityValue(int value) { - + inputGranularity_ = value; onChanged(); return this; } /** + * + * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -971,15 +1090,21 @@ public Builder setInputGranularityValue(int value) {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The inputGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(inputGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } /** + * + * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -991,19 +1116,23 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranular
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @param value The inputGranularity to set. * @return This builder for chaining. */ - public Builder setInputGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setInputGranularity( + com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + inputGranularity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The granularity of the **input** address. This is the result of parsing the
      * input address and does not give any validation signals. For validation
@@ -1015,10 +1144,11 @@ public Builder setInputGranularity(com.google.maps.addressvalidation.v1.Verdict.
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return This builder for chaining. */ public Builder clearInputGranularity() { - + inputGranularity_ = 0; onChanged(); return this; @@ -1026,6 +1156,8 @@ public Builder clearInputGranularity() { private int validationGranularity_ = 0; /** + * + * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1034,13 +1166,18 @@ public Builder clearInputGranularity() {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * + * * @return The enum numeric value on the wire for validationGranularity. */ - @java.lang.Override public int getValidationGranularityValue() { + @java.lang.Override + public int getValidationGranularityValue() { return validationGranularity_; } /** + * + * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1049,17 +1186,21 @@ public Builder clearInputGranularity() {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * + * * @param value The enum numeric value on the wire for validationGranularity to set. * @return This builder for chaining. */ public Builder setValidationGranularityValue(int value) { - + validationGranularity_ = value; onChanged(); return this; } /** + * + * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1068,16 +1209,23 @@ public Builder setValidationGranularityValue(int value) {
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * + * * @return The validationGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(validationGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } /** + * + * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1086,20 +1234,25 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGra
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * + * * @param value The validationGranularity to set. * @return This builder for chaining. */ - public Builder setValidationGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setValidationGranularity( + com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + validationGranularity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The granularity level that the API can fully **validate** the address to.
      * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -1108,11 +1261,13 @@ public Builder setValidationGranularity(com.google.maps.addressvalidation.v1.Ver
      * [google.maps.addressvalidation.v1.Address.address_components].
      * 
* - * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * + * * @return This builder for chaining. */ public Builder clearValidationGranularity() { - + validationGranularity_ = 0; onChanged(); return this; @@ -1120,6 +1275,8 @@ public Builder clearValidationGranularity() { private int geocodeGranularity_ = 0; /** + * + * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1133,12 +1290,16 @@ public Builder clearValidationGranularity() {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The enum numeric value on the wire for geocodeGranularity. */ - @java.lang.Override public int getGeocodeGranularityValue() { + @java.lang.Override + public int getGeocodeGranularityValue() { return geocodeGranularity_; } /** + * + * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1152,16 +1313,19 @@ public Builder clearValidationGranularity() {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @param value The enum numeric value on the wire for geocodeGranularity to set. * @return This builder for chaining. */ public Builder setGeocodeGranularityValue(int value) { - + geocodeGranularity_ = value; onChanged(); return this; } /** + * + * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1175,15 +1339,21 @@ public Builder setGeocodeGranularityValue(int value) {
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The geocodeGranularity. */ @java.lang.Override public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity() { @SuppressWarnings("deprecation") - com.google.maps.addressvalidation.v1.Verdict.Granularity result = com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); - return result == null ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED : result; + com.google.maps.addressvalidation.v1.Verdict.Granularity result = + com.google.maps.addressvalidation.v1.Verdict.Granularity.valueOf(geocodeGranularity_); + return result == null + ? com.google.maps.addressvalidation.v1.Verdict.Granularity.UNRECOGNIZED + : result; } /** + * + * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1197,19 +1367,23 @@ public com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranul
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @param value The geocodeGranularity to set. * @return This builder for chaining. */ - public Builder setGeocodeGranularity(com.google.maps.addressvalidation.v1.Verdict.Granularity value) { + public Builder setGeocodeGranularity( + com.google.maps.addressvalidation.v1.Verdict.Granularity value) { if (value == null) { throw new NullPointerException(); } - + geocodeGranularity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Information about the granularity of the
      * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -1223,17 +1397,20 @@ public Builder setGeocodeGranularity(com.google.maps.addressvalidation.v1.Verdic
      * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return This builder for chaining. */ public Builder clearGeocodeGranularity() { - + geocodeGranularity_ = 0; onChanged(); return this; } - private boolean addressComplete_ ; + private boolean addressComplete_; /** + * + * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1245,6 +1422,7 @@ public Builder clearGeocodeGranularity() {
      * 
* * bool address_complete = 4; + * * @return The addressComplete. */ @java.lang.Override @@ -1252,6 +1430,8 @@ public boolean getAddressComplete() { return addressComplete_; } /** + * + * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1263,16 +1443,19 @@ public boolean getAddressComplete() {
      * 
* * bool address_complete = 4; + * * @param value The addressComplete to set. * @return This builder for chaining. */ public Builder setAddressComplete(boolean value) { - + addressComplete_ = value; onChanged(); return this; } /** + * + * *
      * The address is considered complete if there are no unresolved tokens, no
      * unexpected or missing address components. See
@@ -1284,17 +1467,20 @@ public Builder setAddressComplete(boolean value) {
      * 
* * bool address_complete = 4; + * * @return This builder for chaining. */ public Builder clearAddressComplete() { - + addressComplete_ = false; onChanged(); return this; } - private boolean hasUnconfirmedComponents_ ; + private boolean hasUnconfirmedComponents_; /** + * + * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1302,6 +1488,7 @@ public Builder clearAddressComplete() {
      * 
* * bool has_unconfirmed_components = 5; + * * @return The hasUnconfirmedComponents. */ @java.lang.Override @@ -1309,6 +1496,8 @@ public boolean getHasUnconfirmedComponents() { return hasUnconfirmedComponents_; } /** + * + * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1316,16 +1505,19 @@ public boolean getHasUnconfirmedComponents() {
      * 
* * bool has_unconfirmed_components = 5; + * * @param value The hasUnconfirmedComponents to set. * @return This builder for chaining. */ public Builder setHasUnconfirmedComponents(boolean value) { - + hasUnconfirmedComponents_ = value; onChanged(); return this; } /** + * + * *
      * At least one address component cannot be categorized or validated, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1333,17 +1525,20 @@ public Builder setHasUnconfirmedComponents(boolean value) {
      * 
* * bool has_unconfirmed_components = 5; + * * @return This builder for chaining. */ public Builder clearHasUnconfirmedComponents() { - + hasUnconfirmedComponents_ = false; onChanged(); return this; } - private boolean hasInferredComponents_ ; + private boolean hasInferredComponents_; /** + * + * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1352,6 +1547,7 @@ public Builder clearHasUnconfirmedComponents() {
      * 
* * bool has_inferred_components = 6; + * * @return The hasInferredComponents. */ @java.lang.Override @@ -1359,6 +1555,8 @@ public boolean getHasInferredComponents() { return hasInferredComponents_; } /** + * + * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1367,16 +1565,19 @@ public boolean getHasInferredComponents() {
      * 
* * bool has_inferred_components = 6; + * * @param value The hasInferredComponents to set. * @return This builder for chaining. */ public Builder setHasInferredComponents(boolean value) { - + hasInferredComponents_ = value; onChanged(); return this; } /** + * + * *
      * At least one address component was inferred (added) that wasn't in the
      * input, see
@@ -1385,17 +1586,20 @@ public Builder setHasInferredComponents(boolean value) {
      * 
* * bool has_inferred_components = 6; + * * @return This builder for chaining. */ public Builder clearHasInferredComponents() { - + hasInferredComponents_ = false; onChanged(); return this; } - private boolean hasReplacedComponents_ ; + private boolean hasReplacedComponents_; /** + * + * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1403,6 +1607,7 @@ public Builder clearHasInferredComponents() {
      * 
* * bool has_replaced_components = 7; + * * @return The hasReplacedComponents. */ @java.lang.Override @@ -1410,6 +1615,8 @@ public boolean getHasReplacedComponents() { return hasReplacedComponents_; } /** + * + * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1417,16 +1624,19 @@ public boolean getHasReplacedComponents() {
      * 
* * bool has_replaced_components = 7; + * * @param value The hasReplacedComponents to set. * @return This builder for chaining. */ public Builder setHasReplacedComponents(boolean value) { - + hasReplacedComponents_ = value; onChanged(); return this; } /** + * + * *
      * At least one address component was replaced, see
      * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -1434,17 +1644,18 @@ public Builder setHasReplacedComponents(boolean value) {
      * 
* * bool has_replaced_components = 7; + * * @return This builder for chaining. */ public Builder clearHasReplacedComponents() { - + hasReplacedComponents_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1454,12 +1665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.addressvalidation.v1.Verdict) } // @@protoc_insertion_point(class_scope:google.maps.addressvalidation.v1.Verdict) private static final com.google.maps.addressvalidation.v1.Verdict DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.addressvalidation.v1.Verdict(); } @@ -1468,27 +1679,27 @@ public static com.google.maps.addressvalidation.v1.Verdict getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Verdict parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Verdict parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1503,6 +1714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.addressvalidation.v1.Verdict getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java similarity index 88% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java index 3e60f83c1f4e..bb42206ef671 100644 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/VerdictOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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 VerdictOrBuilder extends +public interface VerdictOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.Verdict) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -19,10 +37,13 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The enum numeric value on the wire for inputGranularity. */ int getInputGranularityValue(); /** + * + * *
    * The granularity of the **input** address. This is the result of parsing the
    * input address and does not give any validation signals. For validation
@@ -34,11 +55,14 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1; + * * @return The inputGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getInputGranularity(); /** + * + * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -48,10 +72,13 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * * @return The enum numeric value on the wire for validationGranularity. */ int getValidationGranularityValue(); /** + * + * *
    * The granularity level that the API can fully **validate** the address to.
    * For example, an `validation_granularity` of `PREMISE` indicates all address
@@ -61,11 +88,14 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2; + * * @return The validationGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getValidationGranularity(); /** + * + * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -79,10 +109,13 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The enum numeric value on the wire for geocodeGranularity. */ int getGeocodeGranularityValue(); /** + * + * *
    * Information about the granularity of the
    * [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
@@ -96,11 +129,14 @@ public interface VerdictOrBuilder extends
    * 
* * .google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3; + * * @return The geocodeGranularity. */ com.google.maps.addressvalidation.v1.Verdict.Granularity getGeocodeGranularity(); /** + * + * *
    * The address is considered complete if there are no unresolved tokens, no
    * unexpected or missing address components. See
@@ -112,11 +148,14 @@ public interface VerdictOrBuilder extends
    * 
* * bool address_complete = 4; + * * @return The addressComplete. */ boolean getAddressComplete(); /** + * + * *
    * At least one address component cannot be categorized or validated, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -124,11 +163,14 @@ public interface VerdictOrBuilder extends
    * 
* * bool has_unconfirmed_components = 5; + * * @return The hasUnconfirmedComponents. */ boolean getHasUnconfirmedComponents(); /** + * + * *
    * At least one address component was inferred (added) that wasn't in the
    * input, see
@@ -137,11 +179,14 @@ public interface VerdictOrBuilder extends
    * 
* * bool has_inferred_components = 6; + * * @return The hasInferredComponents. */ boolean getHasInferredComponents(); /** + * + * *
    * At least one address component was replaced, see
    * [google.maps.addressvalidation.v1.Address.address_components] for
@@ -149,6 +194,7 @@ public interface VerdictOrBuilder extends
    * 
* * bool has_replaced_components = 7; + * * @return The hasReplacedComponents. */ boolean getHasReplacedComponents(); diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/geocode.proto diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/metadata.proto diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto similarity index 100% rename from owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto rename to java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java b/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java deleted file mode 100644 index 0244561a347e..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/grpc-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationGrpc.java +++ /dev/null @@ -1,405 +0,0 @@ -package com.google.maps.addressvalidation.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The service for validating addresses.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/maps/addressvalidation/v1/address_validation_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AddressValidationGrpc { - - private AddressValidationGrpc() {} - - public static final String SERVICE_NAME = "google.maps.addressvalidation.v1.AddressValidation"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getValidateAddressMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ValidateAddress", - requestType = com.google.maps.addressvalidation.v1.ValidateAddressRequest.class, - responseType = com.google.maps.addressvalidation.v1.ValidateAddressResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getValidateAddressMethod() { - io.grpc.MethodDescriptor getValidateAddressMethod; - if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { - synchronized (AddressValidationGrpc.class) { - if ((getValidateAddressMethod = AddressValidationGrpc.getValidateAddressMethod) == null) { - AddressValidationGrpc.getValidateAddressMethod = getValidateAddressMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAddress")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ValidateAddressRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ValidateAddressResponse.getDefaultInstance())) - .setSchemaDescriptor(new AddressValidationMethodDescriptorSupplier("ValidateAddress")) - .build(); - } - } - } - return getValidateAddressMethod; - } - - private static volatile io.grpc.MethodDescriptor getProvideValidationFeedbackMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvideValidationFeedback", - requestType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.class, - responseType = com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getProvideValidationFeedbackMethod() { - io.grpc.MethodDescriptor getProvideValidationFeedbackMethod; - if ((getProvideValidationFeedbackMethod = AddressValidationGrpc.getProvideValidationFeedbackMethod) == null) { - synchronized (AddressValidationGrpc.class) { - if ((getProvideValidationFeedbackMethod = AddressValidationGrpc.getProvideValidationFeedbackMethod) == null) { - AddressValidationGrpc.getProvideValidationFeedbackMethod = getProvideValidationFeedbackMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvideValidationFeedback")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse.getDefaultInstance())) - .setSchemaDescriptor(new AddressValidationMethodDescriptorSupplier("ProvideValidationFeedback")) - .build(); - } - } - } - return getProvideValidationFeedbackMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AddressValidationStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationStub(channel, callOptions); - } - }; - return AddressValidationStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AddressValidationBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationBlockingStub(channel, callOptions); - } - }; - return AddressValidationBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AddressValidationFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AddressValidationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationFutureStub(channel, callOptions); - } - }; - return AddressValidationFutureStub.newStub(factory, channel); - } - - /** - *
-   * The service for validating addresses.
-   * 
- */ - public static abstract class AddressValidationImplBase implements io.grpc.BindableService { - - /** - *
-     * Validates an address.
-     * 
- */ - public void validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getValidateAddressMethod(), 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.
-     * 
- */ - public void provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvideValidationFeedbackMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getValidateAddressMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.addressvalidation.v1.ValidateAddressRequest, - com.google.maps.addressvalidation.v1.ValidateAddressResponse>( - this, METHODID_VALIDATE_ADDRESS))) - .addMethod( - getProvideValidationFeedbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest, - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse>( - this, METHODID_PROVIDE_VALIDATION_FEEDBACK))) - .build(); - } - } - - /** - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationStub extends io.grpc.stub.AbstractAsyncStub { - private AddressValidationStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationStub(channel, callOptions); - } - - /** - *
-     * Validates an address.
-     * 
- */ - public void validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getValidateAddressMethod(), getCallOptions()), request, 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.
-     * 
- */ - public void provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AddressValidationBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationBlockingStub(channel, callOptions); - } - - /** - *
-     * Validates an address.
-     * 
- */ - public com.google.maps.addressvalidation.v1.ValidateAddressResponse validateAddress(com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getValidateAddressMethod(), getCallOptions(), 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.
-     * 
- */ - public com.google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse provideValidationFeedback(com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvideValidationFeedbackMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The service for validating addresses.
-   * 
- */ - public static final class AddressValidationFutureStub extends io.grpc.stub.AbstractFutureStub { - private AddressValidationFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AddressValidationFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AddressValidationFutureStub(channel, callOptions); - } - - /** - *
-     * Validates an address.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture validateAddress( - com.google.maps.addressvalidation.v1.ValidateAddressRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getValidateAddressMethod(), getCallOptions()), 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture provideValidationFeedback( - com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvideValidationFeedbackMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_VALIDATE_ADDRESS = 0; - private static final int METHODID_PROVIDE_VALIDATION_FEEDBACK = 1; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AddressValidationImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AddressValidationImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_VALIDATE_ADDRESS: - serviceImpl.validateAddress((com.google.maps.addressvalidation.v1.ValidateAddressRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROVIDE_VALIDATION_FEEDBACK: - serviceImpl.provideValidationFeedback((com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class AddressValidationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AddressValidationBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.maps.addressvalidation.v1.AddressValidationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AddressValidation"); - } - } - - private static final class AddressValidationFileDescriptorSupplier - extends AddressValidationBaseDescriptorSupplier { - AddressValidationFileDescriptorSupplier() {} - } - - private static final class AddressValidationMethodDescriptorSupplier - extends AddressValidationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AddressValidationMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AddressValidationGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AddressValidationFileDescriptorSupplier()) - .addMethod(getValidateAddressMethod()) - .addMethod(getProvideValidationFeedbackMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java deleted file mode 100644 index da8833ef6774..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressProto.java +++ /dev/null @@ -1,106 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/addressvalidation/v1/address.proto - -package com.google.maps.addressvalidation.v1; - -public final class AddressProto { - private AddressProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Address_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/maps/addressvalidation/v1/addre" + - "ss.proto\022 google.maps.addressvalidation." + - "v1\032\037google/api/field_behavior.proto\032 goo" + - "gle/type/postal_address.proto\"\216\002\n\007Addres" + - "s\022\031\n\021formatted_address\030\002 \001(\t\0222\n\016postal_a" + - "ddress\030\003 \001(\0132\032.google.type.PostalAddress" + - "\022S\n\022address_components\030\004 \003(\01322.google.ma" + - "ps.addressvalidation.v1.AddressComponent" + - "B\003\340A\006\022\037\n\027missing_component_types\030\005 \003(\t\022#" + - "\n\033unconfirmed_component_types\030\006 \003(\t\022\031\n\021u" + - "nresolved_tokens\030\007 \003(\t\"\256\003\n\020AddressCompon" + - "ent\022G\n\016component_name\030\001 \001(\0132/.google.map" + - "s.addressvalidation.v1.ComponentName\022\026\n\016" + - "component_type\030\002 \001(\t\022`\n\022confirmation_lev" + - "el\030\003 \001(\0162D.google.maps.addressvalidation" + - ".v1.AddressComponent.ConfirmationLevel\022\020" + - "\n\010inferred\030\004 \001(\010\022\027\n\017spell_corrected\030\005 \001(" + - "\010\022\020\n\010replaced\030\006 \001(\010\022\022\n\nunexpected\030\007 \001(\010\"" + - "\205\001\n\021ConfirmationLevel\022\"\n\036CONFIRMATION_LE" + - "VEL_UNSPECIFIED\020\000\022\r\n\tCONFIRMED\020\001\022\035\n\031UNCO" + - "NFIRMED_BUT_PLAUSIBLE\020\002\022\036\n\032UNCONFIRMED_A" + - "ND_SUSPICIOUS\020\003\"4\n\rComponentName\022\014\n\004text" + - "\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\202\002\n$com.go" + - "ogle.maps.addressvalidation.v1B\014AddressP" + - "rotoP\001ZQgoogle.golang.org/genproto/googl" + - "eapis/maps/addressvalidation/v1;addressv" + - "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + - "ressValidation.V1\312\002 Google\\Maps\\AddressV" + - "alidation\\V1\352\002#Google::Maps::AddressVali" + - "dation::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_Address_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_Address_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Address_descriptor, - new java.lang.String[] { "FormattedAddress", "PostalAddress", "AddressComponents", "MissingComponentTypes", "UnconfirmedComponentTypes", "UnresolvedTokens", }); - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_AddressComponent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_AddressComponent_descriptor, - new java.lang.String[] { "ComponentName", "ComponentType", "ConfirmationLevel", "Inferred", "SpellCorrected", "Replaced", "Unexpected", }); - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_addressvalidation_v1_ComponentName_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ComponentName_descriptor, - new java.lang.String[] { "Text", "LanguageCode", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java deleted file mode 100644 index 32bfc89f14e1..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java +++ /dev/null @@ -1,189 +0,0 @@ -// 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 final class AddressValidationServiceProto { - private AddressValidationServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nAgoogle/maps/addressvalidation/v1/addre" + - "ss_validation_service.proto\022 google.maps" + - ".addressvalidation.v1\032\034google/api/annota" + - "tions.proto\032\027google/api/client.proto\032\037go" + - "ogle/api/field_behavior.proto\032.google/ma" + - "ps/addressvalidation/v1/address.proto\032.g" + - "oogle/maps/addressvalidation/v1/geocode." + - "proto\032/google/maps/addressvalidation/v1/" + - "metadata.proto\0320google/maps/addressvalid" + - "ation/v1/usps_data.proto\032 google/type/po" + - "stal_address.proto\"\202\001\n\026ValidateAddressRe" + - "quest\0220\n\007address\030\001 \001(\0132\032.google.type.Pos" + - "talAddressB\003\340A\002\022\034\n\024previous_response_id\030" + - "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\"r\n\027Valid" + - "ateAddressResponse\022B\n\006result\030\001 \001(\01322.goo" + - "gle.maps.addressvalidation.v1.Validation" + - "Result\022\023\n\013response_id\030\002 \001(\t\"\313\002\n ProvideV" + - "alidationFeedbackRequest\022p\n\nconclusion\030\001" + - " \001(\0162W.google.maps.addressvalidation.v1." + - "ProvideValidationFeedbackRequest.Validat" + - "ionConclusionB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB" + - "\003\340A\002\"\232\001\n\024ValidationConclusion\022%\n!VALIDAT" + - "ION_CONCLUSION_UNSPECIFIED\020\000\022\032\n\026VALIDATE" + - "D_VERSION_USED\020\001\022\025\n\021USER_VERSION_USED\020\002\022" + - "\034\n\030UNVALIDATED_VERSION_USED\020\003\022\n\n\006UNUSED\020" + - "\004\"#\n!ProvideValidationFeedbackResponse\"\312" + - "\002\n\020ValidationResult\022:\n\007verdict\030\001 \001(\0132).g" + - "oogle.maps.addressvalidation.v1.Verdict\022" + - ":\n\007address\030\002 \001(\0132).google.maps.addressva" + - "lidation.v1.Address\022:\n\007geocode\030\003 \001(\0132).g" + - "oogle.maps.addressvalidation.v1.Geocode\022" + - "C\n\010metadata\030\004 \001(\01321.google.maps.addressv" + - "alidation.v1.AddressMetadata\022=\n\tusps_dat" + - "a\030\005 \001(\0132*.google.maps.addressvalidation." + - "v1.UspsData\"\211\004\n\007Verdict\022P\n\021input_granula" + - "rity\030\001 \001(\01625.google.maps.addressvalidati" + - "on.v1.Verdict.Granularity\022U\n\026validation_" + - "granularity\030\002 \001(\01625.google.maps.addressv" + - "alidation.v1.Verdict.Granularity\022R\n\023geoc" + - "ode_granularity\030\003 \001(\01625.google.maps.addr" + - "essvalidation.v1.Verdict.Granularity\022\030\n\020" + - "address_complete\030\004 \001(\010\022\"\n\032has_unconfirme" + - "d_components\030\005 \001(\010\022\037\n\027has_inferred_compo" + - "nents\030\006 \001(\010\022\037\n\027has_replaced_components\030\007" + - " \001(\010\"\200\001\n\013Granularity\022\033\n\027GRANULARITY_UNSP" + - "ECIFIED\020\000\022\017\n\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022" + - "\025\n\021PREMISE_PROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROU" + - "TE\020\005\022\t\n\005OTHER\020\0062\262\003\n\021AddressValidation\022\246\001" + - "\n\017ValidateAddress\0228.google.maps.addressv" + - "alidation.v1.ValidateAddressRequest\0329.go" + - "ogle.maps.addressvalidation.v1.ValidateA" + - "ddressResponse\"\036\202\323\344\223\002\030\"\023/v1:validateAddr" + - "ess:\001*\022\316\001\n\031ProvideValidationFeedback\022B.g" + - "oogle.maps.addressvalidation.v1.ProvideV" + - "alidationFeedbackRequest\032C.google.maps.a" + - "ddressvalidation.v1.ProvideValidationFee" + - "dbackResponse\"(\202\323\344\223\002\"\"\035/v1:provideValida" + - "tionFeedback:\001*\032#\312A addressvalidation.go" + - "ogleapis.comB\223\002\n$com.google.maps.address" + - "validation.v1B\035AddressValidationServiceP" + - "rotoP\001ZQgoogle.golang.org/genproto/googl" + - "eapis/maps/addressvalidation/v1;addressv" + - "alidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.Add" + - "ressValidation.V1\312\002 Google\\Maps\\AddressV" + - "alidation\\V1\352\002#Google::Maps::AddressVali" + - "dation::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(), - com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(), - com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(), - com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor, - new java.lang.String[] { "Address", "PreviousResponseId", "EnableUspsCass", }); - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor, - new java.lang.String[] { "Result", "ResponseId", }); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackRequest_descriptor, - new java.lang.String[] { "Conclusion", "ResponseId", }); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ProvideValidationFeedbackResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_addressvalidation_v1_ValidationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_ValidationResult_descriptor, - new java.lang.String[] { "Verdict", "Address", "Geocode", "Metadata", "UspsData", }); - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_addressvalidation_v1_Verdict_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Verdict_descriptor, - new java.lang.String[] { "InputGranularity", "ValidationGranularity", "GeocodeGranularity", "AddressComplete", "HasUnconfirmedComponents", "HasInferredComponents", "HasReplacedComponents", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.maps.addressvalidation.v1.AddressProto.getDescriptor(); - com.google.maps.addressvalidation.v1.GeocodeProto.getDescriptor(); - com.google.maps.addressvalidation.v1.MetadataProto.getDescriptor(); - com.google.maps.addressvalidation.v1.UspsDataProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java deleted file mode 100644 index 4476490987d9..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/GeocodeProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/addressvalidation/v1/geocode.proto - -package com.google.maps.addressvalidation.v1; - -public final class GeocodeProto { - private GeocodeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/maps/addressvalidation/v1/geoco" + - "de.proto\022 google.maps.addressvalidation." + - "v1\032\036google/geo/type/viewport.proto\032\030goog" + - "le/type/latlng.proto\"\336\001\n\007Geocode\022%\n\010loca" + - "tion\030\001 \001(\0132\023.google.type.LatLng\022=\n\tplus_" + - "code\030\002 \001(\0132*.google.maps.addressvalidati" + - "on.v1.PlusCode\022)\n\006bounds\030\004 \001(\0132\031.google." + - "geo.type.Viewport\022\033\n\023feature_size_meters" + - "\030\005 \001(\002\022\020\n\010place_id\030\006 \001(\t\022\023\n\013place_types\030" + - "\007 \003(\t\"6\n\010PlusCode\022\023\n\013global_code\030\001 \001(\t\022\025" + - "\n\rcompound_code\030\002 \001(\tB\202\002\n$com.google.map" + - "s.addressvalidation.v1B\014GeocodeProtoP\001ZQ" + - "google.golang.org/genproto/googleapis/ma" + - "ps/addressvalidation/v1;addressvalidatio" + - "n\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressVali" + - "dation.V1\312\002 Google\\Maps\\AddressValidatio" + - "n\\V1\352\002#Google::Maps::AddressValidation::" + - "V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_Geocode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_Geocode_descriptor, - new java.lang.String[] { "Location", "PlusCode", "Bounds", "FeatureSizeMeters", "PlaceId", "PlaceTypes", }); - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_PlusCode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_PlusCode_descriptor, - new java.lang.String[] { "GlobalCode", "CompoundCode", }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java deleted file mode 100644 index 7cbe426c45ea..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/MetadataProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/addressvalidation/v1/metadata.proto - -package com.google.maps.addressvalidation.v1; - -public final class MetadataProto { - private MetadataProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/maps/addressvalidation/v1/metad" + - "ata.proto\022 google.maps.addressvalidation" + - ".v1\"\177\n\017AddressMetadata\022\025\n\010business\030\002 \001(\010" + - "H\000\210\001\001\022\023\n\006po_box\030\003 \001(\010H\001\210\001\001\022\030\n\013residentia" + - "l\030\006 \001(\010H\002\210\001\001B\013\n\t_businessB\t\n\007_po_boxB\016\n\014" + - "_residentialB\203\002\n$com.google.maps.address" + - "validation.v1B\rMetadataProtoP\001ZQgoogle.g" + - "olang.org/genproto/googleapis/maps/addre" + - "ssvalidation/v1;addressvalidation\370\001\001\242\002\007G" + - "MPAVV1\252\002 Google.Maps.AddressValidation.V" + - "1\312\002 Google\\Maps\\AddressValidation\\V1\352\002#G" + - "oogle::Maps::AddressValidation::V1b\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_AddressMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_AddressMetadata_descriptor, - new java.lang.String[] { "Business", "PoBox", "Residential", "Business", "PoBox", "Residential", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java deleted file mode 100644 index 505faf66c3c9..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ProvideValidationFeedbackResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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 ProvideValidationFeedbackResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.maps.addressvalidation.v1.ProvideValidationFeedbackResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java b/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java deleted file mode 100644 index 35c8bc1e6734..000000000000 --- a/owl-bot-staging/java-maps-addressvalidation/v1/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/addressvalidation/v1/usps_data.proto - -package com.google.maps.addressvalidation.v1; - -public final class UspsDataProto { - private UspsDataProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n0google/maps/addressvalidation/v1/usps_" + - "data.proto\022 google.maps.addressvalidatio" + - "n.v1\"\332\001\n\013UspsAddress\022\032\n\022first_address_li" + - "ne\030\001 \001(\t\022\014\n\004firm\030\002 \001(\t\022\033\n\023second_address" + - "_line\030\003 \001(\t\022\024\n\014urbanization\030\004 \001(\t\022#\n\033cit" + - "y_state_zip_address_line\030\005 \001(\t\022\014\n\004city\030\006" + - " \001(\t\022\r\n\005state\030\007 \001(\t\022\020\n\010zip_code\030\010 \001(\t\022\032\n" + - "\022zip_code_extension\030\t \001(\t\"\374\005\n\010UspsData\022K" + - "\n\024standardized_address\030\001 \001(\0132-.google.ma" + - "ps.addressvalidation.v1.UspsAddress\022\033\n\023d" + - "elivery_point_code\030\002 \001(\t\022\"\n\032delivery_poi" + - "nt_check_digit\030\003 \001(\t\022\030\n\020dpv_confirmation" + - "\030\004 \001(\t\022\024\n\014dpv_footnote\030\005 \001(\t\022\020\n\010dpv_cmra" + - "\030\006 \001(\t\022\022\n\ndpv_vacant\030\007 \001(\t\022\023\n\013dpv_no_sta" + - "t\030\010 \001(\t\022\025\n\rcarrier_route\030\t \001(\t\022\037\n\027carrie" + - "r_route_indicator\030\n \001(\t\022\024\n\014ews_no_match\030" + - "\013 \001(\010\022\030\n\020post_office_city\030\014 \001(\t\022\031\n\021post_" + - "office_state\030\r \001(\t\022\030\n\020abbreviated_city\030\016" + - " \001(\t\022\030\n\020fips_county_code\030\017 \001(\t\022\016\n\006county" + - "\030\020 \001(\t\022\023\n\013elot_number\030\021 \001(\t\022\021\n\telot_flag" + - "\030\022 \001(\t\022\035\n\025lacs_link_return_code\030\023 \001(\t\022\033\n" + - "\023lacs_link_indicator\030\024 \001(\t\022\037\n\027po_box_onl" + - "y_postal_code\030\025 \001(\010\022\032\n\022suitelink_footnot" + - "e\030\026 \001(\t\022\026\n\016pmb_designator\030\027 \001(\t\022\022\n\npmb_n" + - "umber\030\030 \001(\t\022\033\n\023address_record_type\030\031 \001(\t" + - "\022\027\n\017default_address\030\032 \001(\010\022\025\n\rerror_messa" + - "ge\030\033 \001(\t\022\026\n\016cass_processed\030\034 \001(\010B\203\002\n$com" + - ".google.maps.addressvalidation.v1B\rUspsD" + - "ataProtoP\001ZQgoogle.golang.org/genproto/g" + - "oogleapis/maps/addressvalidation/v1;addr" + - "essvalidation\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps" + - ".AddressValidation.V1\312\002 Google\\Maps\\Addr" + - "essValidation\\V1\352\002#Google::Maps::Address" + - "Validation::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_addressvalidation_v1_UspsAddress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_UspsAddress_descriptor, - new java.lang.String[] { "FirstAddressLine", "Firm", "SecondAddressLine", "Urbanization", "CityStateZipAddressLine", "City", "State", "ZipCode", "ZipCodeExtension", }); - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_addressvalidation_v1_UspsData_descriptor, - new java.lang.String[] { "StandardizedAddress", "DeliveryPointCode", "DeliveryPointCheckDigit", "DpvConfirmation", "DpvFootnote", "DpvCmra", "DpvVacant", "DpvNoStat", "CarrierRoute", "CarrierRouteIndicator", "EwsNoMatch", "PostOfficeCity", "PostOfficeState", "AbbreviatedCity", "FipsCountyCode", "County", "ElotNumber", "ElotFlag", "LacsLinkReturnCode", "LacsLinkIndicator", "PoBoxOnlyPostalCode", "SuitelinkFootnote", "PmbDesignator", "PmbNumber", "AddressRecordType", "DefaultAddress", "ErrorMessage", "CassProcessed", }); - } - - // @@protoc_insertion_point(outer_class_scope) -}